81. JBoss server capable of hot deploy of services
keeping track of dependencies. T/F? –
82. Which is
a consumer in Topic?
MessageSubscriber
83. Which is a producer in Topic?
MessagePublisher
84. Which of the following is correct?
a. EntityManager
em=context.lookup();
b. EntityManager
em=context.lookup(“persistence”);
c. EntityManager
em=(EntityManager)context.lookup();
d. EntityManager
em=(EntityManager)context.lookup(“persistence”);
e.
EntityManager
em=(EntityManager)context.lookup(“java:comp/ejb/entitymanager”);
85. Why do we not have any activation or passivation
in MDB like in session beans?
as MDB
receives messages at any time asynchronously
86.Match annotation with purpose:
@EntityListener- Used for Entity beans call back
method.
@ExcludeSuperClassListener – In an inheritance
hierarchy, the super class listener is ignored in the subclass
@ExcludeDefaultListener – DefaultListener will be
ignored.
87. Which protocol is used for remote calls?
RMI-IIOP
88. Which declaration of local interface is correct?
There was only one option with @Local annotation.
89. If an object is not found during JNDI lookup
what exception is thrown?
NamingException
90. What has replaced entity beans?
a. Persitence API
b. Database API
No comments:
Post a Comment
Thanks for your valuable comments