---
Final Examination
Practical Question Paper
Developing Enterprise Applications with EJB
Semester: 4
Curriculum Code: 2101
Date:
Duration: 1 Hour
Total Marks: 25
Do not write on this question paper and return it to the Invigilator after the examination.
2101/ Sem4
Practical Paper
1/2
---
Total Marks:
Developing Enterprise Applications with EJB
[25.0]
A marketing company has planned to advertise their various products on different places using
computer. They want to display product lists their details and price. They also want to highlight
different new products launched. Details should get updated automatically whenever there is a
change in product price or a new product is launched. The backend of the PCs is handled remotely
by the Head office. The developer spends a lot of time to update database, as it changes frequently.
The head of the development team has decided to start using entity beans which supports
automatic generation of database handling code.
You as a member of the development team need to perform the following:
Create the following tables in the database for storing ‘Product details’ and ‘Sales details’.
Create relationship between both the tables.
Generate CMP beans for both the tables.
Display the entire details of both the tables.
Sale (Table)
SlNo
SalesmanID
ProdID
SalesmanName
DOS
2101/ Sem4
Practical Paper
Product (Table)
ProdID
ProdName
Description
DateOfManf
Price
2/2