Academic Tutorials



English | French | Portugese | Dutch | Italian
Google

em linha

Home Códigos de fonte E-Livros Downloads Contatar-nos Sobre nós

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
CSS 1.0
CSS 2.0
HLML
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
CVS
Python
Apple Script
PL/SQL Tutorial
SQL Server
PHP
.NET (dotnet)
Microsoft.Net
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
VC++
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Photoshop Tutorial
Gimp Tutorial
Matlab
Gnuplot Programming
GIF Animation Tutorial
Scientific Visualization Tutorial
Graphics
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Weblogic Tutorial
SEO
Web Site Hosting
Domain Name
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Eclipse
J2ME
JBOSS
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Cobol
Assembly Language
Mainframe
Forth Programming
Lisp Programming
Pascal
Delphi
Fortran
OOPs
Data Warehousing
CGI Programming
Emacs Tutorial
Gnome
ILU
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills
Database Tutorials
Oracle
MySQL
Operating System
BSD
Symbian
Unix
Internet
IP-Masquerading
IPC
MIDI
Software Testing
Testing
Firewalls
SAP Module
ERP
ABAP
Business Warehousing
SAP Basis
Material Management
Sales & Distribution
Human Resource
Netweaver
Customer Relationship Management
Production and Planning
Networking Programming
Corba Tutorial
Networking Tutorial
Microsoft Office
Microsoft Word
Microsoft Outlook
Microsoft PowerPoint
Microsoft Publisher
Microsoft Excel
Microsoft Front Page
Microsoft InfoPath
Microsoft Access
Accounting
Financial Accounting
Managerial Accounting


Quiz for EJB Tutorial





1. What does the EJB specification architecture define ?

Transactional components
Distributed object components
Server-side components
All of the above

2. What executes EJB components ?

A web server
An application server
An EJB container
A database server

3. What do enterprise beans use to communicate with the EJB container to get runtime context information ?

The javax.ejb.EJBContext provided by the container
A JNDI ENC context
A javax.ejb.EJBHome object provided by the container
A javax.ejb.EJBMetaData object provided by the container

4. Through what interface does an application create, find, and remove enterprise beans ?

java.rmi.Remote
javax.ejb.EJBHome
javax.ejb.EJBObject
javax.ejb.EntityBean

5. What type of enterprise bean is used to embody business objects ?

javax.ejb.EnterpriseBean
java.rmi.Remote
javax.ejb.SessionBean
javax.ejb.EntityBean

6. What type of enterprise bean is used to embody application processing state information ?

javax.ejb.EnterpriseBean
javax.rmi.Remote
javax.ejb.SessionBean
javax.ejb.EntityBean

7. What interface must the enterprise bean implement so that an application can invoke its operations ?

javax.ejb.EntityBean
javax.ejb.EJBHome
javax.rmi.Remote
javax.ejb.EJBObject

8. At what point, precisely, in the life-cycle is a container-managed entity bean considered created ?

Immediately prior to the execution of its ejbCreate() method
Immediately after the execution of its ejbCreate() method
After the CMP bean's data has been committed to the underlying persistent datastore
During the execution of its ejbPostCreate() method

9. What distinguishes a bean-managed persistent (BMP) enterprise bean from a container-managed persistent (CMP) enterprise bean ?

A BMP bean must implement the ejbLoad() and ejbStore() methods
A BMP bean can implement persistence to custom datastores such as legacy systems
A BMP bean is responsible for managing its own persistence to a persistent datastore
All of the above

10. What is a deployment descriptor ?

An XML file format used by the container to learn about the attributes of a bean, such as transactional characteristics and access control
A method for transporting enterprise beans back and forth between systems
An XML file used by enterprise bean clients to learn about the attributes of a bean, such as access control and transactional characteristics.
A format for bundling enterprise beans for delivery to customers.

11. A stateless session bean:

Is created when the client invokes sreate on the home
There must be one per client as long as the client is executing the business logic.
Is the most scalable type of bean
B and C are correct

12. What happens when you pass a serialized object as an argument or return value that doesn't exist either in the Client or the Server ?

Nothing will happpen.
An error will occur
A run time exception is produced
none of these

13. When you pass a Remote object to or from a remote method, what is really passed ?

The Remote object reference
A local copy of the remote object.
None of these
The Remote object's stub

14. When a bean moves from the "does not exist" to the "method ready" status, in which order do the events take place ?

construction,ejbCreate(),setSessionContext()
construction,setSessionContext(),ejbCreate()
setSessionContext() only take place.
None of these.

15. What is true for the isIdentical() method of the EJBObject interface for stateless session beans ?

Returns true if the stubs refferring to two different Remote EJB objects.
Create the session bean.
All of the above.
None of these.

16. A Message-driven bean:

Has a client view
Doesn't feature a component interface.
Has a Remote interface
Has a local interface

17. An entity bean:

can be shared between multiple clients as long as the entity being shared is same.
Must have its EJBObject interface.
A and B are correct.
None of these.

18. Is an entity bean allowed to return objects that don't implement the component interface ?

Yes.
No.
Yes but only if they implement EJBHome interface
Yes but only if they are RMI-IIOP types

19. What would you do in the constructor of a stateful session bean ?

Access the beans JNDI environment.
Get a reference to the bean's home.
Just nothing.
None of these.

20. For remote objects Java passes objects:

By reference.
By object copy.
By producing a serialized copy.
B and C are correct.



Keywords: Quiz, personality quiz, quizzes, quiz questions, character quiz, knowledge quiz, personality test, personality quizzes, quiz are you, quiz questions and answers.




HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
CSS 1.0 Quiz
CSS 2.0 Quiz
HLML Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
CVS Quiz
Python Quiz
Apple Script Quiz
PL/SQL Quiz
SQL Server Quiz
PHP Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
VC++ Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Photoshop Quiz
Gimp Quiz
Matlab Quiz
Gnuplot Programming Quiz
GIF Animation Quiz
Scientific Visualization Quiz
Graphics Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Weblogic Quiz
SEO Quiz
Web Site Hosting Quiz
Domain Name Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Eclipse Quiz
J2ME Quiz
JBOSS Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Cobol Quiz
Assembly Language Quiz
Mainframe Quiz
Forth Programming Quiz
Lisp Programming Quiz
Pascal Quiz
Delphi Quiz
Fortran Quiz
OOPs Quiz
Data Warehousing Quiz
CGI Programming Quiz
Emacs Quiz
Gnome Quiz
ILU Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz
Database Quizes
Oracle Quiz
MySQL Quiz
Operating System Quizes
BSD Quiz
Symbian Quiz
Unix Quiz
Internet Quiz
IP-Masquerading Quiz
IPC Quiz
MIDI Quiz
Software Testing Quizes
Testing Quiz
Firewalls Quiz
SAP Module Quizes
ERP Quiz
ABAP Quiz
Business Warehousing Quiz
SAP Basis Quiz
Material Management Quiz
Sales & Distribution Quiz
Human Resource Quiz
Netweaver Quiz
Customer Relationship Management Quiz
Production and Planning Quiz
Networking Programming Quizes
Corba Quiz
Networking Quiz
Microsoft Office Quizes
Microsoft Word Quiz
Microsoft Outlook Quiz
Microsoft PowerPoint Quiz
Microsoft Publisher Quiz
Microsoft Excel Quiz
Microsoft Front Page Quiz
Microsoft InfoPath Quiz
Microsoft Access Quiz
Accounting Quizes
Financial Accounting Quiz
Managerial Accounting Quiz

Privacy Policy
Copyright © 2003-2024 Vyom Technosoft Pvt. Ltd., All Rights Reserved.