bettyallen's picture
From bettyallen rss RSS  subscribe Subscribe

1D0-442 Study material 


Troytec.com is a place where you can find various types of 1D0-442 exam certifications preparation material. Troytec’s full range of study material for the 1D0-442 exam helps you to be prepared for the 1D0-442 exam fully and enter the exam centre with full confidence. We provide you easy, simple and updated study material. After preparing from the 1D0-442 exam material prepared by us we guarantee you that you will be a certified professional. We guarantee that with Troytec 1D0-442 study material, you will pass the Certification exam.

 

 
 
Tags:  1D0-442 Exams  1D0-442 Certification  1D0-442 Training  1D0-442 Practice Exams  1D0-442 Tests  1D0-442 Exam Materials  1D0-442 download 
Views:  177
Published:  March 02, 2010
 
0
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
No related plicks found
 
More from this user
TB0-107 Study material

TB0-107 Study material

From: bettyallen
Views: 1305
Comments: 0

199-01 Study material

199-01 Study material

From: bettyallen
Views: 681
Comments: 0

9A0-062 Study material

9A0-062 Study material

From: bettyallen
Views: 470
Comments: 0

000-089Study material

000-089Study material

From: bettyallen
Views: 398
Comments: 0

310-091 Study material

310-091 Study material

From: bettyallen
Views: 563
Comments: 0

1T6-540 Study material

1T6-540 Study material

From: bettyallen
Views: 465
Comments: 0

See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1: 1D0-442 CIW Enterprise Specialist Exam: 1D0-442 Demo Edition © 2007- 2008 Test Killer, LTD All Rights Reserved http://www.testkiller.com http://www.troytec.com 1
Slide 2: 1D0-442 QUESTION: 1 An entity beans class contains the following method signature: public Integer ejbCreate (int partNum, String partDescription, float partCost, String partSupplier) throws CreateException Which statement is true of the beans ejbCreate() method? A. An ejbPostCreate() method with the same number and types of parameters must be present in the beans remote interface. B. An ejbPostCreate() method with the same method signature must be present in the beans home interface. C. An ejbPostCreate() method with the same number and types of parameters must be present in the beans class. D. An ejbPostCreate() method with the same method signature must be present in the beans class. Answer: C QUESTION: 2 Which choice defines the term isolation when used to describe the properties of a transaction? A. Isolation guarantees that a transaction will either result in a new valid system, or the system will be restored to its original state. B. Isolation guarantees that a committed transaction will persist despite any type of system failure. C. Isolation guarantees that logically related operations are dealt with as a single unit. D. Isolation guarantees that transactions running at the same time will not have access to each others partial results. Answer: D QUESTION: 3 An EJB client invokes a create() method. An EJB container instantiates an enterprise bean as the result of this method call. The bean is then held in a pool awaiting a method invocation. To which type of enterprise bean does this process refer? A. BMP entity bean B. CMP entity bean C. Stateless session bean 2 http://www.testkiller.com http://www.troytec.com
Slide 3: 1D0-442 D. Stateful session bean Answer: C QUESTION: 4 A finder method in an entity bean is written to find more than one primary key. Which statement correctly describes the invocation of this type of ejbFind...() method? A. When a client calls a multiple row finder method, the home object allocates a bean instance and invokes the corresponding ejbFind...() method. The home object instantiates a remote object for each primary key, with a collection of remote references returned to the client. B. When a client calls a multiple row finder method, the home object allocates a bean instance and invokes the corresponding ejbFind...() method. The home object instantiates a collection of remote objects for each primary key, with individual remote references returned to the client. C. When a client calls a multiple row finder method, the remote object invokes the corresponding ejbFind...() method. The remote object then returns a collection of remote references to the client. D. When a client calls a multiple row finder method, the home object allocates a bean instance and invokes the corresponding ejbFind...() method. The home object instantiates a collection of primary key references and returns them to the client. Answer: A QUESTION: 5 The ejbRemove() method for an enterprise bean contains the following line of code: prepStmt = dbConn.prepareStatement ("DELETE FROM MyTable WHERE MyKey = ?"); What type of enterprise bean might this be? A. B. C. D. Stateful session bean BMP entity bean CMP entity bean Stateless session bean Answer: A, B, D 3 http://www.testkiller.com http://www.troytec.com
Slide 4: 1D0-442 QUESTION: 6 Which statement correctly describes CMP entity beans and finder methods? A. The beans class should contain empty ejbFind() methods with corresponding find() methods defined in the remote interface. B. The beans class should not contain ejbFind() methods; empty find() methods are defined in the home interface. C. The beans class should not contain ejbFind() methods; empty find() methods are defined in the remote interface. D. The beans class should contain empty ejbFind() methods with corresponding find() methods defined in the home interface. Answer: B QUESTION: 7 Which client application could benefit from the use of a callback object? A. A Java Micro Edition application that notifies the user of a hand-held computer when traffic conditions have improved along a given freeway B. A Java applet that allows users to send an e-mail message to the quality control department C. A Java application used by police officers in the field to retrieve vehicle registration information from a remote database by supplying a complete or partial license plate number D. A Java applet that retrieves a map image when given a street address Answer: A QUESTION: 8 Which statement correctly describes the EJBContext interface? A. The EJBContext interface defines methods that allow clients to find, create and remove enterprise beans. B. The EJBContext interface defines methods that allow clients to ascertain information about run-time status for enterprise beans. C. The EJBContext interface defines methods that allow clients to obtain metadata for enterprise beans. D. The EJBContext interface defines methods that allow clients to obtain network references to enterprise beans. 4 http://www.testkiller.com http://www.troytec.com
Slide 5: 1D0-442 Answer: B QUESTION: 9 Which type of factory object returns references to objects that reside within the same process as the factory object? A. B. C. D. Out-process Generic Specific In-process Answer: D QUESTION: 10 Which statement correctly describes the EJBHome interface? A. The EJBHome interface is extended by all home interfaces, which provide methods to create, find and remove enterprise beans. B. The EJBHome interface is extended by all home interfaces, which provide a clients view of an enterprise bean. C. The EJBHome interface is extended by all home interfaces and is the common superinterface for the SessionBean and EntityBean interfaces. D. The EJBHome interface is extended by all home interfaces, which the container uses to inform enterprise beans about life cycle events. Answer: A QUESTION: 11 Consider the following IDL definition: Which statement correctly describes this IDL definition? 5 http://www.testkiller.com http://www.troytec.com
Slide 6: 1D0-442 A. The IDL definition properly defines a factory object that may be used to obtain a reference to a Stock object. B. The IDL definition cannot be compiled due to an error at line 13. C. The IDL definition cannot be compiled due to an error at line 5. D. The IDL definition cannot be compiled due to an error at line 11. Answer: A QUESTION: 12 You are using container-managed transactions for your entity bean. Which choice lists the methods that must have transaction attributes defined? A. Remote interface: all business methods and the remove() method. Home interface: all finder methods. B. Remote interface: all business methods. Home interface: the two remove() methods and all finder methods. C. Remote interface: all business methods and the remove() method. Home interface: all finder methods, the create() method, and the two remove() methods. D. Remote interface: the remove() method. Home Interface: the create() method and the remove() method. 6 http://www.testkiller.com http://www.troytec.com
Slide 7: 1D0-442 Answer: C QUESTION: 13 You need to perform the look-up the home object for an enterprise bean named MyBean and then create a reference to that object. The appropriate arguments for the InitialContext constructor are held in a Hashtable named srvrProps. Which code demonstrates this look-up? 7 http://www.testkiller.com http://www.troytec.com
Slide 8: 1D0-442 A. B. C. 8 http://www.testkiller.com http://www.troytec.com
Slide 9: 1D0-442 Answer: B QUESTION: 14 What is the purpose of the InitialContext constructor? A. B. C. D. To acquire a default JNDI context To construct a database connection To access a beans remote interface To obtain a starting point into a servers namespace Answer: A, D QUESTION: 15 When and by what is the ejbLoad() method invoked? A. B. C. D. The ejbLoad() method is invoked by the container just after the ejbActivate() method. The ejbLoad() method is invoked by the client just prior to the ejbActivate() method. The ejbLoad() method is invoked by the client just after the ejbActivate() method. The ejbLoad() method is invoked by the container just prior to the ejbActivate() method. Answer: A 9 http://www.testkiller.com http://www.troytec.com
Slide 10: 1D0-442 QUESTION: 16 Which parameter-passing modes result in the marshalling of data from the server on its way to the client? A. B. C. D. in outin out inout Answer: C, D QUESTION: 17 Consider the following IDL definition: You want to use this IDL definition to allow clients to update the location of an aircraft by passing an instance of Radar Info to the remote method. Which statement is true of your design? A. The remote method will not be able to extract information from parameter ri because it is defined as an out parameter. B. The IDL definition allows an instance of Radar Info to be passed to the server-side implementation. C. The remote method will not be able to extract information from parameter ri because it is a 10 http://www.testkiller.com http://www.troytec.com
Slide 11: 1D0-442 struct type. D. Instances of Radar Info may be published to the naming service and accessed remotely. Answer: A QUESTION: 18 The IDL type unsigned long long maps to which Java primitive data type? A. B. C. D. double short long int Answer: C QUESTION: 19 The IDL type unsigned short maps to which Java primitive data type? A. B. C. D. byte long int short Answer: D QUESTION: 20 A business method is being invoked on an entity bean. The entity bean has been instantiated, but has been placed in the entity bean pool by the container due to inactivity. Based on this scenario, consider the following steps: 1.The home object calls the ejbLoad() method. 2.The EJB object sends the business method invocation to the entity bean. 3.The EJB object notifies the container that an entity bean instance is required. 4.The entity bean uses the primary key obtained from the EJB object to populate its fields. In which order will these steps occur? 11 http://www.testkiller.com http://www.troytec.com
Slide 12: 1D0-442 A. B. C. D. 3, 1, 2, 4 3, 1, 4, 2 2, 3, 4, 1 2, 3, 1, 4 Answer: B 12 http://www.testkiller.com http://www.troytec.com

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location