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

Now is the time for a truly global DX event, to bring together the leading minds from the technology...
On-premise or off, you have powerful tools available to maximize the value of your infrastructure an...
Atmosera delivers modern cloud services that maximize the advantages of cloud-based infrastructures....
Artifex Software began 25-years ago with Ghostscript, a page description language (PDL) interpreter ...
In an age of borderless networks, security for the cloud and security for the corporate network can ...
In today's always-on world, customer expectations have changed. Competitive differentiation is deliv...
As the digitization of business accelerates the move of critical applications and content to the clo...
Blockchain has shifted from hype to reality across many industries including Financial Services, Sup...
Cloud Storage 2.0 has brought many innovations, including the availability of cloud storage services...
Concerns about security, downtime and latency, budgets, and general unfamiliarity with cloud technol...
In very short order, the term "Blockchain" has lost an incredible amount of meaning. With too many j...
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web...
For enterprises to maintain business competitiveness in the digital economy, IT modernization is req...
Cloud-Native thinking and Serverless Computing are now the norm in financial services, manufacturing...
Data center, on-premise, public-cloud, private-cloud, multi-cloud, hybrid-cloud, IoT, AI, edge, SaaS...
Public clouds dominate IT conversations but the next phase of cloud evolutions are "multi" hybrid cl...
Moving to Azure is the path to digital transformation, but not every journey is effective. Organizat...
Most modern computer languages embed a lot of metadata in their application. We show how this goldmi...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with exp...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the c...