Digital Edition

SYS-CON.TV
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

About Joseph Ottinger
I am a software evangelist for GigaSpaces technologies, as well as a writer and musician. I've been the editor-in-chief of Java Developer's Journal and TheServerSide.

GigaSpaces Technologies is a leading provider of a new generation of application platforms for Java and .Net environments that offer an alternative to traditional application-servers. The company's eXtreme Application Platform (XAP) is a high-end application server, designed to meet the most demanding business requirements in a cost-effective manner. It is the only product that provides a complete middleware solution on a single, scalable platform. XAP is trusted by Fortune 100 companies, which leverage it as a strategic solution that enhances efficiency and agility across the IT organization.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

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.

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)




ADS BY GOOGLE
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE

A valuable conference experience generates new contacts, sales leads, potential strategic partners a...
Containers and Kubernetes allow for code portability across on-premise VMs, bare metal, or multiple ...
Everyone wants the rainbow - reduced IT costs, scalability, continuity, flexibility, manageability, ...
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st I...
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22n...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT...
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 20...
Andi Mann, Chief Technology Advocate at Splunk, is an accomplished digital business executive with e...
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point wh...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by Fi...
Today, we have more data to manage than ever. We also have better algorithms that help us access our...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: D...
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
CI/CD is conceptually straightforward, yet often technically intricate to implement since it require...
The now mainstream platform changes stemming from the first Internet boom brought many changes but d...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (No...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018,...