db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/forrest/src/documentation/content/xdocs/docu/guides deployment.xml
Date Sat, 19 Jun 2004 09:30:35 GMT
arminw      2004/06/19 02:30:35

  Modified:    forrest/src/documentation/content/xdocs/docu/guides
  update documentation, add example about how to build
  deployable jar
  Revision  Changes    Path
  1.2       +55 -4     db-ojb/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml
  Index: deployment.xml
  RCS file: /home/cvs/db-ojb/forrest/src/documentation/content/xdocs/docu/guides/deployment.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- deployment.xml	17 Jun 2004 12:28:11 -0000	1.1
  +++ deployment.xml	19 Jun 2004 09:30:35 -0000	1.2
  @@ -316,7 +316,7 @@
                           If the PB-api is the only persistence API being used (no ODMG nor
                           and it is
                           <strong>only</strong> being used in a managed environment,
it is
  -                        recommended to use a special PersistenceBrokerFactory class, which
  +                        strongly recommended to use a special PersistenceBrokerFactory
class, which
                           enables PersistenceBroker instances to participate in the running
                           transaction (e.g. this makes PBStateListener proper work in managed
                           environments and enables use of 'autoSync' property in ObjectCacheDefaultImpl):
  @@ -625,11 +625,62 @@
   /all used libraries]]></source>
  +                    </section>
  +                    <anchor id="deployable-jar"/>
  +                    <section>
  +                    <title>
  +                        <strong>7b. Example: Deployable jar</strong>
  +                    </title>
  +                    <p>
  +                        For example the jar-file used to test the <link href="#example-beans"><em>ejb-examples</em></link>
  +                        shipped with OJB, base on the <em>db-ojb-XY-beans.jar</em>
file. This jar was created when the
  +                        <link href="#example-beans"><em>ejb-examples</em></link>
target was called.
  +                    </p>
  +                    <p>
  +                        The generated jar contains only the ejb-classes and the deployment-descriptor.
We have
  +                        to add additional jars (all libraries used by OJB) and files (all
configuration files)
  +                        to make it deployable. The deployable <em>db-ojb-XY-beans.jar</em>
should look like this:
  +                    </p>
  +                    <source><![CDATA[
  +.../apache (all ejb classes)
  +                    <p>
  +                        Please pay attention on the <link href="#jboss-ojb.properties">configuration
  +                        to make OJB work in managed environments (especially the OJB.properties
  +                    </p>
  -                        This described solution should be re-deployable in JBoss.
  -                        <strong>If you will get any problems, please let me know.
All suggestions are welcome</strong>
  +                        This example isn't a real world production example. Normally you
will setup one or more enterprise
  +                        archive files (.ear files) to bundle one or more complete J2EE
(web) applications. More about
  +                        how to build an <em>J2EE application</em> using OJB
<link href="#packing-ear">see here</link>.
  +                    <p>
  +                        The described example should be re-deployable/hot-deployable in
  +                        <br/><strong>If you will get any problems, please let
me know. All suggestions are welcome!</strong>
  +                    </p>
                   <anchor id="howto-access"/>

To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org

View raw message