Jumping Into JBoss
Example Application
To help you further investigate JBoss, an example application called RotMachine is included with this article. See the Resources section below for a link.
RotMachine is a simple J2EE application that includes an EJB (stateless session bean), a web client, and a command-line client. It was built using the JBoss project template, so you will want to get the additional tools listed in the Tools section above.
To install the RotMachine source, unzip the archive file to a directory of your choice.
To build and deploy RotMachine:
-
Windows:
- Open an MS-DOS Prompt window or Command Prompt windows.
- cd (RotMachine install dir.)
- ant deploy-server
Unix:
- Open a shell.
- cd (RotMachine install dir.)
- ant deploy-server
To test RotMachine using the command-line client:
Windows:
- cd build\bin
- run-client
Unix:
- cd build/bin
- ./run-client.sh
To test RotMachine using the web client:
- Open your browser and go to "http://localhost:8080/rotmachine/index.jsp".
- Enter some text in the form.
- Click the "Go!" button.
Resources
- Example Application - RotMachine
- JBoss
- JBoss 3.0 Quick Start
- JBoss Project Template
- The J2EE Tutorial
- Ant
- XDoclet
0 Comments (click to add your comment)
Networking Solutions
More for Developers
On the Codeguru Forums
Visit the Forums »Featured Partner Resources
Get your Android Apps ready for Intel® Atom™ processor-based smartphones and tablets now.
Use the Android NDK to deliver the best performance on Intel® Atom™ processor-based devices.
The Android community on the Intel® Software Network has everything you need to prepare your apps for Intel® Atom™ processor-based devices.



Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.