File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes Hot to connect dot net application and java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Hot to connect dot net application and java application" Watch "Hot to connect dot net application and java application" New topic
Author

Hot to connect dot net application and java application

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 435
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: 12823
    
    5
There are many options. What information do you have to exchange between them?

Bill
Alvin Watkins
Ranch Hand

Joined: May 25, 2011
Posts: 53
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: 42611
    
  65
Are the apps running on the same machine? What do you mean by "connect"?


Ping & DNS - my free Android networking tools app
Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 435
Hi,

The dot net and the java application are in the same machine. In this case, Can I convert the dot net application to a dll and access it in java?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18902
    
    8

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://aspose.com/file-tools
 
subject: Hot to connect dot net application and java application