• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

integeration question

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • 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


 
Henrique Ordine
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • 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.
 
Kumar Ala
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic