Sound sources of EJB

Source: Internet
Author: User

Someone posted a post asking if there is an app for learning EJB? After reading the following brief introduction, you may be very interested in EJB. Its advantages are extremely attractive.

1. EJB is component-based development.

With Enterprise JavaBean, you can develop EJB components like building blocks, and then you or others can assemble these EJB components into different applications. For example, you may have created a customer Bean (component), which represents a customer in the database. This customer bean can be used in multiple applications, such as audit programs, e-commerce shopping cart systems, or technical support applications. Almost all users can use this component as long as the application needs to represent a customer.

In fact, for beans, bean developers and bean users may not work in the same company or even know each other. If you are a bean developer, you can build an order bean, payroll bean, or other beans, so that developers in other companies (may have nothing to do with you) you can buy these components or build your own applications.

One of the major advantages of component-based development is that it can bring code reuse to a new height. Here, it is not to reuse Java classes, but to reuse a larger functional block. Generally, the bean can be modified from the outside without any code.

With EJB, we can concentrate on the business logic of the enterprise, and the underlying services such as transactions, networks, and security are all left for the EJB server developers to solve the problem. Because the EJB service provider already provides many services, you do not have to write these services yourself: transaction management, security, concurrency, network, and resource management. In addition, EJB allows you to customize and configure reusable components during deployment without having to change its source code.

Ii. Woda

Enterprise beans can be transplanted. This does not only mean that they can be transplanted to different JVMs, but also to different EJB servers. Java can be used across platforms, which makes us very fond of Java. This is called "Write-once-run-anywhere Wora )". EJB is to increase the portability to a new height. Here, it can also achieve "Write-once-deploy-anywhere Woda )". In this way, you can get rid of the restrictions of the running platform, so that your applications can not only run on an operating system, in contrast, Woda goes further.

I believe that the interest in ejbs has increased by a few minutes. further learning and application are required to reflect the advantages of ejbs.

Sound sources of EJB

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.