uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

8.3.1 Flow of developing Web services starting from SEI

You can use Eclipse to develop POJO Web Services and EJB Web Services starting from SEI. Specifically, the procedure to develop the POJO Web services and EJB Web services is the same, except for some differences. The following figure shows the development flow of Web Services starting from SEI:

Figure 8-2 Development flow of Web Services starting from SEI

[Figure]

An overview of the individual operations is as follows:

  1. Creating a project
    When developing a POJO Web service, create dynamic Web project to be used for developing Web Services. For details, see 8.3.2 Creating a project.
    When developing an EJB Web service, create an EJB project because the EJB Web service is included in the EJB-JAR file. For details, see 4.4.2 Creating an EJB project.
  2. Creating a Web Service implementation class
    Create a Web Service implementation class describing the processing of the Web Service. For details, see 8.3.3 Creating a Web Service implementation class.
  3. Generating a Java source/WSDL/XSD
    Generate the Java source, WSDL, and XSD required for developing Web Services. For details, see 8.3.4 Generating a Java source/WSDL/XSD.
  4. Editing web.xml
    When developing a POJO Web service, add the settings for the Web Service. For details, see 8.3.5 Editing web.xml.
    When developing an EJB Web service, you need not edit web.xml because the EJB Web service is included in the EJB-JAR file.
  5. Creating an enterprise application project and adding a module
    Create an enterprise application project and add dynamic Web project or an EJB project. For details, see 8.3.6 Creating enterprise application projects and adding modules.
  6. Deploying and debugging J2EE applications
    Deploy and then debug J2EE applications in the J2EE server. For details, see 8.3.7 Deploying and debugging J2EE applications .

The following subsections describe the development of Web Services starting from SEI according to the above flow.