• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IIOP and Java EE

 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it true that Java EE objects don't use IIOP unless they are taking to software that wasn't written in Java?

Is it true that EJBs are built on RMI which uses TCP/IP sockets to communicate unless the other end is not java software in which case IIOP can be used?

-- Kaydell
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

the vendor of an app server can choose the protocol for distributed
environments. The "simplified layer" is not tight to a specific protocol
as in the EJB2.1 Spec.
Currently, most vendors use JRMP when using the simplified layer (No classic Remote Interface, no direct Home Object).
When a native client is involved (C++ eg), the simplified layer cannot be
used. In this case, the EJB must be implemented as an EJB2.1 component (but more convenient now-annotations be still be used).

Hope this will help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic