• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hot to connect dot net application and java application

 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many options. What information do you have to exchange between them?

Bill
 
Alvin Watkins
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the apps running on the same machine? What do you mean by "connect"?
 
Padma priya Gururajan
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21155
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic