table of contents

Using MyEclipse Projects

Dealing with the Zipped Projects Bundled with the
Ajax tutorial, JSF tutorial, & the JSP taglib tutorial.


Importing Zipped Eclipse Projects into Eclipse or MyEclipse

To import the zipped projects that are bundled with these tutorials, follow these steps:

  1. Download the .zip file.
  2. Open MyEclipse. The projects were created in MyEclipse, but the pieces can easily be copied to a Dynamic Web Project in regular Eclipse. However, some of the special Ajax-specific and JSF-specific features are available only in MyEclipse.
  3. Go the the File menu and select "Import".
  4. Choose "Existing Projects into Workspace". Do not choose "Archive File" directly from "Import". Press the "Next" button.
  5. Choose the second radio button that says "Select archive file". Press the "Browse" button and navigate to the .zip file you downloaded in Step 1. Press "Next" and follow the directions from there.

Changing Zipped MyEclipse Projects into
Normal (Deployable) Web Applications

Please note that you do not have to do this if you have MyEclipse or Eclipse! Those users can deploy directly from within the IDE. These steps are only for non-Eclipse users.

MyEclipse projects create two extra directories at the top-level of the project: src and WebRoot (or WebContent). To make a regular Web application, you have to move the files under src to WebRoot/WEB-INF/classes, then rename WebRoot to your Web app name. For example, to turn the MyEclipse project facelets.zip into a normal Web app, follow these steps:

  1. Extract everything from the .zip file, resulting in a folder called facelets.
  2. Go to facelets/src and copy all folders and files.
  3. Go to facelets/WebRoot/WEB-INF/classes, and paste everything copied from Step 2.
  4. Rename WebRoot to facelets and move that new facelets folder to whatever location you store Web apps.

More Information

Java

JSF (JavaServer Faces)

Servlets & JSP
Ajax, GWT, & JavaScript

Spring, Hibernate, & JPA

Struts