Objective Java Multiple Choice Questions Part 4 | URDINESH

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

Friday, May 23, 2014

Objective Java Multiple Choice Questions Part 4

31.     Remote interface call by container is
a.       Remote / local based on container
b.       Flexible to make remote call as network call
c.       Always network call
d.       Local call

32.     EJB QL must have(CB)
a.       Select and from
b.       Select and where
c.       Select , from and where
d.       Based on DB schema
e.   can accept parameters(could be)

33.     Attribute that helps to create a new txn using the existing txn
a.       Supports
b.       Not supported
c.       Required
d.       Requires new
e.       Never

34.     Isolation level for removing dirty reads, phantom and repeated reads
a.       TRANSACTION_COMMITTED
b.       Serializable

35.     Which of the following is used when a stateful bean calls a stateless bean from the same container
a.       Local
b.       Remote
c.       Any

36.     MDB is
a.       Stateful bean
b.       Stateless session bean

37.     Deployment descriptor in EJB 3.0 (CB)
a.       Same as 2.0
b.       Not needed as annotations are used
c.       Must be used when necessary

38.     Primary key denoted using
a.       @Id

39.     Jboss detects code changes, deploys those files……
a.       True
b.       False

40.     Which of the following is not used to transform a POJO – entity

i.        DAO

No comments:

Post a Comment

Thanks for your valuable comments

Followers