aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB Protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "EJB Protocol" Watch "EJB Protocol" New topic
Author

EJB Protocol

Philip Pomario
Ranch Hand

Joined: Oct 03, 2003
Posts: 113
What's the protocol used on EJB invocations by default? RMI/IIOP? RMI/JRMP? Other?

Regards,
Filipe Pomar
Manish S Malhotra
Ranch Hand

Joined: Jan 19, 2007
Posts: 61
Hi Filip,

I think its RMI/IIOP, because nothing is mentioned in the EJB1.1 specs regarding use of JRMP and specified only IIOP.
And if you read Cade's chapter 2 page no. 15 ( components of J2EE), it written that EJB container must support following API's: J2SE, JNDI .... , RMI-IIOP..... and it hasnt mentioned JRMP.

So, I think its IIOP only.

Even I found one question somewhere that which is true for EJBs and it has given options like
EJB may support RMI-IIOP.
EJB has to suuport RMI-IIOP.

So, if we select 1st it means EJB could support something else also as its communication protocol that is JRMP. but I think that is false.

Any body who can give some light on this topic.

Regards,
Manish


"Abstraction is the key thing while designing"
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2300
I think the specification says the vendors to use IIOP as the wire protocol.
Even if the vendor is using JRMP but still the clients would have to assume that its using IIOP for making the application portable across various application servers.


Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: EJB Protocol
 
Similar Threads
Which Protocol?
A question in RMI-IIOP ?
Relation between EJB and CORBA
what is significance of using IIOP protocol
can applet use RMI-IIOP to connect WEB or EJB container?