Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 2 Developing Applications by APIs> Chapter 9 Developing Java Applications> 9.2 Developing Applications with Studio

9.2.2 Flow of Development Using Studio

This section briefly explains the flow of Web application development using Studio. For details, refer to the following online Interstage Studio manuals:

The following diagram shows the flow of development using Studio.

[Figure 9-1 Flow of Development Using Studio]

mark1Create Project

Create a project for the type of application to be created. Projects can be created easily using a creation wizard. To create a Shunsaku Web application, select Web Application Project (Apcoordinator).

mark1Create and Edit Source

A prototype Web application to display search results obtained from Shunsaku on the screen is automatically created. The developer can efficiently create applications with a minimum amount of development work. Note that Studio does not create a prototype application for updating Shunsaku. This means that the developer needs to write an application that uses Java APIs to update Shunsaku access classes, and business classes are generated automatically.

mark2Create Shunsaku Access Class

This class makes it easy to handle interfaces that can search for XML documents that use the Java APIs. It is created using the Shunsaku access source creation wizard.

mark2Create Search Method

Use the Search Methods page of the Shunsaku Access Source Wizard to add a search method to the Shunsaku access class. More than one search method can be created.

mark2Create Sort Expression

Use the Sort Expression page of the Shunsaku Access Source Wizard to add a sort expression to the Shunsaku access class.

mark2Create Data Classes

This class stores XML documents and record IDs that were found with a search. Data classes are created using information defined by the Data Classes page of the Shunsaku Access Source Wizard.

mark2Create Data Bean

This class stores I/O data exchanged between a Web application and a client. Data beans are created by inheriting the com.fujitsu.uji.DataBean class and their properties are created in JavaBean format.

mark2Create I/O Pages (JSP)

Create the pages needed by the Web application. It is also possible to create pages to display errors.

mark2Create Business Class

This class data specifies processing to be performed on data that is input from a client.

The developer should code business logic in the prototype business class generated automatically.

The following diagram shows the typical configuration of an automatically created Web application for accessing Shunsaku.

[Figure 9-2 Configuration of Automatically Created Web Application for Accessing Shunsaku]

The content of each process is as follows:

(1)The character string entered into the search page is passed to the application.

(2)The received character string is passed to the access class, and search conditions and other information are set.

(3)Search results are obtained from Shunsaku.

(4)The XML structure of each search result is analyzed and the appropriate data classes are created.

(5)A list is created based on the search results and the list is set in the data bean.

(6)The search result list is displayed.

(7)Results selected from the search result list are obtained.

(8)JSP files that match the data classes of the selected results are used to display all the data of the results.

mark1Build

It is easy to build source code that has been created or edited.

mark1Execute

Created Web applications can be executed easily.

mark1Debug

If a created Web application contains a bug, the debugger can be used to correct logical errors.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006