2. First introduced to India in 1853.
During 1947 there were 42 Rail units.
In 1951 it is Nationalized , thus it becomes one of the
biggest Rail networks in world.
3. Indian Railways is the world's second-largest
railway .
6,853 stations, 63,028 kilometers of
track, 37,840 passenger coaches and
222,147 freight cars.
Annually it carries some 4.83 billion
passengers and 492 million tons of freight.
4. Continuous update of information about current
status and location of the assets.
Confronting and tackling the business challenges
on a real time basis.
To modernize their operations and practices to
suit the needs of their customers
To gain tremendous competitive advantage in the
present and future business environment.
5. Design, development & implementation of
computer based information systems and
associated communication networks.
Technical support and services to
develop, setup , operate and maintain any
computerized system & underlying infra
structure.
6. Booking
Simple ticket selling.
No guarantee of seat.
Reservation
Ticket & guarantee of
accommodation.
7. An online application of CRIS which aims to
report every incident in the ongoing
projects of different groups.
It is developed by PRS group.
Designed and developed for better
functionality and performance of different
projects of PRS group.
8. To report the bugs and incidents of a
particular project to the associated team.
To plan the schedule of activities , that
ensures the proper working of project.
To track & manage the status of reported
incidents and scheduled activities.
9. 3 – Tier architecture is three way interaction
in client server environment.
• Presentation Tier – constitutes user interface.
• Business Logic Tier – constitutes business
logic.
• Back end Database – data is stored in
database server.
10.
11. Model Layer – It consists the business Logic.
View Layer – It generates response to
browser.
Control Layer – It receives the request for
application & control way other two layers
interact.
14. Struts – An introduction.
Premier framework to design JAVA based web
applications.
Based on JSP model 2 architecture.
Fills in controller & view layer, model layer is
left to developer.
It is an open source framework.
15. Basic Components of Struts.
Base Framework.
JSP tag libraries.
• HTML.
• Bean.
• Logic.
• Nested.
Tiles plug-in.
Validator plug-in.
17. Action Class.
import It is responsible for
javax.servlet.http.HttpServletRequest;
import processing every
javax.servlet.http.HttpServletResponse; request.
import org.apache.struts.action.Action;
import
org.apache.struts.action.ActionForm; Transfers data from
import view layer to specific
org.apache.struts.action.ActionForward;
import business process in
org.apache.struts.action.ActionMapping; model layer & vice
public class UpdateUserAction extends versa.
Action {
public ActionForward
execute(ActionMapping
mapping, ActionForm
form, HttpServletRequest
request, HttpServletResponse
response) throws Exception
{ // Perform request processing here.
18. Action Forward Class.
import javax.servlet.http.HttpServletRequest; It encapsulates
importjavax.servlet.http.HttpServletResponse
; import org.apache.struts.action.Action; forward.
Import org.apache.struts.action.ActionForm;
Import
org.apache.struts.action.ActionForward; Forward allows to
import use the alternate
org.apache.struts.action.ActionMapping;
public class UpdateUserAction extends
name for URL’S &
Action { public ActionForward then this name is
execute(ActionMapping
mapping, ActionForm
used as reference.
form, HttpServletRequest
request, HttpServletResponse
response) throws Exception The return type of
{ // Perform action processing. return execute() is
new ActionForward("updateSuccess");
}
ACTIONFORWARD.
}
19. Struts Working Diagram.
strut-config.xml
2: Get Mapped
Action 3: Invoke mapped
Action Bean Controller
1: Post 4: Retrieve Data
Browser ActionServlet ActionBean Data
Resource
Front
Controller
5: Establish
7: redirect to bean state,
appropriate view then place in
6: Establish Form
session or
State
request
object
JSP ActionForm Beans
8: Get View
The View Information The Model