1. What does the EJB Specification Architecture Define?
The answer is: d
A. Transactional Components
B. Distributed Object Components
C. Server-Side Components
D. All of the Above
2. What TYPE OF ENTERPRISE bean is good to be a façade bean and to import façade design pattern?
The answer is: c
A. Javax.ejb.EnterpriseBean
B. Javax.rmi.Remote
C. Javax.ejb.SessionBean
D. javax.ejb.entitybean
E. Javax.ejb.MessageDriveNbean
3. What do Enterprise Beans Use to Communicate with the EJB Container TO GET RUNTIME CONTEXT INFORMATION?
The answer is: a
A. The javax.ejb.ejbcontext provided by the Container
B. A JNDI ENC Context
C. a javax.ejb.ejbhome Object provided by the Container
D. a javax.ejb.ejbmetadata Object Provided by the Container
4. THROUGH What INTERFACE DOES AN Application Create, Find, And Remove Enterprise Beans?
The answer is: b
A. Java.rmi.Remote
B. javax.ejb.ejbhome
C. javax.ejb.ejbobject
D. javax.ejb.entitybean
E. Javax.ejb.MessageDriveNbean
5. What Type of Enterprise Bean is buy to embody business objects?
The answer is: a
A. Javax.ejb.EnterpriseBean
B. Java.rmi.Remote
C. Javax.ejb.SessionBean
D. javax.ejb.entitybean
E. Javax.ejb.MessageDriveNbean
F.
6. What type of enterprise bean is buy to eMbody Application Processing State Information?
The answer is: c
A. Javax.ejb.EnterpriseBean
B. Javax.rmi.Remote
C. Javax.ejb.SessionBean
F. javax.ejb.entitybean
G. javax.ejb.MessageDriveNbean
7. What Interface Must The Enterprise Bean Implement SO That An Application CAN Invoke ITS Operations?
The answer is: c
A. javax.ejb.entitybean
B. javax.ejb.ejbhome
C. javax.ejb.ejbobject
D. Javax.rmi.Remote
8. AT What Point, Precisely, In The Life-Cycle Is A Container-Managed Entity Bean Considered Created? The answer is: a
A. Immediately prior to the execution of its ejbcreate () Method
B. immediately after the execution of its ejbcreate () Method
C. After the cmp bean's data haas been committed to the underlying personistent DataStore
D. 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?
The answer is: d
A. A Bmp Bean Must Implement The Ejbload () And Ejbstore () Methods
B. A Bmp Bean Can IMplement Persistence To Custom Datastores Such As Legacy Systems
C. A BMP Bean Is Responsible for Managing Its Own Persistence To a Persistent Datastore
D. All of the Above
10. What is a deployment descriptor?
The answer is: a
A. an Xml File Format Used by the Container To Learn About The Attributes of A Bean, Such As Transactional Characteristics and Access Control
B. a Method for Transporting Enterprise Beans Back and Forth Between Systems
.
D. A Format for Bundling Enterprise Beans for Delivery To Customers
11. The Conversational State STATELESS SESSION Beans Have Can Across Multiple Invocations?
The answer is: a
A. True
B. False
12. The Deployment Descriptor for a Web Project Is An XML File Stored in The:
The answer is: a
A. Meta-Inf Directory That Defines The Location of Configuration Files To BE Used by The Production Server
B. Project Root Context Directory That Defines The Location of Configuration Files To Be Used by The Production Serverc. Web-Inf Directory That Defines The Configuration of Modules To The Production Server
D. Project Root Context Directory That Defines The Configuration of Modules To The Production Server
13. Filters Can Be Applied to a Data Connection for What PURPOSE?
The answer is: d
A. Restrick Tables include in the generated data model
B. Restricting the data this raturned by Any SQL Statement Executed Against The Connection
C. Setting Limits on The Maximum Result Set Size Returned Via THE Connection
D. Setting Limits on The Number of Concurrent Queries That Can Be Executed Against The Connection
14. A developer joins a new department where they will be developing J2EE applications, but still needs to support the Java application they developed while in their previous job. What is the BEST way to completely separate the new J2EE projects from the existing Java projects in WebSphere studio?
The answer is: d
A. Use Options Under The File Menu To Load The Desired Projects as Necessary.
B. Load All The Projects Into The Workspace and Configure Each with a unique name.
C. Name The Projects with a Scheme That Distinguishes Them from Each Other.
D. Separate The Projects Into Two Workspaces, ONE for Each Department's CodeBase.
15. a local home or component interface for an ejb can only Be buy by:
The answer is: c
A. Another EJB
B. A Web-Tier Client
C. a Business Logic-Tier Client
D. a Client Located in The Same Javatm Virtual Machine (JVM) 1
16. What type of enterprise bean is buy to import askINCHRONOS INVOCATION?
The answer is: e
A. Javax.ejb.EnterpriseBean
B. Javax.rmi.Remote
C. javax.ejb.sessionBeand. Javax.ejb.entitybean
E. Javax.ejb.MessageDriveNbean
17. The bean class for an entity That Uses The EJB 2.0 Model of Container-Managed Persistence:
The answer is: d
A. Must Implement Java.io.Serializable
B. Is Only Used for Better Integration with Popular Ides
C. Must Be Abstract
D. Must Not Be Abstract
18. DESCRIBE MVC Design Pattern:
The answer is: b
A. View Encapsules Business Logic, Model Uses Business Result and Presented To The User, Controller Controls All The Intertion Between The User and The Application
B. Model Encapsules Business Logic, View Uses Business Result and Presented to The User, Controller Controls All The Intertion Between The User and the Application
C. Model Encapsules Business Logic, Controller Uses Business Result and Presented To The User, View Controls All The INTERACTION BETWEEN THE USER AND THE APPLICATION
D. Nonsense
19. Describe The Possible EJB Clients :( Select 3 answers)
The Answer IS: A B C
A. Session bean
B. JSP
C. servlet
D. Web Browser
E. Java Stand-Alone Application
20. The Conversational StateFul Session Beans HAVE CAN Across Multiple Invocations?
The answer is: b
A. True
B. False
21. What Are DTD AND XML Schema, What Are Their Responsibility?
DTD: Document Type Definition. It is the meta information of the content.
XML Schema has the same function as DTD, in line with XML syntax, is replacing DTD.
22. What Are DIFFERENCES BETWEEN DOM PARSER AND SAX PARSER?
DOM is Tree-based Parse, a parser based on a tree structure.
SAX is Event-Base Parse, is a time-based parser.
23. Why we want to use namespace in XML?
Name space is used to identify content, and the application may have two files with the same tag representation different content, and the namespace can be used to prevent conflicts.
24. DESCRIBE THE XML NAMING RULES?
Can't start with numbers.
Space is not allowed.
You cannot contain XML and other words.
25. What is well-factoryd xml file? What is validated XML file?
The composition of the integration XML file meets the following conditions: 1) The label must be paired.
2) A document must contain an element element.
3) All start labels and end tags must match.
4) The empty label must end with "/>".
5) The label must be nested correctly.
6) Element name sensitive.
7) All attribute values must be in single quotes or dual quotes.
8) If the same start label or empty tab property is not allowed to exceed once.
The verified XML file meets the following conditions:
1) A well-structured document is only effective when it contains a suitable document type declaration and in accordance with this declaration.
2) All effective documents are well structural, but the structure is not necessarily effective.
26. What Does SOA Stand for? What Are Building Blocks of SOA?
SOA: SEVICE Oriented Architecture.
The composition of SOA is Envelop, Head, Body.
27. Web Services Are Self-Contained, Self-Describing, Modular Applications That Can Be Published, Located, And Invoked Across The web?
28.WHAT Are Three Web Service Roles?
Service Provider, Service Broker & Service Request.
29. What Are Three Types Of Web Service?
Static, dynamic, mixed. .
30. What do soap, wsdl, and uddi stand for?
SOAP - Simple Object Access Protocol
WSDL - Web Service Description Language
UDDI - unified lookup, description, and integration
31. List 5 Static UML Diagrams
Use copy diagram
Class Diagram
Object Diagram
Component Diagram
Deployment Diagram
32. List 4 Dynamic UML Diagrams
Sequence Diagram
Collaboration Diagram
State Chart Diagram
Activity Diagram
33. Why USE case is Most Important IN OAD?
From the USE CASE diagram, you can directly associate Sequence diagram, Collabration, Activity diagram, Class, Component, Deployment, DEPLOYMENT Indirect connection State Chart, Object Diagram. It is the foundation and key of nine graphs.
34. List Different Relationships Between Classes in UML Class Diagrams
Association
Aggregation
Composition
Inheritance
35. What Are Differences Between Activity Diagram and State Diagram.
State Diagram: Single process.
Activity Diagram: Supports concurrent events.