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..
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
Joined: May 11, 2006
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..