Chapter 4 Creating J2EE Applications for Sybase EAServer


Using Eclipse to Develop and Deploy Web Services

Steps To use Eclipse to develop and deploy Web Services:

  1. Create an OOM with Web Services based on Java classes and/or Stateless Session Beans.
  2. Add the Eclipse Extended Model Definition.
  3. Select Language→Generate Java Code.
  4. Enter an output directory. It could be a subdirectory of the Eclipse workspace directory.
  5. In the generation options window, enter the server name, port, user name and password.
  6. Do not select any task in the Tasks page.
  7. Click OK.
  8. Start Eclipse.
  9. Import the generated project.
  10. Modify the Java classes or the EJBs if necessary.
  11. Rebuild the project.
  12. Right-click the build.xml file, and select Run Ant.
  13. Run the deployExpose tasks.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.