• 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

Communication between .Net UI to Java Swing UI

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I would like to know the possible ways, advantages and disadvantages of communication between .Net and JAVA (especially the communication between VB.Net UI and Java swing UI)
can we say COM is one option?
Any experiences to share?
Thanks in advance.
Regards,
Venu Gopal.
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
According to what exactly you are wanting to do there are several ways to communicate between the two platforms. The first thing that comes to mind is the DataSet in .NET which uses an XML schema. You could simply communicate between the two by creating an XML version of a DataSet, creating a Java version. That could cause a lot of network traffic and slow performance, so you would want to use some sort of facade pattern for improvement.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Web Services come to mind as an obvious option.
Kyle
 
Venu Gopal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for the replies.
To be more clear: I have some piece of code (a full application) already developed using Swing and I have another .Net application. In .Net UI, if user clicks some button I have to show the java Swing (JFrame) so that from then onwards java will take care of the rest and at end user can come back to .Net application. (when .Net communicate to JFrame it passes some data and vice versa).
I don�t want to use webserver (bcz the .Net application and my java application both are stand alone applications). Performance is the main constraint.
Can I achieve the above if I go for .Net�s DataSet? How about performance? (converting the data to XML and again from XML, processing data using parsers!! etc)
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question I have about using the .NET dataset is -- how do you plan on getting it from the Swing application to the .NET application and back again?
As I can see it, if you can't include a micro-server for SOAP, then some sort of COM bridge is your only option. Of course, my real question is, how did a requirement like this come about?
Kyle
 
Venu Gopal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May be Morris is the right person for ur .Net DataSet question. Even I want to know how it's possible?
Requirement: humn� may be you can think this Java application as a tool, which is already developed in Java and multiple applications (may be java or non-java) can make use of this tool just by embedding. .Net application is one such application.
Yes. Even I thought COM is one option (but would like to know whether is this the BEST option or not!!). Where I can get much information about .Net COM bridge? How its different form VB COM bridge.
FYI: I�m not even a beginner for Microsoft technologies!!
 
get schwifty. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic