Access and Implementation of Java EJB containers

Source: Internet
Author: User

As a lightweight container, spring is often considered a substitute for EJB. We also believe that for many (not necessarily the vast majority) applications and use cases, compared to implementing the same function through the EJB container, Sping is used as the container, plus it in the transaction, spring is indeed a better choice for the wide range of features supported in the orm and JDBC access fields.

However, you must note thatSpringIt doesn't mean we can't use it.EJBIn fact, spring greatly simplifies the complexity of accessing and implementing the EJB component or only implementing the function of the EJB component. In addition, if you use spring to access the EJB component service, you can then transparently switch the service implementation between the local EJB component, remote EJB component, or pojo (simple Java object) variants, without modifying the clientCode.

Read: http://www.javah.net/JAVAjichu/20070609/2535.html

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.