logo       

[cvs] openejb/src/doc faq_cmp.xml: msg#00026

java.openejb.devel

Subject: [cvs] openejb/src/doc faq_cmp.xml

Modified: src/doc Tag: v0_9 faq_cmp.xml
Log:


Gopal sends us a documentation patch. Thanks Gopal!

[ 641732 ] Added comments to CMP file.



By David Blevins, on 0103/02/13 18:04:07



Revision Changes Path
No revision


No revision


1.3.2.1 +25 -1 openejb/src/doc/faq_cmp.xml

Index: faq_cmp.xml
===================================================================
RCS file: /cvsroot/openejb/openejb/src/doc/faq_cmp.xml,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- faq_cmp.xml 8 Nov 2002 04:54:52 -0000 1.3
+++ faq_cmp.xml 14 Feb 2003 02:04:05 -0000 1.3.2.1
@@ -58,6 +58,30 @@
all the CMP entities that need them. </p>

<p>
+After the deployer is run for the first time, using your favourite
+editor edit openejb-jar.xml file and add your finder select statement
+in openejb-jar.xml file.
+</p>
+
+<p>
+Repackage your jar file.
+</p>
+
+<p>
+If openejb is already running close currently running openejb instance
+by telnet localhost 4200 and issuing the stop command and restart openejb.
+</p>
+
+<p>
+Test your program by calling Runit.sh .
+</p>
+
+<p>
+Whenever deployer is run again for your current application, it will overwrite
+openejb-jar.xml file.
+</p>
+
+<p>
Say you had a home interface with the following finder method...
</p>
<p>
@@ -94,7 +118,7 @@
</method-params>
</query-method>
<object-ql>
- SELECT o FROM org.acme.employee.EmployeeBean o WHERE o.lastName = $1
+ SELECT o FROM org.acme.employee.EmployeeBean o WHERE o.lastname = $1
</object-ql>
</query>
</ejb-deployment>





-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-development mailing list
OpenEJB-development@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openejb-development



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise