This tutorial describes how to create an EJB 3.0 application
that contains an EJB 3.0 project and a web project to display a counter
program.
Learning objectives
This tutorial
enables you to create:
- 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), and with a Java™ Server Page (JSP) page and
a utility Java class
- A Java EE 5 application
(EJBCounterSampleEAR) with the EJB and Web projects
Time required
30 minutes