Home

Architecture

WebApps

Database

Administration

Web Search

News

Java Servers

Web Services

Enterprise

Learning

Contact Us

JumpPoint - Java - EJB - Servlets - JSP - JMS - JNDI - JDBC - RMI

A bridge to WebLogic...

Bridging back to WebLogic...

That was easy enough. Now for something you'll really like. We'll try something JDeveloper likes to do: creating a Connection. JDeveloper uses connections to communiacate with databases, Web services, and Application Servers. The connection we are about to create will connect JDeveloper to the WebLogic Application Server.

And after we build the connection, we'll use it to deploy an EJB from JDeveloper right into WebLogic. But first things first. First let's take a moment to admire the JDeveloper user interface....

Click for larger view

Click for larger view

 
Take a look at the classic lines of the JDeveloper User Interface (Over to the right --> Not up there! Up there, that my friend is the San Francisco Bay Bridge - from the cover of a record albumn by Tower of Power) In the upper left corner is the System Navigator window. You can right click on objects in the System Navigator window . When you do, a menu specific to the object you clicked on appears.

Just below the Navigator is the
Structure window. I don't actually know what the structure window is used for. But it does look pretty when you click on the right object in the Navigator.

Source code windows appear to the right and Message windows appear on the bottom.
Where do IDEs come from?: Mr. Peabody: Spinning a yarn about the Borland, creator of JBuilder lays claim to having invented the first "Integrated Development Environment" or (IDE). In fact Borland had an early version of an IDE with its first C/C++ compiler, before that with TurboProlog, and later with Delphi. Oracle9i JDeveloper originally evolved from the Borland. I guess this sort of makes JDeveloper the "Delphi of Oracle?"

And now back to the WebLogic connection.
Back to WebLogic

First, make sure you have started the WebLogic server (as was explained in the first part of the our Developer Highway 101 adventure).

Then, in JDeveloper:

(1) Point the mouse inside the System Navigator window.
Right click on "Connections"


(2) Then select "
New Application Server Connection"
   
The Connection Wizard dialog appears.

(3)
In the Type panel, give the connection a name like:

Connection Name:


(4) Connnection Type is a pulldown. Select "WebLogic Server 6.x"
Connection Type:

(5) Go to the Authentication panel. Enter the User ID as "System" and in Password enter the password you used when you set up WebLogic.

(6) Go to the
Connection panel Set the Host address and port:

Host Name


Port
(7) For Target Node


Target Node

If you start WebLogic using the Examples configuration,enter "examplesServer." (If you are running the Default configuration on WebLogic enter "myserver" instead).

(8) For Path, click on the
Browse button, browse the to the location of weblogic.jar (it's generally located at:

<bea>\wlserver6.1\lib\weblogic.jar
where <bea> is the main Bea install directory). Click on the jar to set the path. It should look something like this:

Path to weblogic.jar
   

(9) Finally, go to the "Test" panel and click on
Test Connection.

If everything goes OK, it should display "Success!"



Click on
OK




On to ==>
Creating an EJB