Server User Manual
Table Of Contents
- Developing Applications for J2EE™ Servers
- Contents
- Ch 1: Introduction
- Ch 2: Programming for the Java 2 Platform, Enterprise Edition
- Ch 3: Creating applications with J2EE technologies
- Ch 4: Configuring the target server settings
- Ch 5: Using JBuilder with Borland servers
- Configuring Borland servers in JBuilder
- Making the ORB available to JBuilder
- Configurations, partitions, partition services, and J2EE APIs
- Starting the configuration or server
- Remote deploying
- Remote debugging
- Web module workarounds
- Displaying the Borland Management Console in JBuilder
- International issues
- Borland servers and JDataStore 7.0
- Ch 6: Using JBuilder’s CORBA tools
- Ch 7: Using JBuilder with BEA WebLogic servers
- Ch 8: Using JBuilder with IBM WebSphere servers
- Ch 9: Using JBuilder with JBoss servers
- Ch 10: Using JBuilder with Tomcat
- Ch 11: Editing J2EE deployment descriptors
- Ch 12: Integrating with Enterprise Information Systems
- Ch 13: Building J2EE modules
- J2EE modules
- Setting module build properties
- Adding custom file types
- Sample build scenarios
- EJB JAR without any bean classes
- EJB JAR with custom files
- EJB JAR without EJB designer XML descriptors
- WAR with custom descriptor(s) in the WEB-INF directory
- WAR without any classes
- WAR with custom class filters
- WAR with custom file types
- EAR with custom files
- RAR with classes and dependencies
- Application client module with classes and dependencies
- Improving module build performance
- Index
24 Developing Applications for J2EE Servers
Selecting a server
JBoss 3.x+
■
JBoss 3.x+ Client: JARs needed to run a client.
■
JBoss 3.x+ Servlet: Used for web applications.
Tomcat
■
Tomcat 4.1 Servlet: Used for web applications.
■
Tomcat 5.0 Servlet: Used for web applications.
Selecting a server
JBuilder can target multiple servers. You can choose a single application server for all
stages of EJB and web application development, or you can choose different servers
for different aspects of development. For example, you can select one server to use to
develop enterprise beans and another to develop web applications.
To select one or more servers to use for your project,
1 Choose Project|Project Properties.
2 Select Server in the dialog box tree. The Server page is displayed:
3 Decide whether you want to use a single server for all aspects of development or
different servers to handle different areas of development.
■
To use a single server,
1 Select the Single Server For All Services In Project option and select the
server from the drop-down list.
2 If you want to make changes to the configuration settings for the server, click
the ellipsis (…) button and edit the settings you want on the General and
Custom pages. Click OK.
You can also use this dialog box to select a different server.
3 If you don’t want a particular service started when the server starts up,
uncheck the check box next to the service in the Services list. This feature
currently applies only to the Borland Enterprise Server as it is the only one
which allows you to start and stop selected services.
If you uncheck the Deployment or Client JAR Creation services, the
corresponding menu items will be disabled on the JBuilder Enterprise menu. If
you uncheck the JSP/Servlet service, web server support is disabled. If you
uncheck the Naming/Directory service for Tomcat, naming service support is
disabled. If you uncheck the Deployment service, vendor-specific descriptors
won’t be generated and all deploy options will be disabled.