How to connect Java end with .NET interface
I have a bunch of Java code that was written using the Hibernate framework, originally designed to work with a JSP interface. However, the interface requirements have changed and we decided that the desktop client (which will be written in .NET) is a better fit for our users.
I really don't want to lose the code that has already been written - can anyone suggest a good set of tools for writing a document-based web services interface that we can access from .NET?
Thank,
Jim
We develop an application with the exact architecture that you describe for a financial application. We looked at several different options and finally landed on CSV compression over HTTP.
CSV was chosen because the vast majority of the data was going to be displayed in a front panel grid, we had very large result sets> 250k rows on a regular basis, and it compresses very efficiently.
We also looked at the usage:
- ICE, but dropped it due to licensing costs and the need to reinvent it multiple times.
- Google protocol buffer via servlets but dropped this due to lack of C # support (as of last fall).
- Compressed XML using WOX, but dropped it due to blocking a small thesis project to maintain and XML being too verbose
The industry also supports several different options:
- SOAP, but it has its own well-documented problems.
- IIOP, J-Integra has a product called Espresso that will allow you to do RMI from the front.
source to share