Hi Thomas,
Get the current CVS head or last source code version.
(When using the CVS head you will find more sample beans)
Generate the docs with
bin\build.bat doc
Generated docs you will find under .../target/doc
Instruction for deployment in
jboss see:
User Documentation/Deployment
To generate the shipped sample beans:
- first build the ojb jars
bin\build.bat jar
- then build the sample beans jar using xdoclet
ant -buildfile build-xdoclet.xml
the jar and the generated src code
you could find under ../target/srcejb
(When using a different AppServer then jboss,
change the build-xdoclet.xml file doclet task, see
xdoclet documentation)
Deploy the jar in your AppSever and run one of
the test clients (or try to run the AllTests.java client).
The original source code of the sample
beans you could find under ../src/ejb/...
repository.xml:
For the jdbc-connection-descriptor tag Matthew had
introduced an eager-release attribute, when using
jboss (tested for 3.0.3) this should be set 'true'
(default was 'false'). If set 'true' the obtained connection
by the PB was "closed" after each Statement use.
Sample:
....
<jdbc-connection-descriptor
platform="Hsqldb"
jdbc-level="2.0"
jndi-datasource-name="java:DefaultDS"
username="sa"
password=""
eager-release="true"
/>
Currently we only test under JBoss 3.0.3
(3.x versions <3.0.3 cause trouble)
HTH
regards,
Armin
----- Original Message -----
From: "Thomas H�sler" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 17, 2002 4:24 PM
Subject: OJB in J2EE Enviroment
Hi all
Did anyone ever use OJB in a J2EE environment? If so what are the
experiences? I just read it smoothly integrates into it but no
details...
Are there any details around about how to use OJB inside a J2EE system?
Tom
------------------------------------------------------------------
Thomas H�sler * TietoEnator Consulting AG
Industriestrasse 19 * 8304 Wallisellen * Switzerland
Tel. +41 (43) 233 45 28 * Fax +41 (43) 233 45 10
Mobile +41 (78) 622 03 36
<mailto:Thomas.Huesler@;TietoEnator.com>
http://www.tietoenator.ch
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>