You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/07/11 05:37:06 UTC

svn commit: r1145017 - /openejb/site/trunk/content/

Author: dblevins
Date: Mon Jul 11 03:37:05 2011
New Revision: 1145017

URL: http://svn.apache.org/viewvc?rev=1145017&view=rev
Log:
formatting

Modified:
    openejb/site/trunk/content/callbacks.mdtext
    openejb/site/trunk/content/clients.mdtext
    openejb/site/trunk/content/common-persistenceprovider-properties.mdtext
    openejb/site/trunk/content/configuration.mdtext
    openejb/site/trunk/content/configuring-containers-in-tests.mdtext
    openejb/site/trunk/content/configuring-datasources-in-tests.mdtext
    openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext
    openejb/site/trunk/content/getting-started.mdtext
    openejb/site/trunk/content/javaagent.mdtext
    openejb/site/trunk/content/local-client-injection.mdtext
    openejb/site/trunk/content/logging.mdtext
    openejb/site/trunk/content/management-and-voting.mdtext
    openejb/site/trunk/content/remote-server.mdtext
    openejb/site/trunk/content/security.mdtext
    openejb/site/trunk/content/testcase-with-testbean-inner-class.mdtext
    openejb/site/trunk/content/time-saved.mdtext
    openejb/site/trunk/content/understanding-callbacks.mdtext
    openejb/site/trunk/content/understanding-the-directory-layout.mdtext

Modified: openejb/site/trunk/content/callbacks.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/callbacks.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/callbacks.mdtext (original)
+++ openejb/site/trunk/content/callbacks.mdtext Mon Jul 11 03:37:05 2011
@@ -46,8 +46,7 @@ Exception
         }
     
         @AroundInvoke
-        public Object invoke(InvocationContext invocationContext) throws
-Exception {
+        public Object invoke(InvocationContext invocationContext) throws Exception {
     	return invocationContext.proceed();
         }
     }
@@ -79,9 +78,8 @@ Exception {
         }
     
         @AroundInvoke
-        public Object invoke(InvocationContext invocationContext) throws
-Exception {
-    	return invocationContext.proceed();
+        public Object invoke(InvocationContext invocationContext) throws Exception {
+    	      return invocationContext.proceed();
         }
     
         @PostActivate
@@ -120,9 +118,8 @@ Exception {
         }
     
         @AroundInvoke
-        public Object invoke(InvocationContext invocationContext) throws
-Exception {
-    	return invocationContext.proceed();
+        public Object invoke(InvocationContext invocationContext) throws Exception {
+    	      return invocationContext.proceed();
         }
     }
 
@@ -151,9 +148,8 @@ Exception {
         }
     
         @AroundInvoke
-        public Object invoke(InvocationContext invocationContext) throws
-Exception {
-    	return invocationContext.proceed();
+        public Object invoke(InvocationContext invocationContext) throws Exception {
+          	return invocationContext.proceed();
         }
     
         @PostActivate

Modified: openejb/site/trunk/content/clients.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/clients.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/clients.mdtext (original)
+++ openejb/site/trunk/content/clients.mdtext Mon Jul 11 03:37:05 2011
@@ -4,8 +4,7 @@ Title: Clients
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.LocalInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.LocalInitialContextFactory");
     
     InitialContext ctx = new InitialContext(p);
     
@@ -38,8 +37,7 @@ Title: Clients
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.LocalInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.LocalInitialContextFactory");
     p.put("openejb.authentication.realmName", "MyApp");
     
     InitialContext ctx = new InitialContext(p);
@@ -52,8 +50,7 @@ Title: Clients
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.RemoteInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
     p.put("java.naming.provider.url", "ejbd://localhost:4201");
     // user and pass optional
     p.put("java.naming.security.principal", "myuser");
@@ -69,8 +66,7 @@ Title: Clients
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.RemoteInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
     p.put("java.naming.provider.url", "http://localhost:4204/ejb");
     // user and pass optional
     p.put("java.naming.security.principal", "myuser");
@@ -87,8 +83,7 @@ Title: Clients
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.RemoteInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
     p.put("java.naming.provider.url", "http://127.0.0.1:8080/openejb/ejb");
     // user and pass optional
     p.put("java.naming.security.principal", "myuser");

Modified: openejb/site/trunk/content/common-persistenceprovider-properties.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/common-persistenceprovider-properties.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/common-persistenceprovider-properties.mdtext (original)
+++ openejb/site/trunk/content/common-persistenceprovider-properties.mdtext Mon Jul 11 03:37:05 2011
@@ -8,12 +8,11 @@ common properties used by the various pe
 
     <properties>
      
-<!--http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html-->
+      <!--http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html-->
       <property name="toplink.ddl-generation" value="drop-and-create-tables"/>
       <property name="toplink.logging.level" value="FINEST"/>
       <property name="toplink.ddl-generation.output-mode" value="both"/>
-      <property name="toplink.target-server"
-value="pl.zsk.samples.ejbservice.OpenEJBServerPlatform"/>
+      <property name="toplink.target-server" value="pl.zsk.samples.ejbservice.OpenEJBServerPlatform"/>
     </properties>
 
 
@@ -23,20 +22,12 @@ value="pl.zsk.samples.ejbservice.OpenEJB
 
     <properties>
       <!--http://openjpa.apache.org/faq.html-->
-      <!-- does not create foreign keys, creates schema and deletes content of
-a database 
-           (deleteTableContents - foreign keys are created twice???), use
-dropDB instead -->
-      <property name="openjpa.jdbc.SynchronizeMappings"
-value="buildSchema(foreignKeys=true,schemaAction='dropDB,add')"/>
-      <!--Resolves the problem with foreign key integrity - joined entities are
-persisted sometimes in wrong order??? (verify it)-->
-      <property name="openjpa.jdbc.SchemaFactory"
-value="native(foreignKeys=true)" />
-      <!--Create foreign keys-->
-      <property name="openjpa.jdbc.MappingDefaults"
-value="ForeignKeyDeleteAction=restrict,
-JoinForeignKeyDeleteAction=restrict"/>
+      <!-- does not create foreign keys, creates schema and deletes content of a database
+           (deleteTableContents - foreign keys are created twice???), use dropDB instead -->
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(foreignKeys=true,schemaAction='dropDB,add')"/>
+      <!--Resolves the problem with foreign key integrity - joined entities are persisted sometimes in wrong order??? (verify it)-->
+      <property name="openjpa.jdbc.SchemaFactory" value="native(foreignKeys=true)" />
+      <!--Create foreign keys--> <property name="openjpa.jdbc.MappingDefaults" value="ForeignKeyDeleteAction=restrict, JoinForeignKeyDeleteAction=restrict"/>
       <property name="openjpa.Log" value="DefaultLevel=TRACE,SQL=TRACE" />
     </properties>
 

Modified: openejb/site/trunk/content/configuration.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuration.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/configuration.mdtext (original)
+++ openejb/site/trunk/content/configuration.mdtext Mon Jul 11 03:37:05 2011
@@ -51,78 +51,75 @@ Show a config file with the elements hyp
     
 #  Basic Layout
     
-    Basically, openejb.base is the source for 100% of all configuration
+Basically, openejb.base is the source for 100% of all configuration
 information and third party config files (log4j, castor, instantdb,
 whatever).  This includes finding where the, possibly many, <Deployment>
 entries in the openejb.conf point.  The openejb.home is where the code
 loading OpenEJB will look for all the OpenEJB libraries.  Usually
 openejb.base is not explicitly set and defaults to the value of
 openejb.home, so many people are used to only dealing with openejb.home.
-    
-    The point of having and openejb.base and openejb.home was basically to
+
+The point of having and openejb.base and openejb.home was basically to
 allow several independently configured instances of OpenEJB running on a
 system (perhaps embedded in Swing apps, in Tomcat, running as a standalone
 Server, or even in Groovy as Mr. Strachan did!) but without the need to
 copy all the OpenEJB system libraries everywhere.
     
-    *openejb.home* 
-      * can be set explicitly via a system property.  
-      * if not set it default's to user.dir, which is the current working
-directory.
-    
-    *openejb.base*
-      * can be set explicitly via a system property.  
-      * If not set it default's to openejb.home.
-    
-    *openejb.configuration*
-      * can be set to explicitly point to the file containing your
-configuration.	
-      * If set to a relative path, we first look in user.dir/your-conf-file,
-then in openejb.base/your-conf-file
-      * If not set we check in openejb.base/conf/openejb.conf
-      * If no conf file is found, we create one in
-openejb.base/conf/openejb.conf
-    
-    
-    *relative paths in openejb.conf*
-      * Deployment entries are resolved relative to openejb.base.
-      * Containers use openejb.base to resolve their own config files.  For
-example, Castor JDO to loads the database.xml and all other files from the
-openejb.base directory.
-      * Resource adapters that are embedded usually have config files of their
-own and are also loaded from the openeb.base.
-    
-    *log files*
-      * The log4.configuration file is resolved relative to openejb.base.
-      * The properties in the config file that point to files are also resolved
-relative to openejb.base.
-    
-    *OpenEJB libraries*
-      * The jars in the lib and dist directories under openejb.home are added
+  *openejb.home*
+    * can be set explicitly via a system property.
+    * if not set it default's to user.dir, which is the current working
+  directory.
+
+  *openejb.base*
+    * can be set explicitly via a system property.
+    * If not set it default's to openejb.home.
+
+  *openejb.configuration*
+    * can be set to explicitly point to the file containing your
+  configuration.
+    * If set to a relative path, we first look in user.dir/your-conf-file,
+  then in openejb.base/your-conf-file
+    * If not set we check in openejb.base/conf/openejb.conf
+    * If no conf file is found, we create one in
+  openejb.base/conf/openejb.conf
+
+
+  *relative paths in openejb.conf*
+    * Deployment entries are resolved relative to openejb.base.
+    * Containers use openejb.base to resolve their own config files.  For
+  example, Castor JDO to loads the database.xml and all other files from the
+  openejb.base directory.
+    * Resource adapters that are embedded usually have config files of their
+  own and are also loaded from the openeb.base.
+
+  *log files*
+    * The log4.configuration file is resolved relative to openejb.base.
+    * The properties in the config file that point to files are also resolved
+  relative to openejb.base.
+
+  *OpenEJB libraries*
+    * The jars in the lib and dist directories under openejb.home are added
 to the classpath.
     
 ## Summary
     
-    A summary of the above in a different notation:
-    
-    {noformat}
+A summary of the above in a different notation:
+
     openejb.home = user.dir (can be set explicitly)
     openejb.base = openejb.home (can be set explicitly)
     openejb.conf = openejb.base/conf/openejb.conf (can be set explicitly)
     logging.conf = openejb.base/conf/logging.conf (can be set explicitly)
-    deployments  = paths listed in openejb.conf (relative paths resolved from
-openejb.base)
+    deployments  = paths listed in openejb.conf (relative paths resolved from openejb.base)
     Classpath includes openejb.home/lib and openejb.home/dist
-    {noformat}
-    
+
 ## Example layout
     
-    In this one the openejb.home and openejb.base are set, everything else is
+In this one the openejb.home and openejb.base are set, everything else is
 defaulted.  The openejb.conf file as been updated to point to the ejb jars
 by name (abc-ejbs.jar and xyz-ejbs.jar).
     
-    An example layout:
-    {noformat}
+An example layout:
+
     /usr/local/openejb  (openejb.home)
     /usr/local/openejb/lib	(in classpath)
     /usr/local/openejb/dist (in classpath)
@@ -132,16 +129,15 @@ by name (abc-ejbs.jar and xyz-ejbs.jar).
     /home/jsmith/foo_app/abc-ejbs.jar (Deployment entry in openejb.conf)
     /home/jsmith/foo_app/xyz-ejbs.jar (Deployment entry in openejb.conf)
     /home/jsmith/foo_app/logs/  
-    {noformat}
-    
+
     
 ## Another Example layout
     
-    In this example openejb.home and openejb.base are setup as well as the
+In this example openejb.home and openejb.base are setup as well as the
 explicit paths for the openejb and log4j configuration files.
     
-    An example layout:
-    {noformat}
+An example layout:
+
     /usr/local/openejb  (openejb.home)
     /usr/local/openejb/lib	(in classpath)
     /usr/local/openejb/dist (in classpath)
@@ -151,4 +147,3 @@ explicit paths for the openejb and log4j
     /home/jsmith/foo_app/xyz-ejbs.jar (Deployment entry in openejb.xml)
     /home/jsmith/foo_app/log4j.conf  (log4j.configuration)
     /home/jsmith/foo_app/mylogs/  (logging dir as defined in log4j.conf)
-    {noformat}

Modified: openejb/site/trunk/content/configuring-containers-in-tests.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuring-containers-in-tests.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/configuring-containers-in-tests.mdtext (original)
+++ openejb/site/trunk/content/configuring-containers-in-tests.mdtext Mon Jul 11 03:37:05 2011
@@ -6,8 +6,7 @@ the bean, allowing you to test your call
 
 
     Properties p = new Properties();
-    p.put(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.LocalInitialContextFactory");
+    p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
     
     p.put("myStatefulContainer", "new://Container?type=STATEFUL");
     p.put("myStatefulContainer.PoolSize", "0");

Modified: openejb/site/trunk/content/configuring-datasources-in-tests.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuring-datasources-in-tests.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/configuring-datasources-in-tests.mdtext (original)
+++ openejb/site/trunk/content/configuring-datasources-in-tests.mdtext Mon Jul 11 03:37:05 2011
@@ -7,8 +7,7 @@ need for an openejb.xml entirely) like s
 
 
     Properties p = new Properties();
-    p.put(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.LocalInitialContextFactory");
+    p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
     
     p.put("myDataSource", "new://Resource?type=DataSource");
     p.put("myDataSource.JdbcDriver", "org.apache.derby.jdbc.EmbeddedDriver");

Modified: openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext (original)
+++ openejb/site/trunk/content/configuring-persistenceunits-in-tests.mdtext Mon Jul 11 03:37:05 2011
@@ -78,37 +78,37 @@ understand or modify these properties.	D
 below.
     
 ###  No need to specify a "transaction lookup" property
-    
+
 All vendors have such a property for getting a reference to the container's
 TransactionManager and nothing works if this is not set correctly to the
 OpenEJB specific class.  To make the lives of users easier, OpenEJB will
 take the liberty of setting it for you.
-    
+
 Here are the persistence provider classes we understand and the defaults we
 will set for you:
-    
+
 #### Provider org.hibernate.ejb.HibernatePersistence
-    
+
 When using this provider, the *hibernate.transaction.manager_lookup_class*
 will be automatically set by OpenEJB to
 _org.apache.openejb.hibernate.TransactionManagerLookup_.  If the property
 is already set in the persistence unit it will be overwritten if it starts
 with the standard "org.hibernate.transaction." prefix.	
-    
+
 Custom lookup implementations will never be overwritten.
-    
+
 #### Provider oracle.toplink.essentials.PersistenceProvider
-    
+
 Or _oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider_.
-    
+
 When using this provider, the *toplink.target-server* will be automatically
 set by OpenEJB to _org.apache.openejb.toplink.JTATransactionController_. 
 If the property is already set in the persistence unit it will be
 overwritten if it starts with the standard "oracle.toplink.transaction."
 prefix.  
-    
-    Custom transaction controller implementations will never be overwritten.
-    
+
+Custom transaction controller implementations will never be overwritten.
+
 #### Provider org.eclipse.persistence.jpa.PersistenceProvider
 
 Or _org.eclipse.persistence.jpa.osgi.PersistenceProvider_.
@@ -118,12 +118,12 @@ automatically set by OpenEJB to
 _org.apache.openejb.eclipselink.JTATransactionController_.  If the property
 is already set in the persistence unit it will be overwritten if it starts
 with the standard "org.eclipse.persistence.transaction." prefix.  
-    
+
 Custom transaction controller implementations will never be overwritten.
-    
+
 #### Provider org.apache.openjpa.persistence.PersistenceProviderImpl
-    
+
 OpenJPA is capable of discovering the correct method for locating the
 TransactionManager without the need for users to specify the specific
 strategy.  Therefore no specific "magic" is required.
-    
+

Modified: openejb/site/trunk/content/getting-started.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/getting-started.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/getting-started.mdtext (original)
+++ openejb/site/trunk/content/getting-started.mdtext Mon Jul 11 03:37:05 2011
@@ -1,5 +1,5 @@
 Title: Getting Started
-## &nbsp;The following instructions are written using Eclipse 3.2. We will
+##The following instructions are written using Eclipse 3.2. We will
 refer to the install location of OpenEJB as OPENEJB_HOME
 
 Here are some basic steps you need to perform to get started with OpenEJB
@@ -15,28 +15,27 @@ Here are some basic steps you need to pe
 > 
 
 <a name="GettingStarted-&nbsp;1.DownloadandInstallOpenEJB"></a>
-## &nbsp;1. Download and Install OpenEJB
+##1. Download and Install OpenEJB
 
 Follow these&nbsp;[instructions](http://cwiki.apache.org/confluence/display/OPENEJB/Quickstart)
 
 <a name="GettingStarted-&nbsp;2.Setupyourdevelopmentenvironment"></a>
-## &nbsp;2. Setup your development environment
+##2. Setup your development environment
 
 
 <a name="GettingStarted-&nbsp;Eclipse"></a>
-### &nbsp;Eclipse
+###Eclipse
 
-1. Open eclipse and create a new java project. Name it EJBProject
-1. Add the following jars to the build path of your project
-1. # OPENEJB_HOME/lib/geronimo-ejb_3.0_spec-1.0.jar
-1. Now create another project named EJBClient. This is where we will write a
-test client
-1. Add the following jars to the build path of this project
-1. # OPENEJB_HOME/lib/openejb-client-3.0.0-SNAPSHOT.jar
-1. Add the EJBProject to the classpath of the EJBClient project
+- Open eclipse and create a new java project. Name it EJBProject
+- Add the following jars to the build path of your project
+-- OPENEJB_HOME/lib/geronimo-ejb_3.0_spec-1.0.jar
+- Now create another project named EJBClient. This is where we will write a test client
+- Add the following jars to the build path of this project
+-- OPENEJB_HOME/lib/openejb-client-3.0.0-SNAPSHOT.jar
+- Add the EJBProject to the classpath of the EJBClient project
 
 <a name="GettingStarted-&nbsp;3.StarttheServer"></a>
-## &nbsp;3. Start the Server
+##3. Start the Server
 
 Open the command prompt and run the following command:
 
@@ -49,20 +48,20 @@ You will get the following message on th
     http://openejb.apache.org/
     OpenEJB ready.
     [OPENEJB:init]
- OpenEJB Remote Server
-      ** Starting Services **
-      NAME		       IP	       PORT
-      httpejbd	       0.0.0.0	       4204
-      admin thread	       0.0.0.0	       4200
-      ejbd		       0.0.0.0	       4201
-      hsql		       0.0.0.0	       9001
-      telnet	       0.0.0.0	       4202
-    -------
-    Ready!
+     OpenEJB Remote Server
+          ** Starting Services **
+          NAME		       IP	       PORT
+          httpejbd	       0.0.0.0	       4204
+          admin thread	       0.0.0.0	       4200
+          ejbd		       0.0.0.0	       4201
+          hsql		       0.0.0.0	       9001
+          telnet	       0.0.0.0	       4202
+        -------
+        Ready!
 
 
 <a name="GettingStarted-&nbsp;4.WriteanEJB"></a>
-## &nbsp;4. Write an EJB
+##4. Write an EJB
 
 In the EJB project create a new interface named Greeting
 
@@ -93,7 +92,7 @@ interface (shown below)
 
 
 <a name="GettingStarted-&nbsp;5.DeploytheEJB"></a>
-## &nbsp; 5. Deploy the EJB
+## 5. Deploy the EJB
 
 1. Export the EJBProject as a jar file. Name it greeting.jar and put it in
 the OPENEJB_HOME/apps directory.
@@ -110,8 +109,7 @@ This should give you the following outpu
     
     App(id=D:\openejb-3.0.0-SNAPSHOT\apps\greeting.jar)
     
-        EjbJar(id=greeting.jar,
-path=D:\openejb-3.0.0-SNAPSHOT\apps\greeting.jar)
+        EjbJar(id=greeting.jar, path=D:\openejb-3.0.0-SNAPSHOT\apps\greeting.jar)
     
     	Ejb(ejb-name=GreetingBean, id=GreetingBean)
     
@@ -122,7 +120,7 @@ Keep this handy as this is the JNDI name
 use for lookup{*}{color}
 
 <a name="GettingStarted-&nbsp;6.WritetheClient"></a>
-## &nbsp;6. Write the Client
+##6. Write the Client
 
 In the EJBClient project, create a class named Client (shown below)
 
@@ -134,27 +132,25 @@ In the EJBClient project, create a class
     import java.util.Properties;
     
     public class Client {
-        public static void main(String[]
- args) {
+        public static void main(String[] args) {
     
-    	try {
-    	    Properties p = new Properties();
-    	    p.put("java.naming.factory.initial",
-"org.openejb.client.RemoteInitialContextFactory");
-    	    p.put("java.naming.provider.url", "ejbd://127.0.0.1:4201");
-    	    InitialContext ctx = new InitialContext(p);
-    	    Greeting greeter = (Greeting) ctx.lookup("GreetingBeanRemote");
-    	    String message = greeter.greet();
-    	    System.out.println(message);
-    	} catch (Exception e) {
-    	    e.printStackTrace();
-    	}
+            try {
+                Properties p = new Properties();
+                p.put("java.naming.factory.initial", "org.openejb.client.RemoteInitialContextFactory");
+                p.put("java.naming.provider.url", "ejbd://127.0.0.1:4201");
+                InitialContext ctx = new InitialContext(p);
+                Greeting greeter = (Greeting) ctx.lookup("GreetingBeanRemote");
+                String message = greeter.greet();
+                System.out.println(message);
+            } catch (Exception e) {
+                e.printStackTrace();
+            }
         }
     }
 
 
 <a name="GettingStarted-&nbsp;7.RuntheClient"></a>
-## &nbsp;7. Run the Client
+##7. Run the Client
 
 Open Client.java in eclipse and run it as a java application. You should
 see the following message in the console view:
@@ -163,7 +159,7 @@ see the following message in the console
 
 
 <a name="GettingStarted-&nbsp;8.Stoptheserver"></a>
-## &nbsp;8. Stop the server
+##8. Stop the server
 
 There are two ways to stop the server:
 1. You can press Ctrl+c on the command prompt to stop the server

Modified: openejb/site/trunk/content/javaagent.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/javaagent.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/javaagent.mdtext (original)
+++ openejb/site/trunk/content/javaagent.mdtext Mon Jul 11 03:37:05 2011
@@ -19,50 +19,44 @@ provider or if using CMP.
 In maven2 you can enable the javaagent for your tests by adding this to
 your pom.xml file:
 
-
     <build>
       <plugins>
-        <!-- this configures the surefire plugin to run your tests with the
-javaagent enabled -->
+        <!-- this configures the surefire plugin to run your tests with the javaagent enabled -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
           <configuration>
-    	<forkMode>pertest</forkMode>
-           
-<argLine>-javaagent:${basedir}/target/openejb-javaagent-3.0-beta-2.jar</argLine>
-    	<workingDirectory>${basedir}/target</workingDirectory>
+            <forkMode>pertest</forkMode>
+            <argLine>-javaagent:${basedir}/target/openejb-javaagent-3.0-beta-2.jar</argLine>
+            <workingDirectory>${basedir}/target</workingDirectory>
           </configuration>
         </plugin>
-    
-        <!-- this tells maven to copy the openejb-javaagent jar into your
-target/ directory -->
+
+        <!-- this tells maven to copy the openejb-javaagent jar into your target/ directory -->
         <!-- where surefire can see it -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-dependency-plugin</artifactId>
           <executions>
-    	<execution>
-    	  <id>copy</id>
-    	  <phase>process-resources</phase>
-    	  <goals>
-    	    <goal>copy</goal>
-    	  </goals>
-    	  <configuration>
-    	    <artifactItems>
-    	      <artifactItem>
-    		<groupId>org.apache.openejb</groupId>
-    		<artifactId>openejb-javaagent</artifactId>
-    		<version>3.0-beta-2</version>
-    	       
-<outputDirectory>${project.build.directory}</outputDirectory>
-    	      </artifactItem>
-    	    </artifactItems>
-    	  </configuration>
-    	</execution>
+            <execution>
+              <id>copy</id>
+              <phase>process-resources</phase>
+              <goals>
+                <goal>copy</goal>
+              </goals>
+              <configuration>
+                <artifactItems>
+                  <artifactItem>
+                    <groupId>org.apache.openejb</groupId>
+                    <artifactId>openejb-javaagent</artifactId>
+                    <version>3.0-beta-2</version>
+                    <outputDirectory>${project.build.directory}</outputDirectory>
+                  </artifactItem>
+                </artifactItems>
+              </configuration>
+            </execution>
           </executions>
         </plugin>
-    
+
       </plugins>
     </build>
-

Modified: openejb/site/trunk/content/local-client-injection.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/local-client-injection.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/local-client-injection.mdtext (original)
+++ openejb/site/trunk/content/local-client-injection.mdtext Mon Jul 11 03:37:05 2011
@@ -47,8 +47,7 @@ in the instantiated local client object:
     
         public void setUp() throws Exception {
     	Properties p = new Properties();
-    	p.put(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.LocalInitialContextFactory");
+    	p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
     	InitialContext initialContext = new InitialContext(p);
     	initialContext.bind("inject", this);
         }

Modified: openejb/site/trunk/content/logging.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/logging.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/logging.mdtext (original)
+++ openejb/site/trunk/content/logging.mdtext Mon Jul 11 03:37:05 2011
@@ -42,39 +42,30 @@ org.apache.openejb.util.LogCategory inst
 class looks like
 
     public final class LogCategory {
-    	private final String name;
-    	public static final LogCategory OPENEJB = new LogCategory(
-"OpenEJB");
-    	public static final LogCategory OPENEJB_ADMIN =
-OPENEJB.createChild("admin");
-    	public static final LogCategory OPENEJB_STARTUP =
-OPENEJB.createChild("startup");
-    	public static final LogCategory OPENEJB_STARTUP_CONFIG =
-OPENEJB_STARTUP.createChild("config");
-    	public static final LogCategory OPENEJB_STARTUP_VALIDATION =
-OPENEJB_STARTUP.createChild("validation");
+      private final String name;
+      public static final LogCategory OPENEJB = new LogCategory( "OpenEJB");
+      public static final LogCategory OPENEJB_ADMIN = OPENEJB.createChild("admin");
+      public static final LogCategory OPENEJB_STARTUP = OPENEJB.createChild("startup");
+      public static final LogCategory OPENEJB_STARTUP_CONFIG = OPENEJB_STARTUP.createChild("config");
+      public static final LogCategory OPENEJB_STARTUP_VALIDATION = OPENEJB_STARTUP.createChild("validation");
            // other categories removed for code brevity
-    	private LogCategory(String name){
-    		this.name = name;
-    	}
-    	public String getName() {
-    		return name;
-    	}
-    	/**
-    	 * Creates a child category of this category. <B>Use this method
-sparingly</B>. This method is to be used in only those circumstances where
-the name of the
-    	 * category is not known upfront and is a derived name. If you know
-the name of the category, it is highly recommended to add a static final
-field
-    	 * of type LogCategory in this class
-    	 * @param child
-    	 * @return - LogCategory
-    	 */
-    	public LogCategory createChild(String child){
-    		return new LogCategory(this.name+"."+child);
-    	}
-    
+      private LogCategory(String name){
+        this.name = name;
+      }
+      public String getName() {
+        return name;
+      }
+      /**
+       * Creates a child category of this category. <B>Use this method sparingly</B>. This method is to be used in only those circumstances where the name of the
+       * category is not known upfront and is a derived name. If you know the name of the category, it is highly recommended to add a static final field
+       * of type LogCategory in this class
+       * @param child
+       * @return - LogCategory
+       */
+      public LogCategory createChild(String child){
+        return new LogCategory(this.name+"."+child);
+      }
+
     }
 
 Notice carefully how each LogCategory instance is created.&nbsp; The
@@ -84,8 +75,7 @@ category upfront, simply open the LogCat
 category. For example, if you needed to add a category named SHUTDOWN, here
 is the recommended way to add it
 
-    public static final LogCategory OPENEJB_SHUTDOWN =
-LogCategory.OPENEJB.createChild("shutdown");
+    public static final LogCategory OPENEJB_SHUTDOWN = LogCategory.OPENEJB.createChild("shutdown");
 
 Sometimes you may want to create a category whose name is "generated" at
 runtime. In that case you can use the "createChild" method of the

Modified: openejb/site/trunk/content/management-and-voting.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/management-and-voting.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/management-and-voting.mdtext (original)
+++ openejb/site/trunk/content/management-and-voting.mdtext Mon Jul 11 03:37:05 2011
@@ -68,8 +68,7 @@ community are significant to the project
 cause for pause and discussion.  We frequently encourage and welcome votes
 from anyone in the community regardless of status.
 
-## Q. Voting on people: Is it hard to vote -1 in public / Can someone get
-their feelings hurt ?
+## Q. Voting on people: Is it hard to vote -1 in public / Can someone get their feelings hurt ?
 
 Yes and yes.  Voting in public requires greater care and sensitivity on
 behalf of everyone; the vote proposer, the voters, and the votee.  Prior to

Modified: openejb/site/trunk/content/remote-server.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/remote-server.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/remote-server.mdtext (original)
+++ openejb/site/trunk/content/remote-server.mdtext Mon Jul 11 03:37:05 2011
@@ -40,8 +40,7 @@ Create an initial context in your client
 
 
     Properties p = new Properties();
-    p.put("java.naming.factory.initial",
-"org.apache.openejb.client.RemoteInitialContextFactory");
+    p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory");
     p.put("java.naming.provider.url", "ejbd://25.14.3.92:4201");
     p.put("java.naming.security.principal", "myuser");
     p.put("java.naming.security.credentials", "mypass");

Modified: openejb/site/trunk/content/security.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/security.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/security.mdtext (original)
+++ openejb/site/trunk/content/security.mdtext Mon Jul 11 03:37:05 2011
@@ -13,13 +13,12 @@ your InitialContext with the standard ja
 user/pass info, which is:
 
     Properties props = new Properties();
-    props.setProperty(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.RemoteInitialContextFactory");
+    props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.RemoteInitialContextFactory");
     props.setProperty(Context.PROVIDER_URL, "ejbd://localhost:4201");
     props.setProperty(Context.SECURITY_PRINCIPAL, "someuser");
     props.setProperty(Context.SECURITY_CREDENTIALS, "thepass");
     props.setProperty("openejb.authentication.realmName", "PropertiesLogin");
-// optional
+    // optional
     InitialContext ctx = new InitialContext(props);
     ctx.lookup(...);
 

Modified: openejb/site/trunk/content/testcase-with-testbean-inner-class.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/testcase-with-testbean-inner-class.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/testcase-with-testbean-inner-class.mdtext (original)
+++ openejb/site/trunk/content/testcase-with-testbean-inner-class.mdtext Mon Jul 11 03:37:05 2011
@@ -33,13 +33,11 @@ the EJB to pass the required resources t
        @Override
        protected void setUp() throws Exception {
            Properties p = new Properties();
-           p.put(Context.INITIAL_CONTEXT_FACTORY,
-"org.apache.openejb.client.LocalInitialContextFactory");
+           p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
            // set any other properties
     
            InitialContext initialContext = new InitialContext(p);
-           TestLocal testLocal = (TestLocal)
-initialContext.lookup("TestBeanLocal");
+           TestLocal testLocal = (TestLocal) initialContext.lookup("TestBeanLocal");
     
            entityManager = testLocal.getEntityManager();
            userTransaction = testLocal.getUserTransaction();

Modified: openejb/site/trunk/content/time-saved.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/time-saved.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/time-saved.mdtext (original)
+++ openejb/site/trunk/content/time-saved.mdtext Mon Jul 11 03:37:05 2011
@@ -9,11 +9,9 @@ for you!
 
 <a name="TimeSaved-Calculator"></a>
 # Calculator
-{html}
-<script type="text/javascript"
-src="http://prototypejs.org/assets/2010/4/1/prototype.js"></script>
+<script type="text/javascript" src="http://prototypejs.org/assets/2010/4/1/prototype.js"></script>
 <script>
-  
+
   function calculate() {
     var developers = $("devs").getValue();
     var cycles = $("cycles").getValue();
@@ -21,116 +19,71 @@ src="http://prototypejs.org/assets/2010/
 
     var individual_deployTime_openejb = $("time_openejb").getValue();
     var individual_deployTime_vendor = $("time_vendor").getValue();
-    var individual_deployTime_savings = individual_deployTime_vendor -
-individual_deployTime_openejb;
+    var individual_deployTime_savings = individual_deployTime_vendor - individual_deployTime_openejb;
+
+    var individual_deployTimePerHour_openejb = cycles * individual_deployTime_openejb / 8;
+    var individual_deployTimePerHour_vendor =  cycles * individual_deployTime_vendor / 8;
+    var individual_deployTimePerHour_savings = individual_deployTimePerHour_vendor - individual_deployTimePerHour_openejb;
+
+    var individual_deployTimePerWeek_openejb = individual_deployTimePerHour_openejb * 40;
+    var individual_deployTimePerWeek_vendor = individual_deployTimePerHour_vendor * 40;
+    var individual_deployTimePerWeek_savings = individual_deployTimePerWeek_vendor - individual_deployTimePerWeek_openejb;
 
-    var individual_deployTimePerHour_openejb = cycles *
-individual_deployTime_openejb / 8;
-    var individual_deployTimePerHour_vendor =  cycles *
-individual_deployTime_vendor / 8;
-    var individual_deployTimePerHour_savings =
-individual_deployTimePerHour_vendor - individual_deployTimePerHour_openejb;
-
-    var individual_deployTimePerWeek_openejb =
-individual_deployTimePerHour_openejb * 40;
-    var individual_deployTimePerWeek_vendor =
-individual_deployTimePerHour_vendor * 40;
-    var individual_deployTimePerWeek_savings =
-individual_deployTimePerWeek_vendor - individual_deployTimePerWeek_openejb;
-
-    var individual_deployTimePerMonth_openejb =
-individual_deployTimePerWeek_openejb * 4.33;
-    var individual_deployTimePerMonth_vendor =
-individual_deployTimePerWeek_vendor * 4.33;
-    var individual_deployTimePerMonth_savings =
-individual_deployTimePerMonth_vendor -
-individual_deployTimePerMonth_openejb;
+    var individual_deployTimePerMonth_openejb = individual_deployTimePerWeek_openejb * 4.33;
+    var individual_deployTimePerMonth_vendor = individual_deployTimePerWeek_vendor * 4.33;
+    var individual_deployTimePerMonth_savings = individual_deployTimePerMonth_vendor - individual_deployTimePerMonth_openejb;
 
-    var team_deployTime_openejb = developers *
-individual_deployTime_openejb;
+    var team_deployTime_openejb = developers * individual_deployTime_openejb;
     var team_deployTime_vendor = developers * individual_deployTime_vendor;
-    var team_deployTime_savings = developers *
-individual_deployTime_savings;
+    var team_deployTime_savings = developers * individual_deployTime_savings;
 
-    var team_deployTimePerHour_openejb = developers *
-individual_deployTimePerHour_openejb;
-    var team_deployTimePerHour_vendor = developers *
-individual_deployTimePerHour_vendor;
-    var team_deployTimePerHour_savings = developers *
-individual_deployTimePerHour_savings;
-
-    var team_deployTimePerWeek_openejb = developers *
-individual_deployTimePerWeek_openejb;
-    var team_deployTimePerWeek_vendor = developers *
-individual_deployTimePerWeek_vendor;
-    var team_deployTimePerWeek_savings = developers *
-individual_deployTimePerWeek_savings;
-
-    var team_deployTimePerMonth_openejb = developers *
-individual_deployTimePerMonth_openejb;
-    var team_deployTimePerMonth_vendor = developers *
-individual_deployTimePerMonth_vendor;
-    var team_deployTimePerMonth_savings = developers *
-individual_deployTimePerMonth_savings;
+    var team_deployTimePerHour_openejb = developers * individual_deployTimePerHour_openejb;
+    var team_deployTimePerHour_vendor = developers * individual_deployTimePerHour_vendor;
+    var team_deployTimePerHour_savings = developers * individual_deployTimePerHour_savings;
+
+    var team_deployTimePerWeek_openejb = developers * individual_deployTimePerWeek_openejb;
+    var team_deployTimePerWeek_vendor = developers * individual_deployTimePerWeek_vendor;
+    var team_deployTimePerWeek_savings = developers * individual_deployTimePerWeek_savings;
+
+    var team_deployTimePerMonth_openejb = developers * individual_deployTimePerMonth_openejb;
+    var team_deployTimePerMonth_vendor = developers * individual_deployTimePerMonth_vendor;
+    var team_deployTimePerMonth_savings = developers * individual_deployTimePerMonth_savings;
 
     var total_savings = team_deployTimePerWeek_savings * weeks;
-    
-    $("individual.deployTime.openejb").innerHTML =
-format(individual_deployTime_openejb);
-    $("individual.deployTime.vendor").innerHTML =
-format(individual_deployTime_vendor);
-    $("individual.deployTime.savings").innerHTML =
-format(individual_deployTime_savings);
-
-    $("individual.deployTimePerHour.openejb").innerHTML =
-format(individual_deployTimePerHour_openejb);
-    $("individual.deployTimePerHour.vendor").innerHTML =
-format(individual_deployTimePerHour_vendor);
-    $("individual.deployTimePerHour.savings").innerHTML =
-format(individual_deployTimePerHour_savings);
-
-    $("individual.deployTimePerWeek.openejb").innerHTML =
-format(individual_deployTimePerWeek_openejb);
-    $("individual.deployTimePerWeek.vendor").innerHTML =
-format(individual_deployTimePerWeek_vendor);
-    $("individual.deployTimePerWeek.savings").innerHTML =
-format(individual_deployTimePerWeek_savings);
-
-    $("individual.deployTimePerMonth.openejb").innerHTML =
-format(individual_deployTimePerMonth_openejb);
-    $("individual.deployTimePerMonth.vendor").innerHTML =
-format(individual_deployTimePerMonth_vendor);
-    $("individual.deployTimePerMonth.savings").innerHTML =
-format(individual_deployTimePerMonth_savings);
 
-    $("team.deployTime.openejb").innerHTML =
-format(team_deployTime_openejb);
+    $("individual.deployTime.openejb").innerHTML = format(individual_deployTime_openejb);
+    $("individual.deployTime.vendor").innerHTML = format(individual_deployTime_vendor);
+    $("individual.deployTime.savings").innerHTML = format(individual_deployTime_savings);
+
+    $("individual.deployTimePerHour.openejb").innerHTML = format(individual_deployTimePerHour_openejb);
+    $("individual.deployTimePerHour.vendor").innerHTML = format(individual_deployTimePerHour_vendor);
+    $("individual.deployTimePerHour.savings").innerHTML = format(individual_deployTimePerHour_savings);
+
+    $("individual.deployTimePerWeek.openejb").innerHTML = format(individual_deployTimePerWeek_openejb);
+    $("individual.deployTimePerWeek.vendor").innerHTML = format(individual_deployTimePerWeek_vendor);
+    $("individual.deployTimePerWeek.savings").innerHTML = format(individual_deployTimePerWeek_savings);
+
+    $("individual.deployTimePerMonth.openejb").innerHTML = format(individual_deployTimePerMonth_openejb);
+    $("individual.deployTimePerMonth.vendor").innerHTML = format(individual_deployTimePerMonth_vendor);
+    $("individual.deployTimePerMonth.savings").innerHTML = format(individual_deployTimePerMonth_savings);
+
+    $("team.deployTime.openejb").innerHTML = format(team_deployTime_openejb);
     $("team.deployTime.vendor").innerHTML = format(team_deployTime_vendor);
-    $("team.deployTime.savings").innerHTML =
-format(team_deployTime_savings);
-    $("team.deployTimePerHour.openejb").innerHTML =
-format(team_deployTimePerHour_openejb);
-    $("team.deployTimePerHour.vendor").innerHTML =
-format(team_deployTimePerHour_vendor);
-    $("team.deployTimePerHour.savings").innerHTML =
-format(team_deployTimePerHour_savings);
-    $("team.deployTimePerWeek.openejb").innerHTML =
-format(team_deployTimePerWeek_openejb);
-    $("team.deployTimePerWeek.vendor").innerHTML =
-format(team_deployTimePerWeek_vendor);
-    $("team.deployTimePerWeek.savings").innerHTML =
-format(team_deployTimePerWeek_savings);
-    $("team.deployTimePerMonth.openejb").innerHTML =
-format(team_deployTimePerMonth_openejb);
-    $("team.deployTimePerMonth.vendor").innerHTML =
-format(team_deployTimePerMonth_vendor);
-    $("team.deployTimePerMonth.savings").innerHTML =
-format(team_deployTimePerMonth_savings);
+    $("team.deployTime.savings").innerHTML = format(team_deployTime_savings);
+    $("team.deployTimePerHour.openejb").innerHTML = format(team_deployTimePerHour_openejb);
+    $("team.deployTimePerHour.vendor").innerHTML = format(team_deployTimePerHour_vendor);
+    $("team.deployTimePerHour.savings").innerHTML = format(team_deployTimePerHour_savings);
+    $("team.deployTimePerWeek.openejb").innerHTML = format(team_deployTimePerWeek_openejb);
+    $("team.deployTimePerWeek.vendor").innerHTML = format(team_deployTimePerWeek_vendor);
+    $("team.deployTimePerWeek.savings").innerHTML = format(team_deployTimePerWeek_savings);
+    $("team.deployTimePerMonth.openejb").innerHTML = format(team_deployTimePerMonth_openejb);
+    $("team.deployTimePerMonth.vendor").innerHTML = format(team_deployTimePerMonth_vendor);
+    $("team.deployTimePerMonth.savings").innerHTML = format(team_deployTimePerMonth_savings);
 
     $("totalSavings").innerHTML = longFormat(total_savings);
 
   }
-  
+
   function format(secs) {
     var mins = Math.floor(secs / 60)
     secs = secs % 60;
@@ -194,21 +147,17 @@ format(team_deployTimePerMonth_savings);
   </tr>
   <tr>
     <td><strong>Time to start/deploy your app in OpenEJB?</strong></td>
-    <td><input id="time_openejb" value="0" type="text" size="5"/>
-<i>seconds</i></td>
+    <td><input id="time_openejb" value="0" type="text" size="5"/> <i>seconds</i></td>
   </tr>
   <tr>
-    <td><strong>Time to start/deploy your app in your other
-platform?</strong></td>
-    <td><input id="time_vendor" value="0" type="text" size="5"/>
-<i>seconds</i></td>
+    <td><strong>Time to start/deploy your app in your other platform?</strong></td>
+    <td><input id="time_vendor" value="0" type="text" size="5"/> <i>seconds</i></td>
   </tr>
   <tr>
     <td colspan="2" align="center">&nbsp;</td>
   </tr>
   <tr>
-    <td colspan="2" align="center"><input type="button" id="calculate"
-value="Calculate" onclick="calculate();"/></td>
+    <td colspan="2" align="center"><input type="button" id="calculate" value="Calculate" onclick="calculate();"/></td>
   </tr>
 </table>
 
@@ -294,4 +243,3 @@ value="Calculate" onclick="calculate();"
 <h3>Total Savings</h3>
 
 <p><span  id="totalSavings"></span></p>
-{html}

Modified: openejb/site/trunk/content/understanding-callbacks.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/understanding-callbacks.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/understanding-callbacks.mdtext (original)
+++ openejb/site/trunk/content/understanding-callbacks.mdtext Mon Jul 11 03:37:05 2011
@@ -11,35 +11,35 @@ AroundInvoke method and so on.
 So the following is legal.
 
 
-        public class Plant {
-    	@AroundInvoke
-    	public Object a(InvocationContext ctx) throws Exception {
-    	    return ctx.proceed();
-    	}
-        }
-    
-        public class Fruit extends Plant {
-    	@AroundInvoke
-    	public Object b(InvocationContext ctx) throws Exception {
-    	    return ctx.proceed();
-    	}
-        }
-    
-        @Stateless
-        public class Apple extends Fruit implements AppleLocal {
-    	@AroundInvoke
-    	public Object c(InvocationContext ctx) throws Exception {
-    	    return ctx.proceed();
-    	}
-    
-    	public String grow(){
-    	    return "ready to pick";
-    	}
-        }
-    
-        public interface AppleLocal {
-    	public String grow();
+    public class Plant {
+        @AroundInvoke
+        public Object a(InvocationContext ctx) throws Exception {
+            return ctx.proceed();
         }
+    }
+
+    public class Fruit extends Plant {
+        @AroundInvoke
+        public Object b(InvocationContext ctx) throws Exception {
+            return ctx.proceed();
+        }
+    }
+
+    @Stateless
+    public class Apple extends Fruit implements AppleLocal {
+        @AroundInvoke
+        public Object c(InvocationContext ctx) throws Exception {
+            return ctx.proceed();
+        }
+
+        public String grow(){
+            return "ready to pick";
+        }
+    }
+
+    public interface AppleLocal {
+        public String grow();
+    }
 
 
 The result is that when the "grow" method on AppleLocal (and consequently
@@ -52,24 +52,24 @@ parent class by simply overriding the me
 around invoke with a slightly different version of Apple as follows:
 
 
-        @Stateless
-        public class Apple extends Fruit implements AppleLocal {
-    
-    	// This will now never be called.
-    	public Object a(InvocationContext ctx) throws Exception {
-    	    return null;
-    	}
-    
-    	@AroundInvoke
-    	public Object c(InvocationContext ctx) throws Exception {
-    	    return ctx.proceed();
-    	}
-    
-    	public String grow(){
-    	    return "ready to pick";
-    	}
+    @Stateless
+    public class Apple extends Fruit implements AppleLocal {
+
+        // This will now never be called.
+        public Object a(InvocationContext ctx) throws Exception {
+            return null;
+        }
+
+        @AroundInvoke
+        public Object c(InvocationContext ctx) throws Exception {
+            return ctx.proceed();
         }
 
+        public String grow(){
+            return "ready to pick";
+        }
+    }
+
 
 The result of this is that when the "grow" method on AppleLocal is invoked,
 the container will first invoke the AroundInvoke methods "b" then "c"
@@ -80,12 +80,9 @@ mean that they cannot be exposed to clie
 interface.  The following would be illegal.
 
 
-        public interface AppleLocal {
-    	public String grow();
-    
-    	// This is an AroundInvoke method in the bean class, not a legal
-business method!
-    	public Object c(InvocationContext ctx) throws Exception;
-        }
-
+    public interface AppleLocal {
+        public String grow();
 
+        // This is an AroundInvoke method in the bean class, not a legal business method!
+        public Object c(InvocationContext ctx) throws Exception;
+    }

Modified: openejb/site/trunk/content/understanding-the-directory-layout.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/understanding-the-directory-layout.mdtext?rev=1145017&r1=1145016&r2=1145017&view=diff
==============================================================================
--- openejb/site/trunk/content/understanding-the-directory-layout.mdtext (original)
+++ openejb/site/trunk/content/understanding-the-directory-layout.mdtext Mon Jul 11 03:37:05 2011
@@ -1,21 +1,19 @@
 Title: Understanding the Directory Layout
 When freshly unpacked, OpenEJB will look like this:
 
-{panel}
- openejb-3.0/
- openejb-3.0/logs/
- openejb-3.0/apps/
- openejb-3.0/lib/
- openejb-3.0/lib/_<several jars>_
- openejb-3.0/LICENSE.txt
- openejb-3.0/NOTICE.txt
- openejb-3.0/README.txt
- openejb-3.0/bin/
- openejb-3.0/bin/openejb.bat
- openejb-3.0/bin/openejb
- openejb-3.0/conf/
- openejb-3.0/conf/README.txt
-{panel}
+    openejb-3.0/
+    openejb-3.0/logs/
+    openejb-3.0/apps/
+    openejb-3.0/lib/
+    openejb-3.0/lib/_<several jars>_
+    openejb-3.0/LICENSE.txt
+    openejb-3.0/NOTICE.txt
+    openejb-3.0/README.txt
+    openejb-3.0/bin/
+    openejb-3.0/bin/openejb.bat
+    openejb-3.0/bin/openejb
+    openejb-3.0/conf/
+    openejb-3.0/conf/README.txt
 
 <a name="UnderstandingtheDirectoryLayout-Directories"></a>
 # Directories
@@ -65,8 +63,7 @@ be created:
         admin.properties	       (network socket for administration)
         ejbd.properties	       (network socket for ejb invocations)
         hsql.properties	       (network socket for hsql client access)
-        httpejbd.properties        (network socket for ejb invocations over
-http)
+        httpejbd.properties        (network socket for ejb invocations over http)
         telnet.properties	       (network socket for telnet "server")