First contact EJB

xiaoxiao2021-03-06  169

In the first time, the book is "proficient in EJB (second edition)".

The book has started the Motivation of EJB, and the simple EJB introduction, and some and EJB.

After that, the EJB foundation was started, and it was started to tell the structure of EJB, and more detailed EJB all aspects.

At first, since I didn't have exposed to EJB development, just simply understand the structure of EJB, I only know that I need to implement remote interface, local interface, have an Enterprise Bean class, have an EJB object, have a local object, but they The relationship between the relationship is not known.

At the same time, because of self-study, there is no other friends who are familiar with EJB development, everything needs you to understand from the book. Seeing the second chapter, telling the composition of EJB, telling the few sections I have learned before: Remote Interface, Home Interface, Local Interface, Enterprise Bean Class, EJB Object, Local Object, Local Home Interface, finally Winter winter is a mess, I don't know.

Finally, I saw the third chapter, I started a simple helloWorld example, I also came to Code, but I didn't get the result of imagination.

However, from this example I know the relationship between remote interface, local interface, Enterprise Bean, EJB object, Local object: EJB object implements remote interface, local object implements local interface, Home object Implement Home interface, local Home object implementation Local Home interface, Enterprise Bean class is to implement business logic core (can be a session bean, entity bean or message bean).

So if you first start watching this book, it is best to look at the second chapter and add questions that I have encountered together.

Until now, I started working, and I need to use EJB in my work, I also started to know that EJB's operational content. I also know why I installed the examples in the book to test my EJB but the result did not appear the results.

to be continued.

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

New Post(0)