Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 2 Developing Applications by APIs | > Chapter 9 Developing Java Applications | > 9.2 Developing Applications with 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.
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).
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.
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.
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.
Use the Sort Expression page of the Shunsaku Access Source Wizard to add a sort expression to the Shunsaku access class.
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.
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.
Create the pages needed by the Web application. It is also possible to create pages to display errors.
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.
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.
It is easy to build source code that has been created or edited.
Created Web applications can be executed easily.
If a created Web application contains a bug, the debugger can be used to correct logical errors.
Contents
Index
![]() ![]() |