This chapter describes how to configure an enterprise application server in JCodeBox. If your application server is currently
not supported by JCodeBox (more are being added all the time) you can still use 95% of JCodeBox. The only thing you will need
to do manually is supply your application server specific deployment descriptors (JCodeBox will provide the standard J2EE
deployment descriptors for you).
Settings are grouped into categories and examples are given for popular application servers.
Enterprise application servers need to be correctly configured in JCodeBox for two reasons:
- Compiling applications
To compile a Java 2 Enterprise Edition (J2EE) application you need the correct J2EE classes to be available
on your classpath. These classes (along with application server specific classes) are usually supplied with
your application server distribution.
- Deploying applications
JCodeBox can deploy applications to application servers that support development mode deployment (also known as
hot deployment). This kind of deployment is usually supported by an application server by allowing you to place the
application in a designated directory while the application server is still running. The server will then automatically
recognise and deploy the application allowing you to connect to it immediately.
In addition to the above, there are many other settings that may need to be set in the application server for your
application to be deployed and run correctly. JCodeBox allows you to store these settings for a number of different
application servers (note not all settings are applicable to all application servers).
To enter settings for an application server use the Enterprise server setup dialog (Tools->Enterprise server setup ... menu).
When you have completed entering your settings, click the OK button to commit them.
Note
Not all settings need to be entered to successfully build and deploy your application i.e. if your application does not
contain any Message Driven Beans (MDB), you do not need to enter a value for topic connection factory JNDI. Also, if you
do not want to deploy your applications then you do not need to enter any deployment settings.