Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Java .net Integration

Thread view: 
Geoff - 09 Dec 2005 12:37 GMT
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.
Vitaly - 11 Dec 2005 13:24 GMT
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).

> 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
[quoted text clipped - 8 lines]
> independant of each other.
> Any help greatly appreciated.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.