USING JUMPSTART IN JBOSS 7.1.1

These notes apply to JBoss 7.1.1. They were tested with JumpStart 6.9.0.

Contents
Prepare JBoss
Build and deploy JumpStart
Build and deploy and integration test JumpStart
Use JumpStart
How to run integration tests from Eclipse
How to debug the client side
How to debug the server side

Prepare JBoss
These instructions prepare JBoss with the following elements:

Web Server Business Server Persistence Database Server Logger
Tomcat JBoss's EJB3 Hibernate H2 Log4j
(JBoss's default) (JBoss's default) (JBoss's default) (JBoss's default) (JBoss's default)

Build and deploy JumpStart

Here we use Ant to clean, compile, unit test, package, deploy to the server, and wait for it to load.
The deployed package is jumpstart.ear.

Build and deploy and integration test JumpStart

Here we use Ant to clean, compile, unit test, package, deploy to the server, wait for it to load, and run the business integration test suite.
The deployed package is jumpstart.ear. The tests remotely call the JumpStart business layer services exposed by the server.

Use JumpStart

Ensure the command line is using Java 7: the commands java -version and javac -version must return a variant of 1.7, eg. 1.7.0_21.

If JBoss is running, stop it (Ctrl-C).

Before you use JumpStart for the first time in a new server, you need to build it, deploy it, and run the integration tests.

Populate the H2 Database within JBoss with data. H2 provides a handy console to edit the database:

Now you can visit JumpStart with your web browser at http://yourserver:8080/jumpstart.

How to run integration tests from Eclipse

First, build and deploy JumpStart as described above.

Second, create a User Library over JBoss:

 












©2008, 2012 Geoff Callender, Sydney, Australia