Objective Java Multiple Choice Questions Part 6 | URDINESH

Software Programming, Tutorials, Interview Preparations,Stock Market,BSE/NSE, General informations

Friday, May 23, 2014

Objective Java Multiple Choice Questions Part 6


51.     Remote calls use (CB)
a.       RMI/IIOP
b.       TCP/IP
c.       TCP
d.       IIOP/RMI
e.       RPC

52.     EntityManager reference can be obtained from inside or outside of EJB container
a.       True
b.       False

53.     Which of the following does not raise an exception when a method is not called from within a txn
a.       REQUIRED
b.       REQUIRES_NEW
c.       NEVER
d.       SUPPORTS
e.       NOT_SUPPORTED

54.     EntityManager can flush before query ends
a.       True
b.       False

55.     Select object(p) from Player p
When findAll method is implemented in LocalPlayerHomeInterface the query returns objects of type
i.        Player
ii.       LocalPlayer
a.       i
b.       ii
c.       i & ii

56.  Exception that occur when there is no JNDI lookup match
       BindingException
       NamedDoesNotExsistExption
       NullPointerException
       DoesNotExsistNamedException

57. Property not annotated but serialized is mapped to column using
       @Embedded
       @embeddable
       @basic
       @Serialized

58. Design pattern for Read only
       FastReader
       AbstractFactory
       Fastline Reader
       Singleton

59. MessageListener class is
       Has one method
       Is a marked interface
       Has 2  methods

60. Coarse grained EJB are
       Fast
       Slow
       Difficult to maintain
       Serializable


No comments:

Post a Comment

Thanks for your valuable comments

Followers