On This Page

This set of J2EE Technologies Multiple Choice Questions & Answers (MCQs) focuses on J2Ee Technologies Set 2

Q1 | Which EJB container must provide an implementation of Java Naming and Directory Interface (JNDI) API to provide naming services for EJB clients and components?
Q2 | EJB is a specification for J2EE server, not a product; Java beans may be a graphicalcomponent in IDE.
Q3 | A session bean represents a multiple clients inside the Application Server.
Q4 | Which component does the Entity bean represent the persistent data stored in thedatabase?
Q5 | EJB is like COM, Abbreviate the term COM?
Q6 | JMS is also known as a messaging service.
Q7 | What represents a persistent global data from the database?
Q8 | Which component does the Entity bean represents the persistent data stored in the database?
Q9 | In EJB, middleware services are provided by EJB Container automatically.
Q10 | Which middleware services are provided by EJB?
Q11 | Which server-side component is required to be deployed on the server?
Q12 | Which type of instances retain no data or conversational state for a specific client?
Q13 | EJB technology is built on the top of Socket Programming
Q14 | How constructor can be used for a servlet?
Q15 | Can servlet class declare constructor with ServletConfig object as an argument?
Q16 | Java Servletsare efficient and powerful solution for creating .......................for the web.
Q17 | ..................... is the first phase of the servlet life cycle.
Q18 | The service phase of the servlet life cycle represents all interactions with requests until the servlet is ......................
Q19 | GET methods are great for sending ....................amounts of information that you do not mind having visible in a URL.
Q20 | Several vendors are adding ...................... to their existing database .................
Q21 | Which of the following code is used to get an attribute in a HTTP Session object inservlets?
Q22 | A servlet needs to acquire a data source through a JNDI naming lookup. Which of the following is the best place to do this?
Q23 | What's the difference between servlets and applets? a. Servlets executes on Servers, where as
Q24 | Which of the following code retrieves the body of the request as binary data?
Q25 | When destroy() method of a filter is called?