Could some please help me in clarifying my doubt here.
Why does client access an Enterprise JavaBean
by looking up the class implementing its home interface
by name through JNDI and then uses the methods
of home interface to acquire access to
an instance of the class implementing the remote interface ?
Why cannot client access the remote interface directly ?
By doing this client --> EJBHome --> EJBObject
in the EJB architecture what advantage they get ?
It seems I am fully confused now with the EJB implementaion ?
And why did they kept all business methods in the Remote interface and
create and finders in home interface. I think I may be asking
very silly questions, but it really makes me too confusing to
understand the EJB architecture and its implementaion.
Please help me to understand better the EJB architecture.