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

"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical ...
Having been in the web hosting industry since 2002, dhosting has gained a great deal of experience w...
NanoVMs is the only production ready unikernel infrastructure solution on the market today. Unikerne...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO Silicon Valley 2019 will cover all of these tools, with the m...
SUSE is a German-based, multinational, open-source software company that develops and sells Linux pr...
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are rep...
Technological progress can be expressed as layers of abstraction - higher layers are built on top of...
When building large, cloud-based applications that operate at a high scale, it’s important to mainta...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, disc...
Big Switch's mission is to disrupt the status quo of networking with order of magnitude improvements...
Lori MacVittie is a subject matter expert on emerging technology responsible for outbound evangelism...
Dynatrace is an application performance management software company with products for the informatio...
In his session at 21st Cloud Expo, Michael Burley, a Senior Business Development Executive in IT Ser...
All in Mobile is a mobile app agency that helps enterprise companies and next generation startups bu...
Yottabyte is a software-defined data center (SDDC) company headquartered in Bloomfield Township, Oak...
Serveless Architectures brings the ability to independently scale, deploy and heal based on workload...
Whenever a new technology hits the high points of hype, everyone starts talking about it like it wil...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the c...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (No...
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in developm...