Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

integeration question

 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1 .For integrating with java and COBRA, we need to use java IDL through RMI-IIOP, am I correct?

2. For integrating with java and C++, we need use JNI , throgh what protocal?

3. For integrating with java and java , we need use jrmp

4. so when should we use jax-ws and jms , i thought JMS is for java to java integration, and jax-ws is for java to non-java integration.

please tell me if i am correct from 1-3, and what is the answer for question 4.

thank you for the help


 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To integrate Java with legacy applications that are accessed via a CORBA server, use Java IDL.

To communicate with EJBs, use RMI-IIOP.

Number 2 is correct. If your C++ application is remotely located you could use JNI and an RMI server.

Number 3 is correct.

JAX-WS is used to build Web Services for the Java EE programming model. So it's Java EE to any other Web application that can consume a Web Service.

JMS is used for Point to Point or Publish/Subscribe messaging. I'm not sure if a non-Java application can send a message to and receive a message from a JMS enabled server.
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JMS takes messages from non java also.
It all depends on where you are listening to. I mean your application is in Java and the other application you are communication can be in VB.Net etc. VB.Net can read message from the Broker and you also read the message from the Broker. This can be done with mainframe system also.
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic