Hi guys, maybe someone can guide me. We have a Virtual Machine that has to expose a certain interface, to another module written in .NET (C#), and viceversa, this .NET module has to expose some methods to the Java module. It is far more than just some data exchange, so RPC-like communication is needed. SOAP definition seemed to fit this need, but it not as a web service. If we implemented an HTTP bound SOAP, we might need two services (probably on the same web container, since it is local), to accomplish two way communication. Since the program runs both on windows and Linux, it will have to talk to another Linux native module, instead of the .NET. On several resources, SOAP is presented as a platform, language and protocol independent method/functions invocation mechanism. On the top of that, we saw, that this invocations were as easy as: call.(message, destination), and block until response is ready returning a SOAPMessage from were return type could easily be retrieved. This made SOAP a good choice at first. However, SOAP is only the specification, and current SOAP implementations (the ones that are as easy to use as noted above) are only over HTTP (since the preferred application for SOAP are web services). Doing some research I found a TCP example on the web (which seems to be the only one, I got there from three different pages), but it was way too complex to use. Is there another mechanism that allows invocation of functions/methods from different languages you can reccomend me with? Thnx in Advance!
As I know J2EE and .net have lot tools helping to create webservices as client as server part. So, it's almost plug and play solution. You just define method pattern and work done. Since there too many tools, it creates certian problem for at least J2EE side which one to pick. I'd pick JWSDP. However before doing this way, you can consider CORBA. We use it in our product to communicate Java part with C written part as open office with a great success.
Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com