Professional Documents
Culture Documents
J2EE 1.6 is a powerful platform; however ,we may still find it difficult to start an application with the help of this platform. At times, even small enterprise applications need a lot of code , which needs to be reduced. You can reuse the code of an application in another application , which reduces time and effort .In addition, we can encapsulate the complexity of code by providing a set of APIs to the programmers. Therefore , the main objective of j2ee is to provide Java programmers a set of classes and interfaces that reduces development time and application complexity, thereby improving the performance of the application. J2EE is capable of meeting the requirements of different users in an organization, such as customers , suppliers, and employees, by providing various functionalities and services. For example, J2EE focuses on making the development of enterprise applications easier by supporting annotation and Plain Old Java Objects (POJOs) , reducing the need of Deployment Descriptors, enhancing Web Services and supporting technologies , such as Asynchronous JavaScript and XML(Ajax).
J2EE 6 APIs :
Java Servlet :
The Java servlet technology allows us to create HyperText Transfer Protocol specific servlets, which extend the capabilities of the server hosting applications. The servlet are accessed with the help of request-response programming model. A new version of the java servlet technology is introduced in J2EE platform i.e Java Servlet 3.0, which has the following features :
Provides asynchronous support i.e the ability to receive or send data to a client without blocking data Provides the use of annotations for Web applications instead of using deployment descriptors Provides support for Web framework pluggability which simplifies the task of plugging different Web frameworks in a web appalications,depending on the needs of the programmers Provides enhancements to existing servlet 2.5 APIs
JavaSever pages :
The JSP technology lets you to integrate java code with HyperText Matkup Language(HTML) in a text-based document. A JSP pages is a textbased document that contains :
Static template data that can be represented in a text based format such as HTML,Wireless Markup Language(WML) or XML JSP elements that can be used to display dynamic content on a web page
JSTL provides a set of standard tags that can be used in a JSP page by embedding Java Code. JSTL includes various tags to control the flow of execution of an application , to support internationalization, and to access a database by using Structured Query Language(SQL). An application using JSTL tags can be deployed on any JSP container that support the tags.
Application Servers :
An application server is a program that provides the business logic for an applications. In other words the application server provides a GUI to run three-tier applications. The application server acts similar to an extended virtual machine used to run applications and handle database transactions . In java platform the term application server sometimes refers to the J2EE platform. The following are noteworthy application server used to deploy J2EE applications :
that runs on the middle tier. It include connectors so that a client can interoperate with various servers applications and EJB components .
This server owned by IBM, is built by using open standards , such as J2EE,XML, and WebSevices . it works with various web servers,such as Apache HTTP server,Netscape Enterprise server and Microsoft Internet Information Srvices.
The JBoss application server, owned by JBoss, is an open source java EE based application server. It allows you to package ,deploy, and run various Java EE applications developed by using Java EE related technologies ,such as EJB,JSP,JSF and Hibernate. JBoss AS 5.1 is the latest version of the JBoss application server .
SOFTWARE USED:
jboss-4.2.2.GA
PROBLEM STATEMENT
JPG Engineering College Site For Admission And Student Maintenance JPG Engineering College is a famous college in Kolkata. They deliver engineering programs on different skills like Civil, Comp Sc., Mechanical etc. For every streams of engineering they conduct special admission test where the eligibility criteria is greater than 60% in 10+2 based exam and age should be within 17-19 years till the date of form fill-up. The college maintains a complete database for the admission process. The admission form has these followings Candidates name: Guardians Name: Fathers name: Mothers name: Postal address City/Village: Pin code: Telephone/mob no.: Every admission form must have an auto-generated unique identification number. Every stream is uniquely identified by stream-no. followed by title, duration, total fees mode of payment etc. Each stream has a max intake of 40 students. Based on CET where passing marks is 70% a student can take admission on any of the stream discussed above. On admission each student gets unique auto-generated roll no. & other information like session, total-fees, amount paid, pending amount etc. The student who has chosen installment mode of payment must pay his/her fees every month. The college maintains a report where student-wise or month-wise projection will be displayed.
Table of Contents:
OBJECT ORIENTED ANALYSIS AND DESIGN->Pg:9 USE CASE DIAGRAM->Pg:10 THE USE CASE SPECIFICATIONS->Pg:11-15 UC01: User Log in UC02: Enter Applicants Info and Generate admit Card UC03: Enter CET Marks Of The Applicants UC04: Generate Admission List UC05: Enter Admission Details And Generate Student DetailsUC06: Enter/Update Payment Details UC07: View Projection IDENTIFYING CLASS CANDIDATES AND ATTRIBUTE CANDIDATES->Pg:16-19 o Nouns and Noun phrases identified from UC01: User Log in Nouns and Noun phrases identified from UC02: Enter Applicants Info and Generate admit Card Nouns and Noun phrases identified from UC03: Enter CET Marks Of The Applicants Nouns and Noun phrases identified from UC04: Generate Admission List Nouns and Noun phrases identified from
UC05: Enter Admission Details And Generate Student Details Nouns and Noun phrases identified from UC06: Enter/Update Payment Details Nouns and Noun phrases identified from UC07: View Projection
Conceptual class diagram based on UC01 Conceptual class Diagram based on UC02 Conceptual class diagram based on UC03 Conceptual class diagram based on UC04 Conceptual class diagram based on UC05 Conceptual class diagram based on UC06 Conceptual class diagram based on UC07
DOMAIN LEVEL CLASS DIAGRAM->Pg:24 SEQUENCE DIAGRAM->Pg:25-31 DESIGN LEVEL CLASS DIAGRAM->Pg:32
Enter Applicants Info and Generate admit Card Enter CET Marks Of The Applicants Generate Admission List Enter Admission Details And Generate Students Details Enter/Update Payment Details View Projection
Enter Applicants CET marks Enter/Update payment details Enter Applicants Info & generate Admit card View projection Administrator <<extends>> Login Student wise <<extends>>
Department wise
10
USE CASE SECIFICATION UC01: User Log in Level: user goal. Scope: JPG Engineering College. Preconditions: Must be administrator Primary Actor: Administrator Success Guarantee: The Administrator can avail the services offered by the
JPG Engineering College
Extension(s):
2.a)invalid User input( User ID): b)System displays error message. c)System displays main menu to the customer.
11
Main Success Scenario: 1. Administrator inputs the details of the applicants.. 2. System validates the inputs 3. System prompts for registration confirmation 4. Administrator confirms Registration 5. System generates the admit card for the eligible applicants with auto-generated unique id no. Extension(s): 2a)Invalid applicants details 1. System displays error message 2. Main menu is displayed 4a) Administrator cancels registration 1. Main menu is displayed.
12
Scope: JPG Engineering College Precondition: All the Students CET marks are entered to the system by the administrator. Primary Actor: System Success Guarantee: The System will generate admission list which consists of the top 40 students of each stream who have scored minimum of 70% marks in the CET exam . Stake-holders and interests: Applicant: Wants to check the admission list whether he/she is able to get admitted in the college. Administrator : Wants to check the applicants who can get admission in the college. JPG Engineering College: To ensure users satisfaction Main Success Scenario: 1. Administrator enters applicants CET marks. 2. System generates admission list 3. The list is displayed to the administrator and all the applicants. Extension(s): 1a)System fails to generate admission list. 1. Error message is generated 2. Main menu is displayed
13
2.The System will generate students roll no. ,session, total fees, amount should be paid at the time of admission, pending amount.
Extension(s): 2a)Invalid students details 1. Error message is generated 2. Main menu is displayed 3a)System fails to register students details: 3. Error message is generated 4. Main menu is displayed.
UC06: Enter/Update Payment Details Level: user goal. Scope: JPG Engineering College. Preconditions: All the students details must be in the college database Primary Actor: System Success Guarantee: The administrator will enter the students admission
details, stream and payment scheme i.e. whether he/she is paying fees monthly or half yearly. The amount students need to pay at the time of admission, and the pending amount. After each payment the system will store how much amount is pending and when they have to pay. Stake-holders & their interests: Administrator: Wants to enter students details JPG Engineering College: The system will generate the amount students need to pay at the time of admission, and the pending amount. After each payment the system will store how much amount is pending and when they have to pay. Applicant : wants to know about his current payment status, fees payment date, how much amount is pending and when they have to pay.
Extension(s):
2.a)System displays error message. b)System displays main menu to the customer.
14
UC07: View Projection Level: user goal. Scope: JPG Engineering College. Preconditions: All the students details must be in the college database Primary Actor: System Success Guarantee: The system will generate how much college is getting
from students, how much it gets in a month and how much it gets from each department in a year. Stake-holders & their interests: JPG Engineering College: wants to know how much college is getting from students, how much it gets in a month and how much it gets from each department in a year.
Extension(s):
2.a)System displays error message. b)System displays main menu to the customer.
15
Nouns and Noun phrases identified from UC02:Enter Applicants Info and Generate Admit Cards
JPG Engineering College Administrator Applicants Applicants Details Admit cards Admission Test Unique ID Number Error message Class candidates JPG Engineering College Attribute candidates Admit cards Admission Test Unique ID Number Error message
Applicants Administrator
Applicants Details
16
Nouns and Noun phrases identified from UC03 : Enter CET Marks Of The Applicants
JPG Engineering College Administrator Applicants CET Marks Unique Admit Roll No. Error Message Class candidates JPG Engineering College Administrator Applicants Attribute candidates Error Message
Nouns and Noun phrases identified from UC04: Generate Admission List
JPG Engineering College Administrator Applicants CET Marks Stream Admission list Error Message
Applicants Administrator
17
Nouns and Noun phrases identified from UC05: Enter Admission Details and Generate Students Details
JPG Engineering College Administrator Admission list Student Admission details payment scheme Roll no. Session Total fees Payment Scheme Pending amount Error Message
Administrator Student
Admission details Roll no. Session Total fees Payment Scheme Pending amount
Nouns and Noun phrases identified from UC06: Enter/Update Payment Details
JPG Engineering College Administrator Student Total fees Payment Scheme
18
Attribute candidates Error Message Total fees Payment Scheme Pending amount
Administrator
Student Administrator
Payment Scheme
19
Logs In
1 1
UCO1:LOGIN
CONCEPTUAL CLASS DIAGRAM BASED ON UC0
JPG Engineering College Admin Details Applicants Details
1
Registered with
1 1 *
20
Registered With
1 1
Registered With
1 1
21
Registered With
1 1
Student
Name Stream Session CET marks *
Stream Enrolled in
* 1 Stream_id Max_intake duration Total Fees
Is A Type Of
22
Maintains
*
Payment
Payment Scheme Total Payment Pay Date pay For
Stream Has
1 * STREAM ID STREAM NAME MAX INTAKE TOTAL FEES DURATION
Registered with
1
Maintains
*
Student Roll no. Session Total fees Payment Scheme Pending amount
Payment
Payment Scheme Payment ID Pyament date Pay For
UC07:VIEW PROJECTION
23
Registered With
1 1 1
Has
1
Insert Details
*
Controls
1 1
Maintains
Payment Payment Given Date of next payment Date of admission due Payment
24
SEQUENCE DIAGRAMS:
Administrator:a dmin
Adminsitrator Interface:ai
Administrator Controller:AdminController
1: Ask for user name &pwrd 2: Enter name & pswd 3: Login 4: validate Login
LOGIN
25
Administrato t:admin
Administrator Intreface:ai
4: Insert App Detials 5: Insert Applicant Details 6: Generate Admit card info 7: Admit card details or Error message 8: return admit details or Error 9: Show admit card or error page
26
Administrato r:admin
Administrator interface:ai
Administrator Controller:ac
1: prompt to enter marks 2: Enter App ID and marks 3: validate marks 4: Check and insert marks 5: Insert marks
6: Return Confirmation 7: Return Confirmation 8: Return confirmation and promt to enter again
27
Administrato r:admin
Administrator interface:ai
Administrator Controller:ac
1: Ask to generate list 2: List generation request 3: Ask to generate list 4: Generate List 5: Return list 6: Return list 7: Show List
28
Administrato r:admin
Administrator interface:ai
Administrator Controller:ac
1: Ask for Admission details 2: Enter Details 3: validate inputs 4: Insert Details 5: Insert Admission details
29
Administrator interface:ai
Administrator Controller:ac
2: validate ID 3: Check Id and request Details 4: Get Stud pay options 5: Search ID and generate Stud pay option 6: Send details 7: Send Details 8: Show pay option and ask for month or sem
9: Enter month or sem 10: Confirm Submittion 11: Enter payment details 12: Insert Pay Details 14: Return Confirmation 13: Return Confirmation
30
Administrato r:admin
Administrator interface:ai
Administrator Controller:ac
2: Enter Details 3: Send projection request and details 4: Get projection Stats 5: Generate projection stats 6: Return Stats 7: Retrun Projection Stats 8: Show Projection
VIEW PROJECTION
31
Administrator
Administrator_ID Administrator Password setadmin_id() setPsw() login() req-generate list() get Stud_ID() GetAdmission Details() GetCETMarks() InsertApp_details() InsertStud Details() 1
Administrator Controller
Admin Details show error() show admission list() validate Stud_ID() getStud Pay_Details() getPay_Option() Show_conformaton() Validate Marks() Validate form() Show Admit_card() ShowStudDetail()
Controls
Registered with
Student
Name Father's Name Mother's Name Gardian's Name Address Ph no City Pin code Stream Roll no. * Set Stud_Details() SetCETMarks() *
Admitted In
Maintains
1 GetPayMode() 1 Calculate Amount() View Projection()
Stream
Stream id Duration Fess Max_Intake Set Stream_ID() Set Max Intake() Set Duration() Set Total_fees() *
Enrolled
Has
Is A Type Of
*
Applicant
SetStudDetails()
32