S A M P L E P R O J E C T
Chapter
3
3. Sample Project
How to write a JBoss Project
Skeleton of a JBoss Project
One of the bigger hurdles for a novice to JBoss application server is how to start a project:
Which components are required and how to wrap them into a time saving project
environment to reduce overhead at very beginning?
Here we will discuss how a project should be structured. It is not the only way and most
likely you will come up with a better solution for your needs but this chapter will help you
jump start your project. Whenever you are familiar with the setup of a project please skip
this chapter and jump to the next one.
Note: we will not discuss a version control tool (like CVS) because this is out of scope of this
book. More for information and help about this topic please have a look a
www.cvs.org
.
A J2EE project contains for different parts:
Build system
EJBs / Resources
Clients (Web, Java, etc.)
Tests
You will find all these components in JBoss as well and if it is working for JBoss it will also
work for you inclusive the testing. Now let us have a closer look at them.
Build System
A build system allows you to rebuild your system after you made changes in the code or
added new components. In general we have 4 ways to do so:
25
footer
Our partners:
PHP: Hypertext Preprocessor Cheap Web Hosting
JSP Web Hosting
Ontario Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Java Hosting
Cheapest Hosting
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved