File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Remote Home  Interface... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Remote Home  Interface..." Watch "Remote Home  Interface..." New topic
Author

Remote Home Interface...

mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
hello,
can someone explain me/give me a link to refer the difference between;-
Remote interface
RemoteHome interface
LocalHome interface
Component view ??
Client View

I have started preparing for SCBCD 5.0...but getting confused with these terms..there are a lot of terms like the mentioned above..
It would be realy nice if someone can make me understand or send me a link..

Thanks
Mallika
Awishek sinha
Ranch Hand

Joined: Jun 24, 2007
Posts: 62
Hi Mallika shah
Remote component Interface-->it contain the businees method declaration for the bean class,it is used by the client that is on diffrent JVM ,it extends EJBObject & and container implements this class.The clent a refernce to this interface called EJBObject stub which is used to call businees method exposed in bean class.

RemoteHome Interface-->It is also used by the client on diffrent JVM it used to create/find/remove bean object.The client gets an EJBHome object stub through JNDI look up and it then calls create() method on it to get EJBObject stub which can be used to call business method exposed in remotecomponent interface.

LocalHome interface-->same as remotehome except it is used by local client(on same jvm)& it extends EJBLocalHome and it returns EJBLocalObject by calling crete on it.

Component view-->i could not find it if you could tell me where you found it may be i can help you out.

Client View--> can be local client view consists of LocalHome & localcomponent interface OR remote client view consist of Remote Home & Remote component interface you can have both or either of one depending upon the client.
[ October 08, 2007: Message edited by: Awishek sinha ]

Awishek Kr Sinha<br />SCJP 1.4<br />SCBCD 1.3
mallika shah
Ranch Hand

Joined: May 11, 2006
Posts: 164
Thanks Awishek for the reply..Igot your point..
And sorry for not replying you soon, as i was stuck in a part of my project..so couldnt get time to check mails..

mallika
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote Home Interface...