Table of Contents
Before trying to run the examples, the requirements in order to compile and run EasyBeans have to be followed.
The ant tool is used to build the
examples. This time, the build.xml
file that is
used is located in the examples
directory.
The command ant
install_all_examples
needs to be launched in the
examples
directory :
Buildfile: /home/benoitf/workspace/easybeans/examples/build.xml install_all_examples: init: [mkdir] Created dir: /home/benoitf/workspace/easybeans/output/dist/clients [mkdir] Created dir: /home/benoitf/workspace/easybeans/output/dist/ejbjars [mkdir] Created dir: /home/benoitf/workspace/easybeans/clients compile: [javac] Compiling 5 source files to /home/benoitf/workspace/easybeans/output/classes install.persistence: install: [copy] Copying 4 files to /home/benoitf/workspace/easybeans/ejb3s/stateless.jar [jar] Building jar: /home/benoitf/workspace/easybeans/clients/client-stateless.jar init: compile: [javac] Compiling 3 source files to /home/benoitf/workspace/easybeans/output/classes install.persistence: install: [copy] Copying 2 files to /home/benoitf/workspace/easybeans/ejb3s/stateful.jar [jar] Building jar: /home/benoitf/workspace/easybeans/clients/client-stateful.jar init: compile: [javac] Compiling 4 source files to /home/benoitf/workspace/easybeans/output/classes install.persistence: [mkdir] Created dir: /home/benoitf/workspace/easybeans/ejb3s/entitybean.jar/META-INF [copy] Copying 1 file to /home/benoitf/workspace/easybeans/ejb3s/entitybean.jar/META-INF install: [copy] Copying 4 files to /home/benoitf/workspace/easybeans/ejb3s/entitybean.jar [jar] Building jar: /home/benoitf/workspace/easybeans/clients/client-entitybean.jar BUILD SUCCESSFUL Total time: 4 secondsThe examples are copied under the
ejb3s/
folder of the project and are
available for the deployment.
![]() | Note |
---|---|
If EasyBeans server is running, it will detect these new applications and deploy them automatically. |