Java J2EE Question and Answers

1. What J2EE?
 
  • J2EE is a standard for building enterprise applications. It includes technologies for implementing business logic, database access, message exchange, transaction management, web requests processing and many other features.
  • The main approach of J2EE is separating presentation level from business logic(lightweight client applications) and business logic from data storage ( application level of n-tier architecture).
  • J2EE is an environment for developing and deploying applications.
  • The J2EE platform consists of a set of services, application programming interfaces (APIs) and protocols that provide the functionality for developing multitiered, web based applications.
 
Your Name Your Email-ID
Your Answer
2. What is applet container?
 
  • IManages the execution of applets.
  • Consists of a Web browser and Java Plugin running on the client together.
 
Your Name Your Email-ID
Your Answer
3. What is Enterprise Java Beans (EJB) container?
 
  • It manages the execution of enterprise beans for J2EE application.
  • Enterprise beans and their container run on the J2EE server.
 
Your Name Your Email-ID
Your Answer
4. What is life cycle (J2EE component)?
 
  • The framework events of a J2EE component's existence. Each type of component has defining events that mark its transition into states in which it has varying availability for use.
  • For example, servlet is created and has its init method called by its container before invocation of its service method by clients or other servlets that require its functionality.
  • The init and destroy methods in this example are callback methods.
Similar considerations apply to the life cycle of all J2EE component types :
  • Enterprise beans
  • Web components (servlets or JSP pages)
  • Applets and
  • Application clients
 
Your Name Your Email-ID
Your Answer
12345678910 Page 1 of 10