JSP/Servlet-Based Web Application Generator - PowerPoint PPT Presentation

1 / 40
About This Presentation
Title:

JSP/Servlet-Based Web Application Generator

Description:

Web page composers & manual programming. Web application development tools: ... Web transition diagrams representing both CGI-based Web applications and JSP ... – PowerPoint PPT presentation

Number of Views:131
Avg rating:3.0/5.0
Slides: 41
Provided by: konk
Category:

less

Transcript and Presenter's Notes

Title: JSP/Servlet-Based Web Application Generator


1
JSP/Servlet-Based Web Application Generator
  • Kornkamol Jamroendararasame,
  • Tetsuya Suzuki, and Takehiro Tokuda
  • Tokyo Institute of Technology

2
Contents
  • Motivation
  • Goals
  • Web transition diagrams
  • A Web application generator T-Web system for
    JSP/Servlets
  • Comparisons
  • Conclusions and future work

3
Motivation
  • Web application generating methods
  • Web page composers manual programming
  • Web application development tools
  • Microsofts Visual Interdev
  • Cybozus Cybozu office
  • Multiactives ecBuilder
  • Web transition diagrams T-Web system (for
    CGI-based Web applications only)

4
Goals
  • Web transition diagrams representing both
    CGI-based Web applications and JSP/Servlet-based
    Web applications
  • a JSP/Servlet-based Web application generator
  • Support standard level of security and session
    management
  • No procedural programming

5
Web transition diagrams
6
Definitions
  • Describe overall behavior of Web applications by
    showing the movement of data through system
    components
  • Previous version for CGI architecture
  • Current version for both CGI architecture and
    JSP/Servlet architecture
  • Classification of notation
  • Core class
  • Extended class

7
Notation (1)
title
title
Fixed Web page node Output Web page node
name
name
Processing node Database node
Page transition link
Data-flow link
Core Class
8
Notation (2)
Web page elements
9
Example 1
I
II
Guestbook system
10
Example 2
BookCD online shopping system
11
Web Application Generator T-Web System for
JSP/Servlets
12
Structure
EDITOR
Editor Part
a Web transition diagram and global parameters
GENERATOR
Generator Part
13
Editor part
Processing program (servlet) templates template
description
EDITOR
Bean templates template description
Global parameter property box
Editor Part
14
(No Transcript)
15
(No Transcript)
16
List of bean types
Required parameters
17
Preview panel
Data-flow links to processing programs
18
(No Transcript)
19
List of template types
Template explanation
20
Lists of available values
Required parameters
Specified values
21
Styles of output database information
22
(No Transcript)
23
For page transition links
For data-flow links
24
List of HTML element types
25
For set/get bean properties
For direct connection from database table
26
Allow database info from processing program to be
shown
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
(No Transcript)
32
Structure
Templates
EDITOR
Editor Part
a Web transition diagram and global parameters
Web Application
GENERATOR
Generator Part
33
Generator part
GENERATOR
  • Web page structure template
  • HTML element templates
  • JSP element templates

Database table creator program template
T-Web libraries
Session object template
Business bean templates
Generator Part
34
Click to generate resulting files
35
Finish when this box disappears
36
(No Transcript)
37
Template method
  • Generality
  • Large number of templates is not necessary.
  • Templates themselves must be flexible.
  • Sufficiency
  • 15 servlet templates for all basic database
    transactions and some other facilities.
  • 5 bean templates for general purposes
  • Flexibility
  • Available templates are changeable.
  • New templates can be easily added.
  • Non-programmers use existing templates, while
    programmers may use their own templates.

38
Security and session management
  • Standard level of security management
  • Checking values of input parameters before
    passing them to processing programs
  • restricted length of input parameters,
  • Session management
  • can be done automatically by input-checking codes
    in servlet templates.
  • can be manually managed using cookies when
    composing Web transition diagrams.

39
Comparisons
Previous version Current version
Web transition diagrams For CGI architecture Basic components For both CGI and JSP/Servlet architecture Basic components in Core class Other necessary components in extended class
T-Web system For CGI-based Web applications Templates and their parameters are fixed. For JSP/Servlet-based Web applications More flexibility existing templates are changeable and new templates can be added.
40
Conclusions and Future Work
  • Web transition diagrams representing both
    CGI-based and JSP/Servlet-based Web applications
  • T-Web system generating JSP/Servlet-based Web
    applications
  • Handling of atomic transactions consisting of two
    or more actions will be the future work.
Write a Comment
User Comments (0)
About PowerShow.com