Originally posted by Navin Pillu:
I've query about J2EE Architecture. Could anybody explain me purpose of home & remote interfaces in J2EE architecture. I know Home inteface defines create & finder method and remote defines business logic. But ultimately we combine it into EntityBean (Except finder). Then what is the purpose of creating 3 things instead of 1
This might be a foolish question, bcoz i'm new to EJB. Plz explore it.
Thanks in Advance
Hello Navin Pillu
Its a Good Question.Tha Most important abt EJB Architecture is that it will based on the RMI Architecture.
Since there are two interface designed in EJb one is home and one is Remote.
You can;t access the Home methods remotely.Methods defined only in the Remote(Business) interface expose methods that is accessible by the Client.
And since this interface is used to generate the EJB object at runtime in container specific algorithms,the vendor can impose their own algo to the Interfaces so that some platfom services can be easily accessed.
In home interface there are some business methods that is accessible internally and might contain secret business logic which you don't want to exposed to the client by Remote Interfaces.
I will post some new Info asap.
Thanks and Regards,
FWL Technologies India Pvt. Ltd.,
E-Mail: firstname.lastname@example.org http://www.fwltech.com
"If you don�t know the destination, then it�s just useless to read the roadmap"