what are the client classes
hi all
i am new to EJB's. i am using weblogic6.0 . i am doing jar and deploying it. but my doubt is with the client program. why should i make the home and remote classes available to my client program(jsp page).
what all the classes we have to make available to client and why should we do this?
thanks
Paruchuri
HI,
The Client would need the Home and Remote classes.The Home is needed so that you can look up a remote object through JDNI javax.naming and through that you create a bean.Look more into the life cycle of a bean when the home's create() is called for more details.
The Home then returns to the client the Remote Reference to an EJB Object in the server. This is the Remote Stub which the client would then use to invoke the business methods on the bean. Since the client does not directly work on the bean by itself.
Hope this helps.
Nive