Enterprise JAVA MCQs with answer and explanation

Enterprise Java Questions and Answers Set 1


Set 1           Set 2           Set 3


1. Which of the following is the format for EJB deployment descriptor files?   

(a) XML 
(b) XSL
(c) HTML
(d) Java
(e) DHTML.

2. EJB is a        

(a) Middleware
(b) Scalable component architecture
(c) Component architecture to integrate legacy systems
(d) Component architecture to encapsulate business logic
(e) All of the above.

3. Which of the following EJB has no state?     

i. Message-Driven Bean. 
ii. BMP Entity Bean.
iii. Stateless Session Bean.
iv. Stateful Session Bean.

(a) Both (I) and (II) above 
(b) Both (II) and (III) above 
(c) Both (III) and (IV) above 
(d) Both (I) and (IV) above 
(e) Both (I) and (III) above.

4. Which of the following is true for EJB?    

(a) EJB is server-side component architecture for distributed applications in Java
(b) EJB facilitates scalable, secure and transaction-oriented applications
(c) EJB supports portability and reusability
(d) EJB specification allows different vendor implementation of it
(e) All of the above.

5. Which of the following EJB type has no Remote interfaces?   

(a) Message-Driven Bean
(b) BMP Entity Bean
(c) CMP Entity Bean
(d) Session Bean
(e) Sessionless Bean.

6. Which role in EJB architecture is responsible for EJB Server?    

(a) EJB Deployer
(b) Application Assembler
(c) Network Engineer
(d) Server Provider
(e) Tool Vendor.

7. Which of the EJB has a passive state in its life cycle?                                                                                                       

I. Stateless Session Bean.
II. Message-Driven Bean. 
III. BMP Entity Bean.

(a) Only (I) above 
(b) Only (II) above 
(c) Only (III) above
(d) Both (I) and (II) above
(e) Both (II) and (III) above.

8. Which part of multi-tier enterprise application contains EJB component?     

(a) Application Server
(b) Web Server
(c) Database Server
(d) Fat Client
(e) Thin Client.

9. Which of the following distributed object technology is/are not included in Java? 

I. CORBA.
II. DCOM.  
III. RMI.
IV. EJB.

(a) Only (I) above 
(b) Only (II) above 
(c) Only (III) above 
(d) Only (IV) above
(e) All (I), (II), (III) and (IV) above.

10. Which of the following is not a property of EJB transaction? 

(a) Atomicity 
(b) Consistency 
(c) Isolation
(d) Distributed
(e) Durability.

Answers



 Answer                             Explanation

1.          A          The format for EJB deployment descriptor files is XML.

2.          E          EJB  is  a  middleware,  Scalable  component  architecture,  Component 
                          architecture  to  integrate  legacy systems, Component architecture to 
                          encapsulate business logic.

3.          E          Message Driven bean and stateless session bean has no state.

4.          E          All the above statements are true with respect to EJB.

5.          A          Message driven bean has no remote interface.

6.          D          Server provider is responsible for EJB server.

7.          C          BMP Entity Bean has a passive state in its life cycle.

8.          A          Application server contains ejb component.

9.          B          DCOM is a Microsoft object technology.

10.        D         Distributed is not a property of EJB transaction.





10 comments :

  1. Check here to practice with more java interview questions & other IT Technical,aptitude questions @ http://skillgun.com

    ReplyDelete
  2. Java Beans Interview Questions and Answers
    http://allinterviewquestionsandanswerspdf.blogspot.in/2016/06/top-57-java-beans-interview-questions.html

    ReplyDelete
  3. this is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    PTE Training in Chennai
    PTE Coaching in Chennai

    ReplyDelete
  4. ERP software is an integrated application software used manging the organization

    Online Inventory Software

    ReplyDelete
  5. Quantum Binary Signals

    Get professional trading signals sent to your mobile phone every day.

    Start following our trades NOW & earn up to 270% a day.

    ReplyDelete
  6. Thanks for providing the information I liked it

    Sanjary Academy is the best Piping Design institute in Hyderabad, Telangana. It is the best Piping design Course in India and we have offer professional Engineering Courses like Piping design Course, QA/QC Course, document controller course, Pressure Vessel Design Course, Welding Inspector Course, Quality Management Course and Safety Officer Course.
    Piping Design Course

    ReplyDelete
  7. The Boy Who Loved Words by Roni Schotter – Words are powerful, lyrical, and can make magic. http://c6l1mmfx1g.dip.jp http://2xoalarlbi.dip.jp http://wtbspwj542.dip.jp

    ReplyDelete
  8. Do you need Personal Loan?
    Business Cash Loan?
    Unsecured Loan
    Fast and Simple Loan?
    Quick Application Process?
    Approvals within 24-72 Hours?
    No Hidden Fees Loan?
    Funding in less than 1 Week?
    Get unsecured working capital?
    Contact Us At : gaincreditloan1@gmail.com
    Whatsapps +1-(551) 356-3808 (call/WhatsApp)

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete