And then discusses and compares the four kinds of object persistence mechanism successively appeared on J2EE platform, which include the Java object serialization, the Entity Bean, the "Session Bean+JDBC" and the "Session Bean+JDO".
Using the weblogic as the J2EE application server and EJB as the developing technology, this paper designs the data logic layer and business logic layer in the IBSS system, in which the entity bean is used to implement the system data tier, and session bean to implement logical tier.
The thesis first introduces distributed technology and the frame of J2EE, analyzes the component technology and container model, API and services of J2EE platform, pay more regard on EJB component and its each parts.
In the Model layer, the conversation Bean is combined with entity Bean on J2EE platform and the transfer method that all entity Beans are encapsuled in conversation Bean is used. By this means, the communication times in network are reduced, the overlap of entity Bean groupware is boosted up and the performance of the system is improved.
EJB componenttechnology is used to realize business tier. On the business tier, Entity Bean which ismanagement by container implement persistent operation and Session Beanencapsulate Entity Bean in order to improve the performance of the system.
Middle tiered Application Server is key foundation for setting up Distributed Application System on Internet complicated environment; The paper design and implement one key technique of the Web based application server system combining distributed object orinted component technology CORBA and EJB—EJB container:StatelessSessionBeans Manager.
As an important part of J2EE framework,EJB technology simplifies the development of middleware components. According to our understanding in developing practical projects,this article presents EJB architecture and the relations between EJB and other technologies including JavaBeans,CORBA and XML,etc. Finally, an application example using EJB is given. General rules and methods and detailed processes in mapping entity Beans and session Beans are also discussed.
This paper has introduced the implementation technique of session Bean while utilizing J2EE to develop enterprise's management system. Discuss how to use data object and session facade to raise systematic function and reduce the coupling of module and make systematic level clarity .