Objective Java Multiple Choice Questions Part 3 | URDINESH

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

Friday, May 23, 2014

Objective Java Multiple Choice Questions Part 3

21.     Not a txn attribute
a.       Support
b.       Supports
c.       Supporting
d.       Supported
e.       None

22.     Cache-idle-timeout-seconds means
a.       Application turns off caching after timeout
b.       Idle beans are destroyed from memory after timeout
c.       Idle beans are passivated after timeout

23.     Advantages of messaging (CB)
a.       Synchronous
b.       Decoupling
c.       Reliability
d.       Multiple sender & receiver
e.       All

24.     JANE,JAYME,ANN
Select C from Customer where name like ‘_A%E%’
The query returns :
a.       None
b.       JAYME
c.       JANE
d.       ANN

25.     EJB QL used for (CB)
a.       Finder methods
b.       Select methods
c.       Create methods
d.       Home business methods

26.     Why client txn is not advisable in EJB
a.       Decreases speed
b.       Small granularity
c.       DB locks
d.       Should be used


27.     Advantages of using session bean for calling entity beans (CB)
a.       BMP
b.       No dependency injection
c.       CMP
d.       Dependency injection

28.     Which bean is best in performance
a.       Stateful
b.       BMP
c.       CMP
d.       MDB

29.     Session bean / entity bean throws __________ exception and MDB throws ______ exception
a.       Remote,remote
b.       No exception,RMI
c.       RMI,remote
d.       Remote,no exception

30.     Authentication of credit card when swiped is done by
a.       Stateless
b.       Steteful
c.       Entity
d.    Stateless + MDB

No comments:

Post a Comment

Thanks for your valuable comments

Followers