Java Reference
In-Depth Information
3. Specify the
EJB
Name
as
CatalogSessionEJB
. Select
Session
Type
as
Stateless
and
Transaction
Type
as
Container
. Specify a mapped name
(
EJB3-SessionEJB
). The
Generate
Session
Façade
Methods
checkbox is
selected by default. The
Entity
Implementation
is
JPA
Entities
by default.
The persistence unit is
em
. Click on
Next
.
4. Select the default
JPA
Entity
Methods
to create and click on
Next
.
5. Specify the
Bean
Class
(
model. CatalogSessionEJBBean
) and click on
Next
.
6. Select the EJB business interface to implement. Select the
Implement
a
Remote
Interface
checkbox, and specify the
Remote
interface
(
model.
CatalogSessionEJB
). Click on
Next
.
7.
In the
Summary
window, click on
Finish
.
A session bean class
CatalogSessionEJBBean
gets added to the entity bean model
project. The remote business interface for the session bean,
CatalogSessionEJB
,
also gets created.
Search WWH ::
Custom Search