Objective Java Multiple Choice Questions Part 2 | URDINESH

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

Friday, May 23, 2014

Objective Java Multiple Choice Questions Part 2

11.     “More persistence involving relational database “
a.       BMP
b.       Stateful
c.       Stateless
d.       CMP

12.     Transactions can be controlled by (CB)
a.       Lazy loading
b.       Turning off auto-comit
c.       TX_REQUIRED
d.       Cannot be controlled completely

13.     Which of the following is implemented in EJB when you want full control over transaction
a.       Management API
b.       Leave it to the container
c.       JTA API
d.       JDBC API

14.     Select Object (A) from Customer As A
Select C From Customer A
The above two are equivalent
a.       True
b.       False (not sure)

15.     In container managed txn the attributes are defined through (CB)
a.       Dependency Injection
b.       Annotations
c.       Deployment descriptor

16.     MDB interface extends
a.       Javax.ejb.SessionInterface
b.       Javax.ejb.StatefulInterface
c.       Javax.ejb.StatelessInterface
d.       Javax.ejb.EnterpriseInterface

17.     No large granularity by(verify)
a.       Stateless SB(sl - ans)
b.       Multiple java classes
c.       Multiple DB tables
d.       Business methods and encapsulating business rules

18.     Persistence is achieved through
a.       Transaction models
b.       Java object serialization & ORM
c.       ORM
d.       Java object serialization

19.     EJB access data rows with no business logic in them
a.       True
b.       False

20.     Entities are remotely accessible
a.       True
b.       False


No comments:

Post a Comment

Thanks for your valuable comments

Followers