Beruflich Dokumente
Kultur Dokumente
Login Table
ATTRIBUTE
UNAME
PWORD
DATATYPE
Varchar(10)
Varchar(10)
CONSTRAINT
NotNull
NotNull
DESCRIPTION
Username
Password
The login table of the consumer database has two attributes namely the uname
and pword. The datatype has been specified for these two attributes as varchar.
The maximum size given for this attributes are 10 respectively. The constraints
represents the restriction in this table. The uname represents the username of
the user and the pword represents the password of the user.
Bank Details
ATTRIBUTE
CreditCard
DATATYPE
Varchar(10)
CONSTRAINT
NotNull
Pincode
Amount
Varchar(10)
Varchar(20)
NotNull
NotNull
DESCRIPTION
Consumer credit
card
Consumer pincode
Amount
The bankdetails table of the consumer database has three attributes namely the
creditcard, pincode and amount.
three attributes as varchar. The maximum size given for this attributes are 10 for
creditcard and pincode and 20 for amount respectively.
The constraints
represents the restriction in this table. The creditcard represents the consumer
credit card number, the pincode represents the pincode for the credit card and
the amount represents the amount available in that credit card.
SOFTWARE DESCRIPTION
2.3.1 Web Page Designing using JSP/HTML
JavaServer Pages (JSP) is a Java technology that allows software
developers to dynamically generate HTML, XML or other types of documents in
response to a Web client request. The technology allows Java code and certain
pre-defined actions to be embedded into static content. The JSP syntax adds
additional XML-like tags, called JSP actions, to be used to invoke built-in
functionality. Additionally, the technology allows for the creation of JSP tag
libraries that act as extensions to the standard HTML or XML tags. Tag libraries
provide a platform independent way of extending the capabilities of a Web
server. JSPs are compiled into Java Servlets by a JSP compiler. A JSP compiler
may generate a servlet in Java code that is then compiled by the Java compiler,
or it may generate byte code for the servlet directly. "JavaServer Pages" is a
technology released by Sun
2.3.2. Java Script Validations
JavaScript
is
Netscapes
cross-platform,
object-oriented
scripting
language, Core JavaScript contains a core set of objects, such as Array, Date,
and Math, and a core set of language elements such as operators, control
structures and statements. Core JavaScript can be extended for a variety of
purposes by supplementing it with additional objects; Client-side JavaScript
statements embedded in an HTML page can respond to user events such as
mouse clicks, form input and page navigation. For example, you can write a
JavaScript function to verify that users enter valid information into a form
requesting a telephone number or zip code. Without any network transmisson,
the embedded JavaScript on the HTML page can check the entered data and
display a dialogbox if the user enters invalid data. This module is involved in
basic form validations before submitting the page to the server.
2.3.3 Servlet Implementation
The Java Servlet API allows a software developer to add dynamic content
to a Web server using the Java platform. The generated content is commonly
HTML, but may be other data such as XML. Servlets with JavaServer Pages are
the Java counterpart to dynamic Web content technologies such as CGI/PHP or
ASP.NET/VBScript,JScript,C#. Servlets can maintain state across many server
transactions by using HTTP cookies, session variables or URL rewriting. The
Servlet API, contained in the Java package hierarchy javax.servlet, defines the
expected interactions of a Web container and a servlet.
A Web container is essentially the component of a Web server that
interacts with the servlets. The Web container is responsible for managing the
lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the
URL requester has the correct access rights. A Servlet is an object that receives
a request (ServletRequest) and generates a response (ServletResponse) based
on the request. The API package javax.servlet.http defines HTTP subclasses of
the generic servlet (HttpServlet) request (HttpServletRequest) and response
(HttpServletResponse) as well as a session (HttpSession) that tracks multiple
requests and responses between the Web server and a client.
Servlets may be packaged in a WAR file as a Web application. Moreover,
servlets can be generated automatically by JavaServer Pages (JSP), or
alternately by template engines such as WebMacro. Often servlets are used in
conjunction with JSPs in a pattern called "Model 2", which is a flavor of the
model-view-controller pattern.
to
the
properties. A JavaBeans
component
property can
be
Overview
JDBC allows multiple implementations to exist and be used by the same
application. The API provides a mechanism for dynamically loading the correct
Java packages and registering them with the JDBC Driver Manager. The Driver
Manager is used as a connection factory for creating JDBC connections. JDBC
connections support creating and executing statements. These statements may
be update statements such as SQL INSERT, UPDATE and DELETE or they may
be query statements using the SELECT statement. Additionally, stored
procedures may be invoked through a statement. Statements are one of the
following types:
Statement the statement is sent to the database server each and every
time.
Controller
Processes and responds to events, typically user actions, and may invoke
changes on the model. Though MVC comes in different flavors, control flow
generally works as follows:
The user interacts with the user interface in some way (e.g., user presses
a button)
A controller handles the input event from the user interface, often via a
registered handler or callback.
The user interface waits for further user interactions, which begins the
cycle anew.
Figure 1
2.3.7 Auto Execution of Database Schema:
This module aims in creating the database schema when the software
loads for the first time. The database schemas table creation statements (SQL
Scripts) will be read from the properties file and the SQL statements are
executed on the connected database automatically. Also the initial values for
some of the database tables are automatically inserted into the database.
development
environments
and
other
environments
with
minimal
Development status
Members of the aASF and independent volunteers develop and maintain
Tomcat. Users have free access to the source code and to the binary form of
Tomcat under the Apache Licence. The initial Tomcat release appeared with
versions 3.0.x (previous releases were Sun internal releases, and were not
publicly released). Tomcat 6.8 is the latest production quality release of the 6.8
trunk (the branch for the 2.5 servlet specification), as of 2011.
Figure 2
2.3.9 Net Beans IDE:
NetBeans refers to both a platform for the development of Java desktop
applications, and an integrated development environment (IDE) developed using
the NetBeans Platform. The NetBeans Platform allows applications to be
developed from a set of modular software components called modules. A module
is a Java archive file that contains Java classes written to interact with the
NetBeans Open APIs and a manifest file that identifies it as a module.
Applications built on modules can be extended by adding new modules. Since
is an
open source
integrated
development
environment written entirely in Java using the NetBeans Platform. NetBeans IDE
supports development of all Java application types (J2SE, web, EJB and mobile
applications) out of the box. Among other features are an Ant-based project
system, version control and refactoring. The current version is NetBeans IDE 6.1,
which was released in October
2007.
NetBeans IDE 6.1 extends the existing Java EE features (including Java
Persistence support, EJB 3 and JAX-WS). Additionally, the NetBeans Enterprise
Pack supports development of Java EE 5 enterprise applications, including SOA
visual design tools, XML schema tools, web services orchestration (for BPEL),
and UML modeling. The NetBeansC/C++ Pack supports C/C++ projects.
NetBeans IDE 6.1 builds upon the previous version 5.0, which introduced
comprehensive support for developing IDE modules and rich client applications
based on the NetBeans platform, a new GUI builder (formerly known as "Project
Matisse"), new and redesigned CVS support, Weblogic 9 and JBoss 4 support,
and many editor enhancements. Modularity: All the functions of the IDE are
provided by modules. Each module provides a well defined function, such as
support for the Java language, editing, or support for the CVS versioning system.
NetBeans contains all the modules needed for Java development in a single
download, allowing the user to start working immediately. Modules also allow
NetBeans to be extended. New features, such as support for other
programming languages, can be added by installing additional modules. For
instance, Sun Studio, Sun Java Studio Enterprise, and Sun Java Studio Creator
from Sun Microsystems are all based on the NetBeans IDE.
MY SQL SERVER
he MySQL development project has made its source code available under the
terms of the GNU General Public License, as well as under a variety of
proprietary agreements. MySQL was owned and sponsored by a single for-profit
firm, the Swedish company MySQL AB, now owned by Oracle Corporation. For
proprietary use, several paid editions are available, and offer additional