The Counter sample demonstrates the use of EJB 3.0 specification
to create, deploy and run EJB 3.0 applications.
EJB 3.0 Technology
Using the Java™ EE 5 architecture, you can build distributed enterprise
applications, including Web sites and Enterprise JavaBeans™ (EJB) applications. When
you develop EJB 3.0 components, you can take advantage of improvements in
ease of learning and use. Review this sample to see how EJB 3.0 components
are used in the application, and copy parts of the sample to get started with
your own EJB 3.0 components.
EJB 3.0 Counter Sample
The Counter EJB 3.0 sample includes:
- An EJB 3.0 project, called EJBCounterSample, with an EJB 3.0 stateless
session bean (with both interface and implementation classes) and a JPA 1.0
entity class.
- A Web project (EJBCounterWeb), a Java ServerPages (JSP) page, and a utility Java class.
- A EAR application EJBCounterSampleEAR) containing the EJB and Web projects.