Sie sind auf Seite 1von 4

WEEK 4: SYNOPSIS Airline Passenger Registration using EJB

Introduction to Enterprise Java Beans (EJB)


Enterprise Java Beans (EJB) is a managed, server-side component architecture for modular construction of enterprise applications. It was introduced in late 1999 and it has gained importance largely because EJBs simplify developing strong business and commercial modules. An EJB is a non-visual, remote object. EJB's are remotely executable components or business objects that can be deployed only on the server. Even though EJB is a component technology, it neither builds upon nor extends the original JavaBean specification. EJBs have a deployment descriptor that describes its functionality to an external builder tool or IDE. EJBs are of two types - session beans and entity beans. EJB's may be transactional and the EJB servers provide transactional support.

Types of EJB:
It is very crucial to determine the application functionality that will compose the EJB. In EJB architecture database persistence-related logic should be independent of the business logic that relies on the data. This helps to separate concerns about business logic from database concerns. There are three different types of EJB that are suited to different purposes: 1. Session Beans These are used to manage the interactions of entity and other session beans, access resources, and usually perform tasks on behalf of the client. Session Beans commonly represent "pure" functionality that is created as it is needed.

Asession bean can access the database but it doesnt mean anything in a database. Itslifetime is the duration of a particular interaction between the client and the EJB.

There are two basic kinds of session bean: a. Stateless Session Bean It is intended to be simple and light weight components. A stateless session bean does not maintain a conversational state for a particular client. Stateless session beans can support multiple clients and hence they can offer better scalability. b. Stateful Session Bean These are business objects having state. They keep track of which calling client they are dealing with throughout a session and thus access to the bean instance is strictly limited to only one client at a time. 2. Entity Beans These are used to represent data in the database. Basically entity beans model business concepts that can be expressed as nouns. For example, an entity bean might represent a customer, a piece of equipment, an item in inventory. Thus entity beans model real-world objects. There are two basic kinds of entity beans: Beans in which their container managed the persistent state were said to be using Container-Managed Persistence (CMP), whereas beans that managed their own state were said to be using Bean-Managed Persistence (BMP).

Airline Ticket Management - Passenger Registration

Introduction
This software targets to provide complete solution for airline and reservation related services. It is a computerized management system. This management system helps to form the whole management system which includes employees, passengers, pilots, dispatch officers, tickets, complains etc. Besides the software assets of the organization, this system also keeps the records of the hardware assets. The proposed system will thus take care of the present status of the employees, passengers, pilots, dispatch officers according to their present status. This project is based on GUI based software which helps in storing, updating and retrieving the information using various types of user-friendly menu driven modules.

Problem Statement:
A user interface or software would be developed which in turn would be connected to a database that will be maintaining all the records of the Passengersand various other details related to them. Any updation done at a particular department would be reflected as well as updated in the main database.

Objective:
The major objective of this airline management system is to maintain the day-to-day state of bookings of passengers, list of flights, list of pilots, tickets etc. The major motive of the airline management system is to provide the following facilities: 1. The software helps in maintaining passenger details. 2. It helps in providing travel related information. 3. It helps in generation of tickets and details of a passenger. But we will be covering only Passenger Ticket Reservation for the airline management connecting to the database in this EJB project.

Software Platform
FRONT END: HTML, JavaScript BACK END: MySQL IDE: NETBEANS 7.1.2 SERVER: GLASSFISH LANGUAGE: J2EE(EJB),JDBC

Hardware Platform
Computer System: Pentium Based system with at least 2.4 GHz speed or Higher. RAM: At least 256 MB, It is recommended to have anything more than 256 MB of RAM for fast processing on data. Hard Disk Space: At least 1 GB of free space, it is recommended to have more than 2 GB of free space for data storage.

Conclusion
The major functions include Providing flight details Flight bookings for a particular destination, date and time and also providing with a pin code. Allowing the customer to modify or cancel his reservation provided the correct pin code is given. Displaying a report of the number of people flying in a particular flight.

But we will be covering only Passenger Ticket Reservation for the airline management connecting to the database in this EJB project.

Das könnte Ihnen auch gefallen