16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

54 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

13. In the Add and Remove Projects window simply click Finish. Community Edition is<br />

now configured to work in Eclipse! You should be able to see your server in the<br />

<strong>Server</strong>s tab as shown in Figure 3.10.<br />

Figure 3.10 - The Community Edition server appears in the servers tab<br />

To start and stop your server, use the appropriate buttons as shown in the above figure.<br />

After you start the server, you should see the state column change to a value of <strong>Started</strong>,<br />

You can also start the Administration Console by opening a browser and pointing to<br />

https://localhost:8443/console/portal/Welcome to verify the server is up. When you stop the<br />

server the status column should change to Stopped.<br />

This is only one method to install WEP to Eclipse. Other methods are documented at<br />

http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/updates/<br />

3.4 Creating and deploying a "Hello World" Web application<br />

Now it’s time to create your first Web application. You will create a Web project using<br />

HTML stored in the index.html file. You will not need to write any Java code for now,<br />

just HTML! Follow this procedure:<br />

1. In Eclipse, go to File -> New -> Dynamic Web Project<br />

2. As shown in Figure 3.11, enter the name FirstProject. Be sure that the Target<br />

Runtime field is set to your Community Edition server and click Finish.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!