Q&A

Q1:Can a client directly create an Enterprise JavaBean?
A1: No, a client never directly creates or accesses instances of the Enterprise JavaBean instance. Only the EJB container creates the Enterprise JavaBean instances. Remember that the container tools generate the home object. This allows the container to provide functionality such as life cycle management, security, transaction, concurrency, and other common services.
Q2:Can I write both local and remote interfaces for my Enterprise JavaBean?
A2: Yes, you can write both local and remote interfaces to your Enterprise JavaBean. This allows both remote and local clients to access your Enterprise JavaBean. Typically, only either local or remote interfaces are provided.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.39.133