Professional Documents
Culture Documents
Came being on 1st October, 2002. Carved out of 2 divisions each from Northern and Western Railways
Division Name Jaipur Division Total No. Of Stations 128 Total No. Of Trains Staff Strength 146 15065
198 144
130
142 92
36
13728 10231
9046
CSS
Cascading Style Sheets Developed to control presentation of html Presentation is separate from html structure
Java Script
A scripting language used to add interactivity and functions to website. Created by Netscape in 1995. Dynamic Menus and Client side validations
Advantages Of CGI
good web browser compatibility it has no limitation of browser and firewall CGI is easy to learn and use CGI Doesnt require any special library to create a CGI program freely available scripts that provide shopping carts, credit card processing, template systems, discussion forums etc.
CGI programs are slow since they need to fork a new process for every HTTP request and the database connection must be reopened for the next instance of the program. They put excessive pressure or loads on the server
Java Servlet
Java Servlet
A servlet is a Java programming language class used to extend the capabilities of servers. It can be thought of as a Java Applet that runs on a server instead of a browser. To deploy and run, the Apache Tomcat Server may be used. The servlet API, contained in the Java package hierarchy javax.servlet
Java Servlet
Advantages Over CGI
In CGI each time a request comes a separate shell is created for execution but in the servlet only a thread is created. CGI request causes the CGI script to be copied and loaded into memory as many times as there are requests but in the servlet one copy of the servlet class created in memory that stays there also between requests. A servlet can be run by a servlet engine in a restrictive environment, called a sandbox. This makes a restrictive use of potentially harmful servlets possible.
Java Servlet
Servlet Life Cycle
Java Servlet
Struct Framework
Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture. The goal of Struts is to separate the model from the view and the controller . Struts provides the controller (a servlet known as ActionServlet) Requests from the client are sent to the controller in the form of "Actions" defined in the configuration file. The model code returns an "ActionForward", a string telling the controller what output page to send to the client.
Element Example
<%--comment--%>
Directive
Declaration
<%@ directive%>
<%! Declaration >
Scriptlet
Expression
<%code%>
<%= expression %>
ActionScript
ActionScript 3.0 is an object oriented language developed primarily by Adobe for creating application or multimedia content which can be run in Flash client runtimes like Flash Player and AIR.
Flash Builder
Adobe flash builder 4.5 formerly adobe flex builder is an Integrated Development Environment ( IDE ) from adobe system for ActionScripts and flex development.
CONCLUSION
NORTH-WESTERN RAILWAY, AJMER. The training helps in gaining depth knowledge about technologies used in development of real life projects. I gain the knowledge of working as a team member in the team of developers and they give me very good knowledge of how to work on different type of tools and software environment. The use of RIA is most common and needed in the present scenario. RIA used with java servlet, jsp and struct gives the complete package for developing any website efficiently and reliably.