APPLYING INTERACTIVE WEB PAGES

Similar documents
BEAWebLogic. Portal. Overview

Pearson Education 2007 Chapter 7 (RASD 3/e)

13. Databases on the Web

A web application serving queries on renewable energy sources and energy management topics database, built on JSP technology

Appendix A - Glossary(of OO software term s)

Chapter 6 Enterprise Java Beans

CTI Higher Certificate in Information Systems (Internet Development)

AIM. 10 September

INTRODUCTION TO Object Oriented Systems BHUSHAN JADHAV

CTI Short Learning Programme in Internet Development Specialist

SAS/IntrNet 9.3. Overview. SAS Documentation

(C) Global Journal of Engineering Science and Research Management

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

National Language Support for Windows NT and AIX Now Available with IBM WebSphere Application Server V3.0.1, Standard Edition

COURSE SYLLABUS. Complete JAVA. Industrial Training (3 MONTHS) PH : , Vazhoor Road Changanacherry-01.

SUN Enterprise Development with iplanet Application Server

Professional JSP : Using JavaServer Pages, Servlets, EJB, JNDI, JDBC, XML, XSLT, And WML By Karl Avedal, Danny Ayers

Authoring Adaptive Multimedia Services

Distributed Multitiered Application

Ch04 JavaServer Pages (JSP)

Inf 202 Introduction to Data and Databases (Spring 2010)

Chapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc.

The Application of a Distributed Computing Architecture to a Large Telemetry Ground Station

White Paper: Delivering Enterprise Web Applications on the Curl Platform

Chapter 10 Web-based Information Systems

Topics. From UI prototype... About user interfaces. ... via design to implementation. Pearson Education 2005 Chapter 7 (Maciaszek - RASD 2/e) 6

Pearson Education 2005 Chapter 7 (Maciaszek - RASD 2/e) 2

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Introduction To Web Architecture

Discovering Computers Chapter 13 Programming Languages and Program Development

MythoLogic: problems and their solutions in the evolution of a project

IBM Rational Application Developer for WebSphere Software, Version 7.0

TABLE OF CONTENTS 1. INTRODUCTION DEFINITIONS Error! Bookmark not defined REASON FOR ISSUE 2 3. RELATED DOCUMENTS 2 4.

NetBeans IDE Field Guide

Modern Systems Analysis and Design Sixth Edition. Jeffrey A. Hoffer Joey F. George Joseph S. Valacich

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

J2EE Technologies. Industrial Training

Web-based technology for cheminformatics

About the Authors. Who Should Read This Book. How This Book Is Organized

COMP9321 Web Application Engineering

BEAWebLogic Server. Introduction to BEA WebLogic Server and BEA WebLogic Express

COMP9321 Web Application Engineering

Software Design and Analysis CSCI 2040

3. WWW and HTTP. Fig.3.1 Architecture of WWW

Advanced Java Programming

Java Server Pages. JSP Part II

Types of Databases. Types of Databases. Types of Databases. Databases and Web. Databases and Web. Relational databases may also have indexes

TUTORIAL QUESTION BANK

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2

Building Web Applications with SAS AppDev Studio TM 3.0

Database Applications

Web Architecture AN OVERVIEW

Application of PHP and MySQL for search and retrieval Web services in Web information systems

COPYRIGHTED MATERIAL

Information Systems Software

CHAPTER 4: ARCHITECTURE AND SYSTEM DESIGN OF PROPOSED EXPERT SYSTEM: ESOA

Edge Side Includes (ESI) Overview

WARE: a tool for the Reverse Engineering of Web Applications

Group A: Assignment No 2

PSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming

Developing Java TM 2 Platform, Enterprise Edition (J2EE TM ) Compatible Applications Roles-based Training for Rapid Implementation

The Web Application Developer s. Red Hat Database. View. October 30, Webcast. Patrick Macdonald, Fernando Nasser. Red Hat Database Engineering

CPET 581 E-Commerce & Business Technologies. Topics

HttpServlet ( Class ) -- we will extend this class to handle GET / PUT HTTP requests

Hi Fi Infirmary Portal Java Project Report

Software Paradigms (Lesson 10) Selected Topics in Software Architecture

SAS/IntrNet 9.2. Overview. SAS Documentation

Tribhuvan University Institute of Engineering Pulchowk, Campus

Oracle9i Application Server Architecture and Com

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

JavaScript Context. INFO/CSE 100, Spring 2005 Fluency in Information Technology.

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

J2EE Interview Questions

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Mastering SOA Challenges more cost-effectively. Bodo Bergmann Senior Software Engineer Ingres Corp.

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

AN ISO 9001:2008 CERTIFIED COMPANY ADVANCED. Java TRAINING.

The Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4

Like It Or Not Web Applications and Mashups Will Be Hot

Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Introduction to Web Development with Microsoft Visual Studio 2010

DAVID M. KROENKE and DAVID J. AUER. DATABASE CONCEPTS, 7 th Edition. Chapter Seven. Database Processing Applications. Chapter Objectives

Discovering Computers 2008

Seminar. Migrating Lotus Domino/Notes application to WebSphere architecture

Fast Track to Java EE

Implementing a Numerical Data Access Service

How to Configure Informix Connect and ODBC

Java Concepts: Compatible With Java 5, 6 And 7 By Cay S. Horstmann

Data-Driven Web Pages

Browsing the Semantic Web

Using Java to Front SAS Software: A Detailed Design for Internet Information Delivery

Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a, Yan YAO1,b

to-end Solution Using OWB and JDeveloper to Analyze Your Data Warehouse

Customizing ArcIMS Using the Java Connector and Python

Software Architecture

UNIT -I PART-A Q.No Question Competence BTL

Enterprise Java Unit 1- Chapter 3 Prof. Sujata Rizal Introduction to Servlets

Application Servers in E-Commerce Applications

Transcription:

APPLYING INTERACTIVE WEB PAGES Item Type text; Proceedings Authors Self, Lance Publisher International Foundation for Telemetering Journal International Telemetering Conference Proceedings Rights Copyright International Foundation for Telemetering Download date 17/04/2018 17:41:14 Link to Item http://hdl.handle.net/10150/607689

APPLYING INTERACTIVE WEB PAGES Lance Self Air Force Research Laboratory Space Vehicles Directorate Kirtland AFB, NM Lance.Self@kirtland.af.mil ABSTRACT Visitors to web pages are, in most cases, restricted to viewing information the page designer has anticipated they will be interested in viewing. Many times this is adequate, but there are instances where the visitor wants the information they view to be based on selections they choose. The Air Force Research Laboratory (AFRL) Space Vehicles Directorate anticipates selected customers will have a need to view very large data sets that vary from the satellite payload to the satellite state of health 1, and will require controlling what they view in an ad hoc manner. In response, AFRL is using Java Server Pages developed within the data center to bring interactive and dynamic web page content to these customers. KEY WORDS Java Server Pages (JSP), Extensible Markup Language (XML). INTRODUCTION Java Server Pages (JSP) was first introduced by Sun Microsystems in 1998 to provide an easy means to create information rich, dynamic web pages. At the time, Microsoft had already deployed its Active Server Pages (ASP) that was also used for dynamic web page creation. Sun developed JSP as an extension to Java Servlets or server side Java applets. Servlets were, however, difficult to create and maintain. With the introduction of JSP, Sun was able to effectively compete with Microsoft s ASP while maintaining the write once, run anywhere advantage of Java. JSP pages use tag based syntax similar to Hypertext Markup Language (HTML). The JSP pages themselves are a combination of scripts, HTML, Extensible Markup Language (XML), and Java, all of which allow web page developers to create and maintain dynamic web content while simultaneously providing access to all Java classes and functions. This combination gives JSP the power of an object-oriented language that encapsulates the logic that generates page logic coupled with the ease of scripts. The data processing logic resides on the server while the page formatting (HTML, XML) is passed back to the browser. This model separates data processing from data display making JSP a useful tool for displaying telemetry data points.

JSP PROTOCOL With simple HTML protocol (Figure 1) the client requests a web page from the server. The server simply retrieves the requested page and sends it back to the client browser. Figure 1 The JSP protocol (Figure 2) starts off resembling the typical client/server protocol. At the browser (client) the user makes an entry into a form. The entry typically triggers a request for information from the server. The information request is sent to the server where the server interprets the request as JSP code and locates the JSP source file residing on the server. The JSP engine, Tomcat for example, translates the JSP source program into a Java class that is compiled into a Java servlet program. The Java servlet is what actually processes the request, and the results of the processing are sent back to the client as HTML, or XML, where it is formatted and displayed. Figure 2

JSP pages are compiled into Java servlets when they are instantiated. They are a combination of HTML, XML, and JSP that give users the dynamic content. For the developer, full use of Java API s are available that gives client web pages data processing utility and power. DATABASE EXAMPLE Avedal 2 discusses two models in creating dynamic GUI s, the Co-Branding model that customizes the look of the GUI and the Web Portal model that customizes the content of the web page. The Co-Branding model is likened to Windows NT or 2000 users being able to customize the wallpaper or screen saver when they logon to their desktop, and will not be used at AFRL. The latter model, however, is being used at AFRL to develop interactive web pages for data center customers. The Web-Portal model can be either cookie or database driven. We have opted to make our web pages database driven, but the concept is identical in either case. The idea behind this model is to create web pages whose content is altered by selections made by the web customer, thus giving customers meaningful information which they request and not what the web page designer anticipates they will request. Using the Portal approach, a request is sent to the database server (see Figure 2) consisting of what the user wants to query. JSP instantiates the Java program and the database is queried. Figure 3 is sample code from a related project that executes a SQL Select function. The results of the query are returned from the database management system (DBMS), via the ResultSet function, and sent back to the web page where it is formatted for display. This example embeds the SQL query within the Java source file which is not an optimal approach. Future development will have the customer building the SQL query on the web page, and that query will be sent to the DBMS. // Load the JDBC driver LoadJDBC loadjdbc = new LoadJDBC(); loadjdbc.loaddriver(); ResultSet rs = null; // Grab the entries in the GUI while (entries!= NULL) { String entry 1 = First Entry.getText(); } // Build the SQL statement String the_query = " SELECT * FROM My_Table; // Execute the query Statement statement = con.createstatement(); // Results of the query rs = statement.executequery (the_query); Figure 3 Figure 4 is a design of the type of web pages being planned for data center customers and illustrates the drilling down search mechanism.

Figure 4 Customers currently have two types of data they can retrieve from the data center. If they select Payload the area directly below the Data Type list box is populated with Payload options. In this example, the customer wishes to search the database using Start Time between 12:30:3000 and 12:33:0000. After pressing the SEARCH button the request is sent to the DBMS and the results, Payload_3 and 2 of 3, are returned and displayed at the bottom of the web page in the File Name and Sequence Number list boxes respectively. These results that were returned, as a result of the query, are table entries in the Catalog table within the data center DBMS (Table 1). File Name Recorded Date Ground Station Start Time Stop Time Satellite_2 01/23/2000 Hawaii 10:15:0000 10:17:4000 Payload_3 01/23/2000 Florida 12:27:0000 12:32:0000 Payload_4 01/23/2000 Florida 12:32:0000 12:37:0000 Table 1: Example Catalog table entries If the Start Time had been between 10:15:0000 and 12:34:0000 then the query would have returned three file names that would be listed in the File Name list box ( Satellite_2, Payload_3, Payload_4 ).

The user can refine the search by checking the Search Within Results check box, changing the time span, and searching again. These new results would replace the Payload_3 and 2 of 3 currently being displayed. Figure 5 Figure 5 illustrates a slightly different approach to applying the Portal model. Where the previous example returned File Names that matched the query, this web page returns the contents of the file that match the query. It does this by building, displaying, and populating a series of list boxes that are dependent on the previous list box selection the customer makes. The DataSource list box, for example, displays Payload. As a result of Payload being selected, the Subsystem list box displays ACS. If another DataSource were selected, then the Subsystem list box would be populated with an entirely different list of choices. The choices presented to the visitor would come from a different table within the database. Just as in the previous example, the contents of the list box are dynamic and interactive, and give the visitor control over the web page. Similar approaches can be used regardless of the application. Telemetry data points, for example, stored in a database, can be accessed using finer and finer search mechanisms to return the data set that the user is interested in viewing. Both examples illustrate a specific satellite related application of dynamic, interactive web pages. Other uses such as inventory monitoring, trend analysis, or any application that requires data being updated on a regular, non-real time, basis, and viewed by geographically separated customers, all fit into this interactive paradigm.

CONCLUSION Dynamic web pages are the next step in the web page evolution. Customers are asking for some measure of control how data is presented to them and control over what they see. Java Server Pages delivers the power of an object-oriented language coupled with the ability to extend the versatility of existing web pages beyond static displays. REFERENCES [1] Self, Lance. TechSat21 Testbed Database. Proceedings of the International Telemetering Conference, Vol. XXXVI, Instrument Society of America, November 2000. [2] Avedal, Karl, et al. Professional JSP. Birmingham: Wrox Press, 2000.