473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

C# to Java Interoperability

What are some people doing to provide interoperability between C# and
Java (on Windows)?

What kind of samples are there available?

I want my C# code to call a Java Class (on Windows).

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
6 3545
There are some commercial products such as JNBridge and J-Integra
that allow you to make calls between the different environments
(I haven't actually tried either of these so I can't make any
recommendations.)

-- jeff

"Larry" <do********@nospamhere.com> wrote in message news:OA**************@TK2MSFTNGP15.phx.gbl...
What are some people doing to provide interoperability between C# and
Java (on Windows)?

What kind of samples are there available?

I want my C# code to call a Java Class (on Windows).

Nov 16 '05 #2
You could perhaps compile the Java-stuff into it's own assembly using J#
and reference that assembly from your C# code.

Regards,
Joakim

Larry wrote:

I want my C# code to call a Java Class (on Windows).


Nov 16 '05 #3
Larry wrote:
What are some people doing to provide interoperability between C# and
Java (on Windows)?

What kind of samples are there available?

I want my C# code to call a Java Class (on Windows).

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Borland's Janeva is a nice offering http://www.borland.com/janeva/ its
very simple to use, and has a free trial, not sure what it costs though.

Cheers Tim.
Nov 16 '05 #4
Note that J# is based on the "old" Java 1.1.4 system so its utility is limited.

"Joakim Karlsson" <jk*******@NOSPAMjkarlsson.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
You could perhaps compile the Java-stuff into it's own assembly using J#
and reference that assembly from your C# code.

Nov 16 '05 #5
Hi Tim, did you try Janeva? I took at look at Borland's site and
from what I can tell, it provides a way to make remote calls
via RMI. Can you actually use it to access a regular Java
class or jar?

-- jeff

"Tim Jarvis" <Ti*******@newsgroup.nospam> wrote in message
news:es*************@TK2MSFTNGP12.phx.gbl...

Borland's Janeva is a nice offering http://www.borland.com/janeva/ its
very simple to use, and has a free trial, not sure what it costs though.

Cheers Tim.

Nov 16 '05 #6
jeff wrote:
Hi Tim, did you try Janeva? I took at look at Borland's site and
from what I can tell, it provides a way to make remote calls
via RMI. Can you actually use it to access a regular Java
class or jar?

-- jeff


I tried it its very early stages, but nothing real, just playing with
it really. I think you are right about remote accessing only via RMI
(certainly that's what I was doing) and talking to App Server hosted
object instances.

I may well be wrong but I don't think you can use Janeva to just
instantiate locally a regular java class.

Cheers Tim.
Nov 16 '05 #7

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

Similar topics

1
by: j-integra_support | last post by:
Looking for Java/COM interoperability tools? Thousands of companies world-wide are using J-Integra for COM for interoperability between Java and Microsoft COM applications. J-Integra for COM is a...
1
by: Sai Kit Tong | last post by:
Hi, I am developing a new application running on Windows platform that needs to interface with existing legacy code - written in basic C / C++. I am trying to evaluate Java vs C#...
3
by: Sai Kit Tong | last post by:
Hi, I am developing a new application running on Windows platform that needs to interface with existing legacy code - written in basic C / C++. I am trying to evaluate Java vs C#...
3
by: Sai Kit Tong | last post by:
I posted for help on legacy code interface 2 days ago. Probably I didn't make it clear in my original mail. I got a couple of answers but none of them address my issues directly (See attached...
2
by: Andrea | last post by:
Hi evrybody ! Does anybody know how to call a java class from a COM component ? Any suggestion ? Thanks Andrea
0
by: j-integra_support | last post by:
Looking for Java/.NET/CORBA interoperability tools? Intrinsyc Software has just released the latest addition to its popular J-Integra Interoperability Suite... J-Integra Espresso! J-Integra...
4
by: jos | last post by:
Hi There, What would be suitable options to exchange data between a Dot net program and a java program? Thanks Jyotsna Sharan
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
2
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.