Top
Interstage Studio User's Guide
FUJITSU Software

2.2.2 Development Flow

Development of the above Web application proceeds as follows:

  1. Create a project for the Web application.
    In order to create the Web application, first create a dynamic Web application project. When the Web application project is created as directed by the wizard, the classpath and other settings required for the build are set automatically.

  2. Create Java classes.
    Create the two classes required for the application.

    • Create the data class.

    • Create the logic class.

  3. Create a servlet class
    Use the following procedure to create a servlet class:

    • Create the pattern for the servlet class.
      Use the wizard to create the servlet class pattern.

    • Implement the servlet class.
      Use the Java editor to implement the servlet class.

  4. Create an I/O page.
    Use the wizard to create the pattern for the application I/O page, then use an editor to edit the page.

    • Create the input page pattern.

    • Edit the input page.

    • Create the output page pattern.

    • Edit the output page.

    • Create the error page pattern.

    • Edit the error page.

  5. Verify the application behavior.
    Use the following procedure to verify the behavior of the application:

    • Associate the project and the server.
      Set the server on which the application is deployed.

    • Set the breakpoints.
      Set the breakpoints for the debugger to verify the program behavior during execution.

    • Launch the server.
      Launch the server so that the application can receive requests from Web browsers. Deployment is performed automatically before the server starts.

    • Execute the application.
      Launch the Web browser and access the application URL to start verifying the behavior of the application.

    • Debug the application.
      Debug the program and verify that the application is behaving correctly.

  6. Distribute the application to the operating environment.
    Use the following procedures to distribute the application to the operating environment:

    • Export the application.
      Create a WAR file to distribute the application to the operating environment.

    • Distribute the application to the operating environment.
      Deploy the WAR file from the Interstage Java EE Admin Console.