It is very important to master EJB knowledge-->10 minute to learn

Source: Internet
Author: User

Ejb

Note: 1, language short, clear, easy to read master.

2. If you think a place to understand ambiguity must find Baidu!

3. If there is a bad place please advise a lot of thank you!

One, what is EJB (eterprise JavaBean):

A: 1, simply say EJB is the build and container of the program running,

2.EJB containers are proxies for EJB components

Second, the implementation of EJB and function:

A: 1,EJB is based on Java remote invocation,

2,EJB can be accessed remotely, but not deployed in Webspere and WebLogic containers

3,EJB customers are not accessing the EJB component but accessing the EJB container.

4.EJB provides cycle management, code generation, security, things management, locks, concurrency, etc.

Third, EJB is based on those technologies:

A: 1,sessionbean, the main completion of the server-side business logic.

2,entitybean, which represents the entity class object, is a map of the fields in the database.

3,messagebrivenbean,

Four, insufficient EJB:

A: 1, unable to manipulate the thread

2, can not implement the server function.

3, can not access to static properties,

4, unable to use IO to save files directly

5. Cannot load local library

6. Cannot loop call
Five, remote and home interface function

A: 1,remote defines the business method and invokes the client business method with EJB.

2,,home is used to create and overflow an EJB instance.

Six, EJB type:

Answer: 1,SESSION session tracking,

2,entitybean entity objects,

3,messagedrivenbean Message Driver

Seven. EJB activation mechanism:

A: 1, the activation mechanism is the client invokes the EJB business method.

Eight, the client invokes the EJB step:

Answer: 1,jndi Service-->home Interface-->create method to create remote interface

Calling a business method--->remote interface

Nine, the application server has those:

Answer: 1.beaweblogic Server;

2,tomcat;        3,jboss; 4,orcale9i

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.