Welcome!

Joseph Ottinger

Subscribe to Joseph Ottinger: eMailAlertsEmail Alerts
Get Joseph Ottinger via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Related Topics: Java Developer Magazine

Java Developer : Article

Can I Use Java with .NET?

Can I Use Java with .NET?

Of course you can. .NET is a platform; Java is a platform. One convenient feature of .NET is that it uses SOAP internally for messaging; provided Microsoft sticks to the SOAP spec (that they helped write!) that means that Java will be able to leverage .NET services without even knowing they're based on .NET. This is a huge, impossible-to-understate win for the programming world, if the promise holds true.

Because it would make MS far less perceptually dominant, Your Humble Author actually doubts MS will continue down this path; MS prefers to be perceptually dominant as well as factually dominant, so I'm pretty sure they'll corrupt .NET's internal implementation of SOAP just enough to make interoperability a moving target. C'est la vie.

Back to Java: Sun came fairly late on the web services (i.e., "services delivered via http") bandwagon, so Java's internal support for SOAP is less good than it could be. The presence of toolkits like GLUE (hosted on a .NET provider, of all things!) alleviate that somewhat.

[jaseb: as a slight addition there is something called JNBridge which attempts to bridge the two servers. how well this is done I don't know, also it's not free?but if you really must have both then it might be worth checking it out]

Reproduced with permission of http://java.enigmastation.com/index The Undernet #Java Knowledge Base

More Stories By Joseph Ottinger

Joseph Ottinger, formerly editor-in-chief of JDJ (2003-4), is a consultant with Fusion Alliance in Indianapolis and is one of the contributors to the OpenSymphony project.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
James Strachan 11/26/02 01:53:00 AM EST

Remember there is also Apache Axis for working with Web Services in a simple way from java.

http://xml.apache.org/axis/

I don't quite understand what 'internal support' for SOAP is, however Axis does a great job of supporting all the current JAX-pack specifications (JAX-RPC and SAAJ) to handle sync & async SOAP invocations, servers, handlers, JWS files, auto-WSDL generation etc.

Wayne Citrin 11/25/02 05:15:00 PM EST

As was mentioned above, JNBridge is a bridging tool that allows Java to interoperate with .NET. It's not free, but compared with the effort of doing it yourself, it's worth it.

We differ from Web services in a number of ways, including:
- Our communication is through a binary wire protocol -- it's faster
- We expose the same object-oriented API that the Java classes expose -- much richer than the service-oriented API of a Web service
- We support callbacks, which aren't easy to do with Web services

Check out our Web site, or contact me with questions or for more information.

Wayne
(citrin@jnbridge.com)