wiki:EclipseHints

Version 4 (modified by joshuadf, 11 years ago) (diff)

--

Eclipse

Web Tools

Steps to create a new web service:

  1. Install Eclipse and start it up
  2. Install the WTP (go to Help->Software Updates->Find and Install... and add http://download.eclipse.org/webtools/updates/ )
  3. Download Tomcat and Configure (go to Servers, right-click and select New...)
  4. Create a new Project, selecting the Web->Dynamic Web Project wizard
  5. When you have a class you want to expose as a web service, right-click and select Web Services->Create a Web Service

Adding a Library

  1. Right-click your project and select Properties
  2. Click on Java Build Path on the left
  3. Click on Add Library... on the right
  4. Select User Libraries
  5. If your library is not defined, click New... and add the jars

Note: it may still be necessary to copy the jars to the WEB-INF/lib of a project for your runtime server to find them.