This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hot to connect dot net application and java application
Padma priya Gururajan
Ranch Hand
Joined: Oct 05, 2006
Posts: 411
posted
0
Hi,
In my project, I have a java application and a dot net application. The dot net application and the java application communicate to the database. How do I connect the dot net application and java application?
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
1
posted
0
There are many options. What information do you have to exchange between them?
While Bill is totally right (you can use web services, sockets, flat files, XML, JSON...) one approach I've used is JNative (A JNI opensource API). It's likely that one of the other methods is better for you, but if you can turn your Dot Net app to a DLL and access it in Java, there's another option for connecting the two for you...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
Are the apps running on the same machine? What do you mean by "connect"?
That completely depends on the .Net application. But before you decide on a course of action I still think you need to clarify what you mean by "connecting" the two applications. If you're having trouble putting that into words, perhaps you could give an example of what could be done with this "connection". Or an example of something that might happen if you had it. Try to make those examples as detailed as possible.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Hot to connect dot net application and java application