How do I integrate Inprise Application Server's J2EE support in JBuilder 3.5?

By: Aaron Ruddick

Abstract: If users are going to use JBuilder and IAS, they should NOT install Sun's J2EE, and should instead have the IAS jars on their classpath.

Question:

How do I integrate Inprise Application Server's J2EE support in JBuilder 3.5?

Answer:

IAS has its own implementation of J2EE, and users will run into problems if they have Sun's J2EE on JBuilder's classpath. If users are going to use JBuilder and IAS, they should NOT install Sun's J2EE, and should instead have the IAS jars on JBuilder's classpath. When you run IAS Setup in JBuilder this is done for you.

NOTE: if you have not installed Suns j2ee then go to "step three"

Step one: Remove the j2ee.jar file from JBuilder's classpath

  1. Make sure JBuilder is not running.
  2. If you just copied the j2ee.jar file to your jbuilder35/lib directory, just delete it.
  3. If your j2ee.jar is not in the jbuilder35/lib directory, then all you need to do is remove the "addjars" or "addpath" entry in your jbuilder.config file that includes it. This file is located in your jbuilder35/bin directory.

Step two: Remove the J2EE entry from your "Required Libraries"

  1. Start JBuilder.
  2. Go to: "Project" | "Default Project Properties" | Select the "Paths" tab
  3. Select the "Required Libraries" tab
  4. Select J2EE (or what ever you called it) and select the "Remove" button.

Step three: Run IAS setup

  1. Go to: "Tools" | "IAS Setup..."
  2. Check the "Enable Integration" box
  3. Select the Browse button in the "IAS Installation Directory"
  4. Browse to the directory you installed IAS. (e.g. This is usually in c:/inprise/AppServer)
  5. Then select "ok"

Step four: Create a Library for the IAS jar files

  1. Go to: "Project" | "Default Project Properties" | Select the "Paths" tab
  2. Select the "Required Libraries" tab
  3. Select "Add" and then "New".
  4. Name the library, for example "IAS J2EE".
  5. Add the path the the "vbejb.jar" file to the "Classes" tab of your new library.
  6. Click Ok to save the library changes.
  7. Click Ok to add the new library to the Default Project (it will be included in all future new projects), or Cancel to not add the library (it has still been created).

Published on: 7/18/2000 11:38:18 AM

Server Response from: ETNASC04

Copyright© 1994 - 2013 Embarcadero Technologies, Inc. All rights reserved.