• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI-IIOP queries

 
Ramu Nur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I've these doubts on RMI-IIOP in j2ee.

1. What is RMI-IIOP? and Why is it required in EJB?
2. I read that EJB2.x Entity beans cannot be serialized over RMI-IIOP. Why?

Could someone please reply.

Thanks
 
Jayr Motta
Ranch Hand
Posts: 110
Google App Engine Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ramu,

RMI-IIOP means RMI (Remote Method Invocation) over IIOP (Internet inter-orb protocol) where RMI is the Java technology to invoke methods remotely across network and IIOP is the protocol used to it.

In the past it was largely used and even nowadays some implementations low-level details rely on concepts or technologies such these.

Answering why entity beans cannot be transfered through RMI-IIOP is because entity beans aren't just a POJO, they have behavior and some characteristics that make it impossible to transfer.

My question is, why are you using EJB 2.x? Is that some kind of legacy? You don't need to deal with this anymore. You must avoid this kind of low-level work unless you have a real good reason.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!