Learn EJB. Read MastingeJB2.0.

zhaozj2021-02-16  111

The coreprises, the core class of the Enterprise Bean EJB, the logical code written by the user. All the User EJB classes need to inherit the sessionbean, entity bean, one of the message beans. The EJB Object External Category Call EJB requires the interface that saves all EJB beans to expose to external class calls in this interface. The Home Object generates a factory method for bean.

These three classes and interfaces consist of the core of Enterprise Bean. The relationship and call sequence: These three relationships are quite a hospital reception room, the disease department, and the doctor's relationship. First of all: The patient has arrived at the hospital, registered (reception room), telling him which department should go, the department is representative of what disease can be cured, then the doctor is responsible for the specific treatment.

That is: Clientàhome Objectàejb ObjectàEnterprise Bean

转载请注明原文地址:https://www.9cbs.com/read-11020.html

New Post(0)