Java Reference
In-Depth Information
Creating an Article entity
To create and persist an
Article
entity, right-click on
article.jsp
and select
Run
.
Specify values for the
Id
,
Title
, and
Author
fields and select a
Section
Id
and an
Edition
Id
from the
Menu
select items:
Click on
Submit
:
Edition
,
Section
, and
Article
entities get created and persisted to the Oracle
database. We ran the JSF UIs separately, but, alternatively, the session façade may
be exposed as a data control, and a page flow with JSF navigation may be created
for the JSF user interfaces. Subsequently, a Master-Detail JSF page, which has a
binding with the data control, may be created, as discussed in a tutorial (
http://
www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-
detail_pagewith_ejb.htm#t4
).
Search WWH ::
Custom Search