Exam 6: JSP, EJB, and JMS
Exam 1: Java Programming: HTTP Protocol, Scripting Tasks, and Data Access25 Questions
Exam 2: Servlets and Web Applications25 Questions
Exam 3: Java Server Pages JSP and Java Script25 Questions
Exam 4: Java, Servlets, JSP and EJB25 Questions
Exam 5: EJB, JSP, and Corba25 Questions
Exam 6: JSP, EJB, and JMS25 Questions
Exam 7: Java Web Development25 Questions
Exam 8: EJB and Server-Side Components11 Questions
Select questions type
Which statement characterizes stateless session beans?
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
A
Which two of the following is responsible to creates ejb-jar files?
1) The bean provider.
2) The application assembler.
3) The deployer.
4) The system administrator.
Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
A
Which statement about entities is correct?
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
C
Which services are provided to EJB components by the EJB container?
(Multiple Choice)
4.9/5
(37)
Which of the following is not an implicit object in JSP?
I. Request.
II. Session.
III. Vector.
IV. In.
(Multiple Choice)
4.9/5
(40)
EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence.
(Multiple Choice)
4.9/5
(33)
A message driven bean is like statefull session bean that encapsulates the business logic and doesn't maintain state.
(Multiple Choice)
5.0/5
(32)
Which EJB container must provide an implementation of Java Naming and Directory Interface (JNDI) API to provide naming services for EJB clients and components?
(Multiple Choice)
4.7/5
(29)
Which two of the following must be included in every ejb-jar file?
1) Stubs for the EJBHome and EJBObject interface.
2) The JAR Manifest file.
3) A deployment descriptor.
4) The JNDI context.
5) The EJB's home interface.
(Multiple Choice)
4.8/5
(37)
A session bean represents a multiple clients inside the Application Server.
(Multiple Choice)
4.9/5
(33)
Upon invoking getRollbackOnly() method by a business method in an entity bean, which transaction attribute settings will lead the ejb container to throw an exception?
(Multiple Choice)
4.8/5
(40)
JMS is mainly used to send and receive message from one application to another.
(Multiple Choice)
4.7/5
(35)
The EJB Transaction Attribute that ensures the method call that always takes place in a transaction, either client started or container started' are
(Multiple Choice)
4.8/5
(34)
EJB is a specification for J2EE server, not a product; Java beans may be a graphical component in IDE.
(Multiple Choice)
4.8/5
(39)
Which session bean maintain their state between client invocations but are not required to maintain their state across server crashes or shutdowns?
(Multiple Choice)
5.0/5
(38)
A message-driven bean can have an instance of a MessageDrivenContext injected. Which method can be successfully invoked on this interface from a message-driven bean?
(Multiple Choice)
4.9/5
(38)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)