Author: dblevins
Date: Thu Jul 21 00:03:38 2011
New Revision: 1148984
URL: http://svn.apache.org/viewvc?rev=1148984&view=rev
Log:
converted to markdown -- testing the buildbot config mostly
Added:
openejb/trunk/openejb3/examples/simple-stateful/README.mdtext (contents,
props changed)
- copied, changed from r1148051,
openejb/trunk/openejb3/examples/simple-stateful/README.txt
Removed:
openejb/trunk/openejb3/examples/simple-stateful/README.txt
Copied: openejb/trunk/openejb3/examples/simple-stateful/README.mdtext (from
r1148051, openejb/trunk/openejb3/examples/simple-stateful/README.txt)
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-stateful/README.mdtext?p2=openejb/trunk/openejb3/examples/simple-stateful/README.mdtext&p1=openejb/trunk/openejb3/examples/simple-stateful/README.txt&r1=1148051&r2=1148984&rev=1148984&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/simple-stateful/README.txt (original)
+++ openejb/trunk/openejb3/examples/simple-stateful/README.mdtext Thu Jul 21
00:03:38 2011
@@ -1,16 +1,9 @@
-This example shows how to create a session stateful EJB using annotations.
+This example shows how to create a Stateful session EJB using annotations.
-A stateful session bean is a session bean whose instances can maintain the
conversational state with the client.
-The conversational state of the stateful session bean, which describes the
conversation between a speciï¬c
-client and a session bean, is contained in the fields of the stateful session
bean.
+A Stateful session bean is a session bean whose instances can maintain the
conversational state with the client. The conversational state of the stateful
session bean, which describes the conversation between a specific client and a
session bean, is contained in the fields of the stateful session bean.
-With EJB 3.0, it's now possible to write stateful session bean without
specifying a deployment descriptor; you basically have to write just
-
- * a remote or local business interface, which is a plain-old-java-interface,
annotated with the @Remote or @Local annotation
- * the stateful session bean implementation, a plain-old-java-object which
implements the remote or the local business interface and is annotated with the
@Stateful annotation
-
-To run the example simply type:
-
- $ mvn clean install
+Simply put, when you create a stateful bean an actual instance is created by
the container and dedicated to you and only you. Every call you make will go to
your instance. Further, your instance will not be shared with anyone unless you
give them a reference to your stateful bean. The instance will last until you
remove it or until it times-out and is removed by the container.
+With EJB 3.0, it's now possible to write stateful session bean without
specifying a deployment descriptor; you basically have to write just a remote
or local business interface, which is a plain-old-java-interface, annotated
with the @Remote or @Local annotation the stateful session bean implementation,
a plain-old-java-object which implements the remote or the local business
interface and is annotated with the @Stateful annotation
+This example is the "simple-stateful" example located in the
openejb-examples.zip available on the download page.
\ No newline at end of file
Propchange: openejb/trunk/openejb3/examples/simple-stateful/README.mdtext
------------------------------------------------------------------------------
svn:keywords = Date Rev Author Id Revision HeadURL