my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes some doubt about ejbobject ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "some doubt about ejbobject ?" Watch "some doubt about ejbobject ?" New topic
Author

some doubt about ejbobject ?

alex han
Ranch Hand

Joined: Dec 13, 2002
Posts: 46
in <<mastering ejb2>> ,there are
------------------------------
Thus, the EJB container acts as a layer of indirection between the client code
and the bean. This layer of indirection manifests itself as a single networkaware
object called the EJB object.
The EJB object is the request interceptor we
alluded to earlier. As the old saying goes, a layer of indirection solves every
problem in computer science.
----------------------------------
Does the first sentence means ejb container is a ejbobject?or ejb container 's part is ejbobject.
[ July 28, 2003: Message edited by: Xiao Han ]
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
hi Xiao,
Ejb container provides middle Layer functionalities in the form
of EJB Object.
Ejbcontainer has got to do its work in some form that form is called EJB Object.
If ur familiar with RMI concept(Stub n Skeleton) as a Single Line definition i can say
"Ejb Object is nothing but stub of Bean Instance".


SCJP 1.2
 
Consider Paul's rocket mass heater.
 
subject: some doubt about ejbobject ?
 
Similar Threads
Some important doubts on security, Session and Entity beans....
getEJBObject in ejbCreate (stateless session bean)
How do I implement BOTH a local and a remote client view for a bean?
Question on EJBObject
getEJBObject in setSessionContext