• No results found

JSP A JSP page is a text-based document that describes

In document MCA Synopsis MCS-044 (Page 37-50)

how to process a request to create a response. JSP is a Java-based technology that simplifies the process of developing dynamic web sites. With JSP, web

designers and developers can quickly incorporate dynamic elements into web pages using embedded java and simple markup tags. These tags provide the HTML designer with a way to access data and business logic stored inside java objects.

Java Server Pages are text files with the

extension .jsp, which take the place of traditional HTML pages. JSP files contain traditional HTML along with embedded code that allows the developer to access data from the java code running on the server.

Advantages of JSP

JSP technology is the JAVA platform technology for building applications containing dynamic web content such as HTML, DHTML, XHTML, and XML . The Java Server Pages technology enables the authoring of web pages that create dynamic content easily but with maximum power and flexibility.

The Java Server Pages technology offers a number of advantages:

Write Once, Run Anywhere properties

The Java Server Pages technology is platform

independent, both in its dynamic Web pages, its Web servers, and its underlying server components. We can author JSP pages on any platform, run them on any Web server or Web enabled application server, and access

them from any web browser. We can also build the

server components on any platform and run them on any server.

Support for scripting and actions

The Java Server Pages technology supports scripting elements as well as actions. Actions permit the

encapsulation of useful functionality in a convenient from that can also be manipulated by tools. Scripts provide a mechanism to glue together this functionality in a per-page manner.

Performance

JSP is typically implemented via servlets. When a web server receives a request for a JSP page, it forwards it to a special process dedicated to handling servlet execution. This process is referred to as the servlet container. In the context of JSP, it is referred to as the JSP container. The servlet container is normally a separate process from the HTTP server, primarily due to the fact that the servlet container is a Java process, running in a JVM, while most HTTP servers are written in other languages. The key factor here is that, for servlet containers associated with conventional HTTP servers, there is only one additional process for the servlet container, which handles all servlet-related requests, including JSP. This process is initiated when the HTTP server starts up, and continues to run until the HTTP server is shut down.

There are three categories of JSP tags:

* Directives

These affect the overall structure of the servlet that results from translation, but produce no output

themselves.

runtime behavior of the JSP page. JSP supplies some standard actions, such as <jsp:useBean>, These custom actions are usually referred to as tag extensions or custom tags.

Scripting languages are programming languages that are interpreted by programs rather than by a

computer processor. Therefore, you do not need to translate scripting languages to machine code for interpretation by the browser. Scripting languages are used to incorporate user interactivity in web

documents.

Java Script was developed, by Netscape Communications Corporation. JavaScript code Syntax

is similar to that of Pascal code and C language.

JavaScript can be used for writing scripts that can be interpreted by the server and the client computers.

JavaScript is supported by Internet Explorer version 4.0 and later versions and Netscape Navigator version 4.0 and later versions.

JavaScript was initially called live Script by its developer, Netscape Communications Corporation.

The language was later renamed JavaScript, although JavaScript is distinguishably different from Java.

JavaScript was developed to be embedded with in the HTML code to enhance Client-side interactivity in the web documents.

Features of JavaScript

# JavaScript is an object-based Scripting language.

# JavaScript works independent of the platform.

# JavaScript supports, events.

Advantages of JavaScript

-> JavaScript also supports Client-side Scripting and Server-side scripting. The client-side

JavaScript(CSJS) is used to manipulate web documents and browsers and to facilitate data processing on the client Computer.

The execution of CSJS code is triggered by events on the client Computer.

->JavaScript also supports server-side Scripting.

The server-side Scripting is used to facilitate the data processing on the server and for customizing server-based applications. Server-Side

JavaScript(SSJS) also provides various databases and objects for web application development.

ORACLE

Oracle is the most popular RDBMS among the IT organizations due to the features offered. The current version of Oracle 8i this is web enabled. More than 50% of

Web applications use Oracle as their Database Server.

Oracle 8i also supports Java.

Introduction to Oracle and Its Tools:

The Oracle product is primarily divided into * Oracle Server tools

* Oracle Client tools OracleServer:

Oracle is a company that produces the most

widely used, Multi user RDBMS. The Oracle Server is a program installed on the Server’s hard disk drive.

This program must be loaded in RAM so that it can process user requests.

This Oracle Server product is either called

Oracle Workgroup Server or

Oracle Enterprise Server

The functionality of both these products is identical.

However, the Oracle Workgroup Server restricts the number of concurrent users who can query the

Server. Oracle Enterprise Server has no such

restrictions. Either product must be loaded on a multi user operating system.

The Oracle Server takes care of the following: maintain all data structures like tables, indexes etc.

It can also be used for interactive, data manipulation.

Programmers can use PL/SQL to create programs for validation and manipulation of table data. PL/SQL adds to the power of interactive SQL and provides the user with all the facilities of a standard, modern day(4GL) programming environment. Via PL/SQL the user can not only manipulate data but also can use procedural techniques such as writing loops or branching to another block of code.

0 Level (Context Level) DFD

Transaction Master

Display Message Valid User's Interacts Banker

GeneratesReports

A/C Master

1 Level DFD

Login-id

Users Authentication

Login

Password

A/C Creation Report

Generates Reports

Generation Transaction

A/C Master Transaction

Master

Authorization

Authorized Transaction

2 Level DFD (Transaction & Authorization Module)

Enters

Valid Users Verification A/c

Master

A/C No.

Verified

Valid A/c No.

Deposit Withdrawal Transfer

Receipt Payment Transfer

Unauthorized Transaction

Transaction Authorization

Cancelled Authorizes

Cancelled Transaction Trans

Master

In document MCA Synopsis MCS-044 (Page 37-50)

Related documents