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

i
Contents
Chapter 1
Introduction 1
Documentation conventions . . . . . . . . . . . . . 1
Developer support and resources. . . . . . . . . . . 2
Contacting Borland Developer Support . . . . . . 3
Online resources. . . . . . . . . . . . . . . . . . 3
World Wide Web . . . . . . . . . . . . . . . . . . 3
Borland newsgroups . . . . . . . . . . . . . . . . 3
Usenet newsgroups . . . . . . . . . . . . . . . . 4
Reporting bugs . . . . . . . . . . . . . . . . . . 4
Chapter 2
Programming for the Java 2 Platform,
Enterprise Edition 5
Why are J2EE applications desirable? . . . . . . . . 5
Benefits of the multi-tier model . . . . . . . . . . 8
How JBuilder can help . . . . . . . . . . . . . . . . 9
Client tier technologies . . . . . . . . . . . . . . 9
Middle-tier technologies . . . . . . . . . . . . . . 9
Other J2EE technologies . . . . . . . . . . . . . 10
Preparing to deploy J2EE applications . . . . . . 11
Learning about J2EE . . . . . . . . . . . . . . . . . 11
Chapter 3
Creating applications with J2EE
technologies 13
Client-server applications . . . . . . . . . . . . . . . 14
Multi-tier applications . . . . . . . . . . . . . . . . . 15
Stand-alone clients . . . . . . . . . . . . . . . . . . 15
Consumers of dynamic web content. . . . . . . . 16
Java client calling EJBs . . . . . . . . . . . . . . 16
Web-centric applications . . . . . . . . . . . . . . . 17
Business to business . . . . . . . . . . . . . . . . . 17
Chapter 4
Configuring the target server settings 19
Supported servers . . . . . . . . . . . . . . . . . . 19
Setting up servers within JBuilder . . . . . . . . . . 20
Creating a duplicate configuration to edit . . . . . 22
Adding a service pack . . . . . . . . . . . . . . . . 22
The created libraries . . . . . . . . . . . . . . . . . 23
Selecting a server. . . . . . . . . . . . . . . . . . . 24
Setting up JDBC drivers . . . . . . . . . . . . . . . 26
Creating the .library and .config files . . . . . . . 26
Adding the JDBC driver to projects . . . . . . . . 27
Updating projects with the latest server settings . . . 27
Updating from an earlier version of JBuilder . . . . . 28
Chapter 5
Using JBuilder with Borland servers 29
Configuring Borland servers in JBuilder . . . . . . . 29
Borland Enterprise Server AppServer
Edition 6.0. . . . . . . . . . . . . . . . . . . . 29
Borland Enterprise Server AppServer
Edition 5.2.1. . . . . . . . . . . . . . . . . . . 31
Making the ORB available to JBuilder . . . . . . . . 34
Configurations, partitions, partition services,
and J2EE APIs . . . . . . . . . . . . . . . . . . . 34
Changing the management port . . . . . . . . . 37
Starting the configuration or server . . . . . . . . . 38
Remote deploying . . . . . . . . . . . . . . . . . . 40
Remote debugging. . . . . . . . . . . . . . . . . . 41
Remote debugging for Borland Enterprise
Server 6.0. . . . . . . . . . . . . . . . . . . . 41
Preparing to remote debug partitions
that are not managed in JBuilder . . . . . . 41
Preparing to remote debug partitions
that are managed in JBuilder . . . . . . . . 41
Remote debugging for Borland Enterprise
Server 5.2.1. . . . . . . . . . . . . . . . . . . 42
Preparing to remote debug before the
Borland Enterprise Server AppServer
Edition 5.2.1 is running . . . . . . . . . . . 42
Preparing to remote debug when the
Borland Enterprise Server AppServer
Edition 5.2.1 is already running . . . . . . . 42
Remote debugging in JBuilder . . . . . . . . . . 43
Web module workarounds . . . . . . . . . . . . . . 43
Displaying the Borland Management Console
in JBuilder . . . . . . . . . . . . . . . . . . . . . 44
International issues . . . . . . . . . . . . . . . . . 44
Borland servers and JDataStore 7.0. . . . . . . . . 44
Chapter 6
Using JBuilder’s CORBA tools 45
How JBuilder and the VisiBroker ORB
work together. . . . . . . . . . . . . . . . . . . . 45
RMI . . . . . . . . . . . . . . . . . . . . . . . . 46
Setting up JBuilder for CORBA applications. . . . . 47
Configuring VisiBroker when the Borland
Enterprise Server is installed . . . . . . . . . . 47
Configuring VisiBroker stand-alone . . . . . . . 48
Configuring the OrbixWeb ORB . . . . . . . . . 50
Adding a new configuration. . . . . . . . . . . . 51
Setting and viewing ORB build properties . . . . . . 52
Setting VisiBroker ORB properties . . . . . . . . 52
Setting build properties for the OrbixWeb
or other third-party ORBs . . . . . . . . . . . . 54