• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Calling Java classes from dotNet

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I currently have a Java application with quite a clear modular design: a Swing user interface and a backend engine which does all the bussiness logic and jdbc stuff. Now I want to rewrite the interface in dotNet languages (preferably C#). The guys at http://www.jnbridge.com/ have a solution for doing just that. However, it costs a cool $800. Any idea how I should tackle this problem will be much appreciated.

Cheers,

Tim
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds like you already have a separation of your presentation layer from the business layer.

What kind of communication does it use? If it is just basic sockets, you can just use sockets to communicate between the C# front end and the Java back end.

Henry
 
Tim Cao
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Henry,

At the moment, the communication is just plain Java method calling and data are passed as arguments. Socket calling is one way to do it but it will requires some modification in the backend engine. I wonder if there is a free/low cost equivalence to the JBrigde software that allows direct calling from a C# application.

Thanks,
Tim
reply
    Bookmark Topic Watch Topic
  • New Topic