Lengkap

Airport

Problem description: I have to design a system, using C++, that must make provision for handling the reservation of a seat or seats (i.e. group booking) on a particular flight, identified by a unique flight number, as well as payment for the tickets(s). First of all the availability of seats on a given flight is checked, then the price of a given seat. Next the following is recorded for a reservation and accompanying payment (we assume that tickets are paid for at the time that the reservation is done): the name of the passenger, the departure date, the scheduled departure and arrival times, the departure and arrival airports. It also records the cost of the ticket(airfare plus airport duty), and the credit card number (we make provision for credit card payments only). For simplicity sake we also assume that this system does not make provision for enquiries on the availability of alternative flights to a particular destination. Furthermore, we begin with a single airline, and later extend it to include more than one airline. What needs to be done is to create application objects to provide services to client programs. These objects co-operate to provide an overall service to a client. E.g., a reservation object may use an available-seats object, a ticket-fare object, and a payment object to process a user's transaction to purchase an airline ticket. Within the CORBA framework, we thus have to create application objects (i.e. object implementation) for each of the "services" mentioned above , as well as clients of these objects, and then use the ORB for communication between these clients and server objects. The IDL interface definitions of these server components inform the clients exactly what operations are supported, the types of their parameters, and what return types to expect. Each operation has a signature, expresses in IDL, that contains the following mandatory elements: 1. An operation identifier (also called an operation name) 2. The type of the value returned by the operation 3. A (possibly empty) list of parameters, each with a name, type, and direction indication. The direction will be one of in, out, or inout, stating that the parameters are being transmitted from the client to the object, are being returned as a result from the operation, or is client data to be modified by the operation, respectively.

## Deliverables

On the client side only the IDL is needed to write client code that can invoke operations on these server objects. The corresponding programming language constructs (in this case C++) are then generated by the IDL compiler supplied by the ORB vendor (in this case Mico) The IDL compiler also generates stub code that the client links to and this translates, or marshals, the programming language data types into a message format for transmission as a request to an object implementation. The object implementation also has linked to it similar marshalling code, i.e. a skeleton, that unmarshalls the request into programming language data types. The skeleton can be generated by a different IDL compiler with a different language mapping. Programming steps: The following programming steps are typically required to write a distributed client-server system in CORBA and an application programming language (say C++): 1. Define the interface, using the standard IDL 2. Implement these interfaces with C++ classes 3. Write a server main function which creates instances of these classes 4. Write a client main function to connect to the server and to use the server's objects On the server side, the aim is to create a server, called ReservationOfficeSrv, which contains a ReservationOffice object with the following methods: 1. ListAvailableSeats 2. GetPrice (for a specified seat) 3. makeReservation (includes credit card payment) 4. makeGroupReservation (also includes credit card payment) --Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.--

## Platform

Windows 98

## Deadline information

Must be completed by 12h00 04-08-2002 GMT +02:00. Coders from anywhere in the world welcome.

Kemahiran: Pengaturcaraan C, Kejuruteraan, Microsoft, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian, Destop Windows

Lihat lagi: world programming system, world programming, what is server side programming, what is programming language, what is client services, what is a programming framework, what is application programming interface, what is an object in programming, what is an application programming interface, what are classes in programming, use case extend, types of programming language, ticket alternative, the first programming language, standard c types, server side programming language, programming language types, programming language list, programming definitions, programming define

Tentang Majikan:
( 0 ulasan ) South Africa

ID Projek: #2861694

Dianugerahkan kepada:

ajneya

See private message.

$42.5 USD dalam 14 hari
(5 Ulasan)
2.7

3 pekerja bebas membida secara purata $142 untuk pekerjaan ini

vw139994vw

See private message.

$42.5 USD dalam 14 hari
(60 Ulasan)
4.5
swameevw

See private message.

$340 USD dalam 14 hari
(5 Ulasan)
4.5