summaryrefslogtreecommitdiffstats
path: root/Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README')
-rw-r--r--Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README52
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README b/Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README
new file mode 100644
index 0000000..1990c66
--- /dev/null
+++ b/Master/Reference Architectures and Patterns/EJB 3.0 Code/Micah Examples/README
@@ -0,0 +1,52 @@
+--------------------------------------------
+Building, deploying and running the examples
+--------------------------------------------
+1) Make sure you have a JDK 1.5.x installed,
+ a GlassFish v1 b.48 (or greater) installed,
+ and ANT installed.
+
+ See: https://glassfish.dev.java.net/
+ http://java.sun.com
+ http://ant.apache.org/
+
+2) Set the JAVA_HOME and GLASSFISH_HOME environment
+ appropriately.
+
+3) Setup Glassfish according to the installation
+ instructions.
+
+4) Start embedded Derby database and the Glassfish
+ app server.
+
+ cd <GLASSFISH_HOME>/bin
+ ./asadmin.bat start-database
+ ./asadmin.bat start-domain domain1
+
+5) Executing the following will build and deploy the
+ sample applications.
+
+ cd src/example/stateless
+ ant
+
+ cd src/examples/stateful
+ ant
+
+ cd src/examples/entity
+ ant
+
+ In each case, watch the GlassFish log to see that the applications
+ are deployed properly.
+
+6) Executing the following will run each of the sample clients to
+ exercise the samples applications.
+
+ cd src/examples/stateless
+ ant run
+
+ cd src/examples/stateful
+ ant run
+
+ cd src/examples/entity
+ ant run
+
+If you need help, please email Micah Silverman at: ejb3@MPowerIT.com