Aspect Oriented Programming :Sabarimala Web Portal
-
Upload
alien-coders -
Category
Design
-
view
3.284 -
download
2
description
Transcript of Aspect Oriented Programming :Sabarimala Web Portal
ByRanjay Kumar Ranjan
MCA 5th SemesterRoll. no.- 9558038
Apr 10, 2011
SABARIMALA PORTAL DEVELOPMENT
COMPANY PROFILE2
Tata Consultancy Services Limited (TCS Limited Company) is one of the world’s largest providers of information technology, consulting, services and business-process outsourcing which commenced operations in1968.
TCS is part of one of Asia's largest conglomerates the Tata Group, which has interests in areas such as energy, telecommunications, financial services, manufacturing, chemicals, engineering and materials.
TCS products and services help companies in various sectors effectively meet their business challenges. With technical expertise and employing a flexible approach to client relationships, TCS offers its clients: consulting, IT services, business process outsourcing, infrastructure outsourcing, and engineering and industrial services.
COMPANY PROFILE(contd..)3
Services provided by TCS Consulting IT services Business Process Outsourcing Infrastructure Outsourcing Engineering & Indusrial services
TCS helps clients from various industries solve complex problems, mitigate risks, and become operationally excellent. Some of the industries it serves are:
Banking and financial services Energy and utilities Government Healthcare and life sciences Retail &Telcome Insurance ,travel & hopitality Manufacturing
4
No official web site of Travancore Devaswom Board for Sabarimala Temple.
Facility of Online Payment to pilgrims. Information on the Sabarimala Master Plan, infrastructure funds
and privileges to donors. Option for the public to communicate with the Travancore
Devaswom Board. Publishing latest news and updates on the site regarding the
temple and Master Plan Updates. Information on the almanac of the temples, pooja timings, festival
calendar. History of the temple, rituals, systems and practices to devotees. Facility of Online Accomodation. Facility to Online Query & Feedback.
PROFILE OF THE PROBLEM ASSIGNED
LIMITATIONS OF THE EXISTING 5
No Standard official website of Travancore Devaswom Board(TDB) for Sabarimala temple.
The existing website provides information only about temple and its history.
The existing website provides maximum static pages. No interaction facility is provided with board members. No facility of Online Donations. No facility of Online Accomodations. There is no such facility that Pilgrims also give some
feedback about facility provided by TDB. No information about Master Plan. No dynamic pages of information related to pooja timings
and festival calendar.
SABARIMALA PORTAL DEVELOPMENT
6
PROPOSED SYSTEM
SABARIMALA PORTAL DEVELOPMENT7
It is an official website of TDB for Sabarimala temple . Will possess the facility of making online payments. It provides the facility of online donation. It provides the facility of online accomodation. Web site will provide latest information about Master
Plan Projects undertaken. Facility of updating and listing pooja timings
according to the festive calendar. Pilgrims can interact with board members and clear
their queries. Pilgrims can online ask any query regarding temple
from TDB administrator members.
Functionality Provided8
Add/Remove users.Add/Remove/Edit Master-plan project.Add/Remove/Edit the news which is related to temple.Some static pages.Update and list the pooja-timings.Whatever users/pilgrims ask the query,it is replied by
administrator members.Pigrims can make online donation.Pilgrims can also online book or release rooms for
accomodations.Flash news can be updated by administrator.Also direction of route-map,which help the pilgrims to arrive
at the temple.
List of Modules9
User Login - Logout Static Pages – View Opening & Closing Dates of Sabarimala Temple – View Opening & Closing Dates of Sabarimala Temple – Updation Master Plan Modules – Updation Master Plan Activities – Updation Reference Data - Updation News / Updates - Add News/Updates - View Photo Gallery Updation Photo Gallery View Donations – ePayment Donations – Cheque/DD Donations – Report Contact Us – Add Contact Us – Feedback/Query – List Contact Us – Feedback/Query – View Contact Us – Feedback/Query – Reply User Role Administration Module Administration Group Administration
Modules handle by Me
User Registration User-Login Opening & Closing Dates of Sabarimala
Temple – View Opening & Closing Dates of Sabarimala
Temple – Updation Contact Us – Add Contact Us – Feedback/Query – List Contact Us – Feedback/Query – Delete Contact Us – Feedback/Query – Reply
10
SOFTWARE REQUIRMENS11
Front End ----------------- JAVA web ServicesBack End ----------------- MY SQL Technology---------------- JAVA/J2EE, JSPTools ----------------- MyEclipse GanymedeOperating System -------- Windows XPWeb Server --------------- JBoss Application ServerFramework --------------- Struts 2 FrameworkBrowser ------------------- Mozilla Firefox, Internet Explorer,
Google Chrome
Hardware Requirmens12
Processor ----------------------- PENTIUM 3,4Clock Speed -------------------- 667 MHZRAM 128 MB------------------- 512 MBHard Disk----------------------- 20 GB or aboveDisplay Card-------------------- Super Video Graphics Adapter
(SVGA)Mouse --------------------------- Any optical MouseKeyboard ------------------------ Any KeyboardNetwork-------------------------- Any network supporting TCP/IP
User-Registration Module
UI Navigation Click on registerUI Validations All fields are validate. For example : (a) User name
Check the field is not empty Check the maximum number of characters entered is 250 it accept alphanumeric character along with special characters Checks whether only the special characters like _,space,- are
allowed (b) Password Check the field is not empty Should allow the entry of alphanumeric and special characters When the entry is made it should encrypt and display as ” * “
to the users
13
Action classes RegistrationAction
Action would retrieve register the users. Action would invoke
SabarimalaDAO.readUserRegistration()• “READ_USERREGISRAION_QUERY” would be used• The query pulls a List of user name objects each
representing a authorised user in db. Action forwards to / admin/registration.jsp
JSP would have a javascript check to see if any values are updated.
Purpose : Register the user such that valid user can login the
system.
14
User-Login Module
UI Navigation Login-> user name → password → login UI Validations (a) User name
Check the field is not empty Check the maximum number of characters entered is 250 it accept alphanumeric character along with special characters Checks whether only the special characters like _,space,- are
allowed it accept when only alphabets are given when tab is pressed it
goes to password text box. Check whether the user name entered is available in the
database after the tab key is pressed Error message thrown for the wrong entry of user name when OK button in the error message is clicked the cursor
should be on the user name text box
15
Contd……
(b) Password Check the field is not empty Should allow the entry of alphanumeric and special characters When the entry is made it should encrypt and display as ” * “
to the users When wrong password is entered and does not matches with
the values in the database the error message is thrown When OK button in the error message is clicked the cursor
should be on the user name text box Action classes(LoginAction)
Action would retrieve the user name and password (b)Action would invoke
SabarimalaDAO.readUsernamePassword()• “READ_USERNAME_PASSWORD_QUERY” would be
used• The query check authorised user in db.
(c) Action forwards to / admin/login.jsp
16
Opening and Closing dates of sabarimala temple
UI Navigation Admin-> Login-> Opening and Closing dates of
sabarimala temple UI Validations Validation perform on each field of Opening and closing
dates of sabarimala temple. Action classes (Opening-ClosingAction) Action would set the opening and closing dates and time of
different occasion. Action would invoke
SabarimalaDAO.setOpeningClosingDates() “READ_OPENING-CLOSING_QUERY” would be used The query set opening-closing date and time. Action forwards to / admin/opening.jsp JSP would have a javascript check to see if
any values are updated.
17
17
Contd...
PURPOSE : Update the time-table of different
occasion day by day by admin. The updated event by admin is also
update to static page of opening and closing dates at sabarimala temple,such that general users/pilgrims see the deatails.
The main facility is to calender deatails of opening and closing is in both English and Malyalam calenders. M denotes malyalam calender and E denotes English Calender.
18
ContactUs-Add Module
UI Navigation Left Menu → ContactUs UI Validations 1. Name
Check the field is not empty Check the maximum number of characters
entered is 50 Check Name is valid or not.
2. Email Check Email is mandatory when Category is
selected as query. Check Email is not mandatory when Category is
selected as query. Check Email is valid or not. 3. Message Check the field is not empty 4.Category Check the field is Prepopulated with values
query/feedback. 5. Subject Check Subject name is valid or not.
19
Contd..
Action classesSubmitContactUsMessageAction1. Action would save the feedback/query into ContactUs table in
database.2.Action would invoke SabarimalaDAO.addNewMessage() (a)“INSERT_NEW_MESSAGE_QUERY” would be used (b)The query insert the feedback/query in db.3.Action forwards to (a) /admin/insertSuccess.jsp or (b)/admin/error.jsp (in case any exception happens)
Purpose: The purpose of this module is to,It provides a faciliy to
users/pilgrims that can post his/her feedback/query to the admin of temple.
20
20
ContactUs-List & ContactUs-Delete Module
UI Navigation Login → Admin - >Contact_Us → List Message Login → Admin - >Contact_Us → Delete Message
UI Validation All fields are validate with suitable validation.
Action classes
ListMessageAction Action would list the messages from the Contact_Us
table. Action would invoke SabarimalaDAO.listExistingMessage() Action forwards to /admin/listMessage.jsp or /admin/error.jsp (in case any exception happens)
21
Contd..
DeleteMessageAction Action would delete the record from the Contact_Us table. Action would invoke
SabarimalaDAO.deleteExistingMessage() UPDATE_ USERS_ SET_QUERY would be used to mark the
particular record as deleted. Action forwards to /admin/deleteSuccess.jsp or /admin/error.jsp (in case any exception happens)
readMessageAction 1. Action would retrieve the message from the Contact_Us
table.2. Action would invoke SabarimalaDAO.readExistingMessage()3. SELECT_ USERS_ SET_QUERY would be used to mark the
particular record as view. 4. Action forwards to (a) /admin/readSuccess.jsp or (b) /admin/error.jsp (in case any exception happens)
22
ContactUs-Reply Module
UI Navigation Login -> Admin ->ContactUs → ListMessage → view UI Validations Comment
Check the field is not empty Check the maximum number of characters entered is 250
Action classesListMessageAction Action would list the messages from the Contact_Us
table.Action would invoke
SabarimalaDAO.listExistingMessage()Action forwards to/admin/replyMessage.jsp or /admin/error.jsp (in case any exception happens)
23
Contd..
ReplyMessageAction1. Action would reply to users message.2. Action would invoke SabarimalaDAO.ReplyOldMessage() (a)“REPLY_MESSAGE_QUERY” would be used (b)The query insert the reply message in db.3. Action forwards to (a) /admin/replySuccess.jsp or (b)/admin/error.jsp (in case any exception happens)
24
SABARIMALA PORTAL DEVELOPMENT
25
TECHNOLOGY USED
JAVA,JSP26
Java is an object-oriented programming language developed by Sun Microsystems in the early 1990s.
Features :- Compiled and interpreted Platform independent and portable Object oriented Robust and secure Distributed Familiar, simple and small Multithreaded and interactive High performance Dynamic and extensible
JAVA SERVER PAGE(JSP)-JSP is a presentation layer technology that sits on top of a Java servlets model and makes working with HTML easier. JSP allows you to mix static HTML content with server-side scripting to produce dynamic output. By default, JSP uses Java as its scripting language.
MySQL27
MySQL is the world's most popular open source Relational Database Management System
Features : MySQL are very fast and much reliable for any type of application. MySQL is very Lightweight application. MySQL command line tool is very powerful and can be used to run SQL queries against database. MySQL supports indexing and binary objects. It is allow changes to structure of table while server is running. MySQL has a wide user base. It is a very fast thread-based memory allocation system. MySQL Written in C and C++ language. MySQL code is tested with different compilers. MySQL is available as a separate program for use in a client/server network environment. The MySQL available for the most UNIX operating platform, window operating system window NT,
window 95, and window 98 and also available for OS/2. Programming libraries for C, Python, PHP, Java, Delphi etc. are available to connect to MySQL
database.
Struts2 Framework28
Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time.
Struts 2 is an implementation of MVC framework. i.e. the data that is to be displayed to user has to be pulled from the Action.
Model View Controller Architecture is all about dividing application components into three different categories Model, View, Controller.
Model-The model object knows about all the data that need to be displayed.
View-The view represents the presentation of the application. Controller-Whenever the user sends a request for something then it
always go through the controller. The controller is responsible for intercepting the requests from view and passes it to the model for the appropriate action.
DFD(level 0)29
LEVEL-1(for admin)30
LEVEL 1(for users/pilgrims)31
Level-2, Level-2.1 (User-Registraion)
Level2(Level-2.2)
33
Level-2.334
Level-2.435
Level-2.536
DATABASE -DESIGN37
38
39
40
41
42
TESTINGS
SYSTEM TESTING Testing conducted on a complete, integrated system
to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic.
UNIT TESTING Functional and reliability testing in an Engineering
environment. Producing tests for the behavior of components of a product to ensure their correct behavior prior to system integration.
INTEGRATION TESTING Testing in which modules are combined and tested
as a group.
43
Contd..
BLACK BOX TESTING Testing without knowledge of the internal
workings of the item being tested. Tests are usually functional.
WHITE BOX TESTING Testing based on an analysis of internal workings and
structure of a piece of software.ACCEPTANCE TESTING Testing to verify a product meets customer specified
requirements.COMPATIBILITY TESTING Testing to ensure compatibility of an application or Web
site with different browsers, OSs, and hardware platforms.
CONFORMANCE TESTING Verifying implementation conformance to industry
standards.
44
45
TABLE NAME-Donation46
49
50
51
52
53
54
55
56
57
Thanks58