The document provides details about an assignment for an Advanced Java Programming course. It includes instructions to attempt 5 questions out of 10 provided, covering topics like client-server communication, introspection, persistence, Java beans, EJB component types, stateless and stateful session beans, entity beans, JMS, and servlets.
The document provides details about an assignment for an Advanced Java Programming course. It includes instructions to attempt 5 questions out of 10 provided, covering topics like client-server communication, introspection, persistence, Java beans, EJB component types, stateless and stateful session beans, entity beans, JMS, and servlets.
Subject Code: CIE-306T Class: AIML-IV/MLDA-I Faculty: Dr. Sunil Maggu
Assignment Date Given Due Date Mode of Total Marks COs
No Submission mapped 1 18/03/2024 22/03/2024 Hand written, Hard 10 CO2 Copy
ATTEMPT ANY 5 Questions covering UNIT 2:
1. Write a java program to show client – server communication.
2. Define introspection and explain different ways of implementing introspection for a bean class. 3. Write a note on persistence. State and explain EJB container services? 4. Write a note on java bean API. Define EJB? Explain steps to create Java Beans with an example and differentiate between Java class and Java Beans and its EJB component types? 5. Write the difference between stateless session bean and state full session beans? 6. Write a session bean program to implement appropriate business logic 7. Write an Entity bean program to implement appropriate business logic. 8. Write a note on a) JMS b) LOCAL AND REMOTE INTERFACE c) COMPONENT INTERFACE d) ENDPOINT INTERFACE e) JMS/QUEUE f) JMS/TOPIC 9. Write a program in Servlet; accept the username & password if it matches show the hello message. Otherwise make go to Login page with error message. 10. Write a program in Servlet generates the page which show session status, Session ID, creation time, last accessed time & max inactive interval with the two buttons Exit & Reload. If click on the on exit button session will expire & Give the facility to create new Session. Click on Reload button, page will once again reload.
Instructions:
1. Write your name, roll number and phone number on front page in clear writing. 2. Failure to submit in time will incur penalty in marks.