Enterprise Java Beans
||The English used in this article may not be easy for everybody to understand. (February 2012)|
Enterprise Java Beans is a framework that allows to develop Enterprise applications more easily, using Java Enterprise Edition. It does this by using standard components. Such components are necessary to specify how an application works. This is usually called business logic.
There are different kinds of Beans:
- Session beans help to implement the main business logic. They are either Stateful (remembers things), Stateless (remembers nothing) or Singleton (only one of those exists). An example for a session bean might be the piece of code that tells how to store items in a database.
- Message-driven beans allow a system to work asynchronously. They help to make different systems talk to each other by sending messages. Sometimes they are used to talk to legacy systems.
[change] Other websites
- Sun's EJB Product main page
- EJB 3.0 API Javadocs
- The EJB 3.0 Specification
- Sun's EJB 3.0 Tutorial
- EJB (3.0) Glossary
- JSR 318 (EJB 3.1)
- JSR 220 (EJB 3.0)
- JSR 153 (EJB 2.1)
- JSR 19 (EJB 2.0)
- EJB 2 example based tutorial issa