473,657 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java .net Integration

What is the current best way to access .net class / methods from within
java. We are currently evaluating JNBridge, which is a great product but
is a little overkill for this project. CORBA is another option but have
not found any really good examples. Web services will be to slow as
large amounts of data will need to be transferred between the Java and
..NET platforms.
Why we want to do this?
We are working on combining several enviromental models written in .NET
with a Agent Based Modelling platform written in Java. Recoding the .NET
c# to Java is not really an option as we hope to have the systems
evolve independant of each other.
Any help greatly appreciated.
Dec 9 '05 #1
1 4503
As I know CORBA and J-Integra (written with CORBA) have huge overhead as
based on RPC (or COM). The best way is to use pure JNI. We have started
developing tools to automate JNI code writing. The first version is
available at
http://simtel.net/product.php[id]90910[SiteID]simtel.net
You can use the code generated in Managed C++.
In the next version of this Add-In will generate managed wrapper classes in
C#.
We also plan to add options:
- method and field wrapper filtering (to make JNI code more compact);
- implementing native method in OO manner;
- generating JNI wrappers that implement any Java interface in C++/C#
(without java coding).
"Geoff" <ca****@interno de.on.net> wrote in message
news:43******** @duster.adelaid e.on.net...
What is the current best way to access .net class / methods from within
java. We are currently evaluating JNBridge, which is a great product but
is a little overkill for this project. CORBA is another option but have
not found any really good examples. Web services will be to slow as large
amounts of data will need to be transferred between the Java and .NET
platforms.
Why we want to do this?
We are working on combining several enviromental models written in .NET
with a Agent Based Modelling platform written in Java. Recoding the .NET
c# to Java is not really an option as we hope to have the systems evolve
independant of each other.
Any help greatly appreciated.

Dec 11 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2158
by: gohaku | last post by:
Hi everyone, I would like to know if it's possible to use python (libraries) in a Java Program. I do not want to use: Process proc = Runtime.getRuntime.exec(command) I am basically looking for something like the "Reversed" version of Jython. Thanks in advance. -gohaku
14
2853
by: Joachim Boomberschloss | last post by:
Hello, I am working on a project in Python, and I"m currently looking into the possibiliy of writing some of the project"s modules in Java. Given that a large part of the code is already written in Python, using the standard libraries and several extension modules, I am trying to gauge the viability of integration with
9
4230
by: CY FOK | last post by:
Hi I am planning to open a software company to develop client-server apps and web applications for my client. Now, i am in a difficult situation to determine what is the best platform i should use to develop the application for my end users. Should I use Java or MS.Net technology or should I mix both of them ? Basically, I have these criteria in mind before I decide which platform I should adopt : 1. Ease of use - which one is easy to...
11
9242
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
2
1584
by: Ad Bec | last post by:
I know that this question has probably been asked before but I am not in the mood to search the forums I am already tired of doing that. I need an answer for my What are Microsoft corp. plans for C# . Will it replace C and C++? How about in respect to Java. I decided not to go java becauase the applications created with it just dont have that swift "Windows flavor". I always hated to use the Oracle Enterprise manager but i enjoy working...
0
2557
by: Rithish | last post by:
OS : RHEL3 PHP version : 5.0.2 JDK version : 1.5.0.06 I have been trying to compile PHP with JAVA support for the past week, and all I have left to do is take a noose and hang myself. Of all the articles, tutorials, posts that I have seen and browsed ( none of them on PHP5+ though ), all of them speak of a libphp_java.so/java.so file being created. However, no such file is being created. I have tried almost all the tips and tricks that...
2
6947
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
3
4950
by: stien | last post by:
Hi, I'm looking for someon who can help me with a problem with the php/java integration...It just won't work.. Here are some data to describe the software/system I'm working with: OperatingSystem: Windows Xp Webserver: Apache 2.2.3 PHP: PHP5.2 Java: j2sdk1.4.2_12
3
1262
by: Nishant | last post by:
Hi, I have to devlope a windows application with general functionality of Web Service Interaction, Office Integration and reporting. My expertise in both dot net and Java(Only Web application). Now my Organisation ask me to develope a Window application and they left the choice on me to choose the technolgy (either java or dot net). Can any body tell me which technology I should opt?
0
8312
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.