Novell is now a part of Micro Focus

Configuring Profiles on exteNd Application Server

Articles and Tips: tip

Jeff Fischer
Research Engineer
Novell Appnotes
jfischer@novell.com

01 May 2003


The following is from the new "Web Services" DeveloperNet Univeristy course available on the Web at http://developer.novell.com/education/tutorials/web/ .

One of the main objectives of Java is to be completely portable. While there are a few issues to overcoming 100% portability, great strides have been made to help achieve this. In the Web Application arena, not only do you have to be concerned with the portability of your application for clients, but for servers as well.

While most companies standardize on Java application servers, it is still common to find more than one type of application server used in the production environment. As a developer, you want to be sure that you can compile and build your program so that you are sure it will run on multiple application servers, such as exteNd Application Server, Tomcat, BEA, and others.

Novell exteNd Workbench allows you to create profiles to compile your web application for different application server platforms. The profile will contain the type of server, deployment directory, and URL to access the application. You can also create a separate profile to manage the database you are using and the UDDI registry information. The JDBC driver, URL and DataSource Name is contained within the database profile. The inquiry and publisher API is stored within the Registry profile.

Creating a Server, Database, or Registry Profile

To create a Server, Database, or Registry profile in exteNd Workbench, follow the steps below:

  1. Open exteNd Workbench.

  2. Open the project you want to deploy.

  3. From the Edit > Profiles.

  4. Click the Servers tab.

  5. Click the New button.

  6. In the Profile Name box, type a name for the profile. For example, if the profile will deploy web applications to an exteNd application server, then you could call the profile exteNd.

  7. Select the type of application server you are going to publish to from the drop down menu.

  8. In the Deployment Tools Directory box, browse to the location in the file system of the application server where the deployed files should go to deploy the application.

  9. If the server you are using supports Rapid Deployment, you can browse to the location where Workbench should copy the rapid deployment files.

  10. In the Server Name box, type in the URL and port number if necessary to access this server. For example, you could type in http://localhost if the application is deployed on the local server.

Creating a Database Profile

To create the Database profile in exteNd Workbench, follow the steps below:

  1. Open exteNd Workbench.

  2. Open the project you are going to deploy.

  3. Select Edit > Profiles.

  4. Select the Database tab.

  5. Click the New button.

  6. Enter a name for the profile.

  7. Enter the JDBC driver. For example, if you are using the JDBC-ODBC driver developed by Sun, type in sun.jdbc.odbc.JdbcOdbcDriver.

  8. Enter the JDBC URL. For example, if you are using the JDBC-ODBC driver developed by Sun, type in jdbc:odbc:name_of_db driver name.

  9. Type in the name of the SQL catalog if you are using catalogs.

  10. Type in the name of the DataSource.

  11. Click the Test button to make sure the connection can be established successfully.

Creating a Registry Profile

To create the Registry profile in exteNd Workbench, follow the steps below:

  1. Open exteNd Workbench

  2. Open the project you are going to deploy.

  3. Select Edit > Profiles.

  4. Select the Registry tab.

  5. Click the New button.

  6. Enter a name for the profile.

  7. Enter an inquiry API URL.

  8. Enter a publisher API URL.

  9. Enter a username and credential if necessary.

Changing a Profile

To change a profile, follow the steps below:

  1. Open exteNd Workbench.

  2. Open the project you are going to deploy.

  3. Select Edit > Profiles.

  4. Select the Server, Databases, or Registry tab.

  5. Select the profile name you already created in the drop down menu.

  6. Click OK .

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates