From seam-commits at lists.jboss.org Mon Oct 8 17:33:11 2012
Content-Type: multipart/mixed; boundary="===============9186619248687579843=="
MIME-Version: 1.0
From: seam-commits at lists.jboss.org
To: seam-commits at lists.jboss.org
Subject: [seam-commits] Seam SVN: r15225 -
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US.
Date: Mon, 08 Oct 2012 17:33:10 -0400
Message-ID: <201210082133.q98LXAca032326@svn01.web.mwc.hst.phx2.redhat.com>
--===============9186619248687579843==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: manaRH
Date: 2012-10-08 17:33:10 -0400 (Mon, 08 Oct 2012)
New Revision: 15225
Modified:
branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tutor=
ial.xml
Log:
JBSEAM-5051 doc issues
Modified: branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-U=
S/Tutorial.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tuto=
rial.xml 2012-10-08 15:33:24 UTC (rev 15224)
+++ branches/community/Seam_2_3/seam-reference-guide/src/docbook/en-US/Tuto=
rial.xml 2012-10-08 21:33:10 UTC (rev 15225)
@@ -130,7 +130,7 @@
The entity bean: User.java
=
- We need an EJB entity bean for user data. This clas=
s defines persistence and
+ We need an JPA entity bean for user data. This clas=
s defines persistence and
validation declaratively, via=
annotations. It also needs some extra
annotations that define the class as a Seam component.=
@@ -204,7 +204,7 @@
}]]>
- The EJB3 standard @Entity<=
/literal> annotation indicates that the
+ The JPA standard @Entity=
literal> annotation indicates that the
User class is a=
n entity bean.
@@ -227,7 +227,7 @@
- The EJB standard @Table annotation indicates that the
+ The JPA standard @Table annotation indicates that the
User class is m=
apped to the users table.
@@ -239,7 +239,7 @@
render response and update model value=
s phases.
- An empty constructor is both requir=
ed by both the EJB specification and by Seam.
+ An empty constructor is both requir=
ed by both the JPA specification and by Seam.
@@ -250,7 +250,7 @@
persistence).
- The EJB standard @Id annotation indicates the primary key
+ The JPA standard @Id annotation indicates the primary key
attribute of the entity bean.
@@ -340,21 +340,21 @@
The EJB standard @Persiste=
nceContext annotation is used to
- inject the EJB3 entity manager.
+ inject the JPA entity manager.
The Seam @Logger=
annotation is used to inject the component's
Log instance. <=
/para>
- The action listener method uses the=
standard EJB3
+ The action listener method uses the=
standard JPA
EntityManager API t=
o interact with the database, and returns the
JSF outcome. Note that, since this is =
a session bean, a transaction is automatically
begun when the register() method is called, and committed when it
completes.
- Notice that Seam lets you use a JSF=
EL expression inside EJB-QL. Under the
+ Notice that Seam lets you use a JSF=
EL expression inside JPQL. Under the
covers, this results in an ordinary JP=
A setParameter() call on
the standard JPA Query object. Nice, huh?
@@ -657,9 +657,9 @@
=
- The EJB persistence deployment descriptor: persistence.xml
+ The JPA persistence deployment descriptor: persistence.xml
=
- The persistence.xml file tells t=
he EJB persistence provider where to find the
+ The persistence.xml file tells t=
he JPA persistence provider where to find the
datasource, and contains some vendor-specific settings=
. In this case, enables automatic schema
export at startup time.
=
@@ -760,7 +760,7 @@
Clickable lists in Seam: the messages example
=
Clickable lists of database search results are such an impo=
rtant part of any online application that Seam
- provides special functionality on top of JSF to make it easier=
to query data using EJB-QL or HQL and display
+ provides special functionality on top of JSF to make it easier=
to query data using JPQL or HQL and display
it as a clickable list using a JSF <h:dataTable>=
;. The messages example
demonstrates this functionality.
=
@@ -942,7 +942,7 @@
named message.
- This stateful bean has an EJB3 extended persistence context.
+ This stateful bean has an JPA extended persistence context.
The messages retrieved in the query re=
main in the managed state as long as the bean
exists, so any subsequent method calls=
to the stateful bean can update them without
needing to make any explicit call to t=
he EntityManager.
@@ -1083,7 +1083,7 @@
=
If the user clicks the <h:commandButton>=
, JSF calls the
delete() action listener. Seam inte=
rcepts this call and injects the selected row
- data into the message attribute of the =
messageList component. The
+ data into the message attribute of the =
messageManager component. The
action listener fires, removing the selected Mess=
age from the list, and also calling
remove() on the EntityMana=
ger. At the end of the call, Seam
refreshes the messageList context varia=
ble and clears the context variable named
--===============9186619248687579843==--