0% found this document useful (0 votes)
55 views11 pages

Configuring Eclipse Ganimede To Work With Websphere Community Edition

The document provides steps to configure Eclipse IDE to work with WebSphere Community Edition (CE) server and create a dynamic web application project to deploy and test on the WebSphere CE server. The steps include downloading and configuring the WebSphere CE server in Eclipse, creating a dynamic web project targeted to the WebSphere CE server, adding a "Hello World" HTML page to the project, and deploying and testing the application by running it on the WebSphere CE server.

Uploaded by

raydbadman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views11 pages

Configuring Eclipse Ganimede To Work With Websphere Community Edition

The document provides steps to configure Eclipse IDE to work with WebSphere Community Edition (CE) server and create a dynamic web application project to deploy and test on the WebSphere CE server. The steps include downloading and configuring the WebSphere CE server in Eclipse, creating a dynamic web project targeted to the WebSphere CE server, adding a "Hello World" HTML page to the project, and deploying and testing the application by running it on the WebSphere CE server.

Uploaded by

raydbadman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Configuring Eclipse Ganimede to Work with WebSphere Community Edition and Creating a Dynamic Web Application to test it.

July / 2008
Juliano Marcos Martins http://jmmwrite.wordpress.com

Open Eclipse as usual, selecting your Workspace. Go to File new In the Wizard type server, select Server and click Next:

We can see several servers listed in the next window, but, the default properties don't bring Geronimo or WebSphere CE, then you need to download the components to add WebSphere CE by clicking into Download Additional...:

Search for WAS CE, select it and click next:

Accept the license terms:

Select ok:

The download will start, this can take some time:

When it finish, it will ask for the Eclipse restart, click yes:

When the Eclipse come back, you can repeat the proccess: File New Search for server, click next... Then, you can see in the IBM folder the WebSphere server, called WASCE here, select it and click Next:

In the next Window you must set up the Java version that you will use and show to Eclipse where WAS CE its installed, fill it with the correct folder and click Next:

Configure the user that you have created for the admin user, normally user = system and password = manager, then, click Next and then Finish:

You should see your server there:

You can select the server and click start to test it:

Then, open your browser and go to http://localhost:8080/ , you must see a WAS welcome screen like this:

If you click Administrative Console, you can login as system/manager and see the administration tasks.

Creating a Dynamic Web Project to test with WAS CE Click File New , type dy... and you can see the Dynamic Web Project in the wizard list, select it and click next:

Give a name to the project and select the WAS CE server:

Finish here. Observe your Context Root:

Eclipse will ask you to go to JEE perspective, accept:

You can see your project under Project Explorer:

Right click in WebTest and go to New Html , accept the default settings, we will just deploy a hello world page to test if our Eclipse can perform a deploy in WAS, then, in your page, type a hello message:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body>

Hello world! </body> </html>

Save your page. Right click in the project e go to Run As Run on Server:

Select the WAS CE server and click Finish:

When the server show Synchronized in the server pane:

You can test your application going to your browser and going to http://localhost:8080/WebTest :

You might also like