1D0-442  Exam

Exam # of questions Description  Update
1D0-442 47 1D0-442 IT department's CIW Enterprise Specialist... 02/15/2011
[Practice Test]   [Download Study Guide(PDF)]  [Update Exam]

1D0-442 - Exam Information
  • Description:1D0-442 IT department's CIW Enterprise Specialist
  • Passing Score:75%
  • Practice Test - Number of questions:47 questions
  • Simulation Test - Number of questions:47 questions
  • Simulation Test Duration:41 minutes
  • Has explanations:Yes

Question of the day

Which code demonstrates the proper method for using a referenced bean named ejb/TravelAgentBean from an enterprise bean?

Answer(s)

  1. Context ctx = new InitialContext (); Object hmInt = ctx.lookup ("java:comp/env/ejb/TravelAgentBean"); TravelAGentHome tah = (TravelAgentHome) java.rmi.PortableRemoteObject.narrow (hmInt, TravelAgentHome.Class);
  2. Context ctx = new InitialContext (); Object hmInt = ctx.lookup ("java:prop/env/ejb/TravelAgentBean"); TravelAgentHome tah = java.rmi.PortableRemoteObject.narrow (hmInt, TravelAgentHome.class);
  3. Context ctx = new Initial Context (); Object hmInt = ctx.lookup ("java:prop/env/ejb/TravelAgent"); TravelAGentHome tah = (TravelAGentHome) java.rmi.PortableREmoteObject.narrow (hmInt, TravelAgentHome.class);
  4. Context ctx = new Initial Context (); Object hmInt = ctx.lookup ("java:prop/env/ejb/TravelAgentBean"); TavelAgentHome tah = java.rmiPortableRemoteObject.narrow (hmInt, TravelAgentHOme.class);
  5. Context ctx = new InitialContext (); Object hmInt = ctx.lookup ("java:prop/env/ejb/TravelAgent"); TravelAgentHOme tah = (TravelAGentHome) java.rmi.PortableRemoteObject.narrow (hmInt, TravelAGentHome.class(;
  6. Context ctx = new InitialContext (); Object hmInt = ctx.lookup ("java:comp/env/ejb/TravelAgentBean"); TravelAGentHOme tah = java.rmi.PortableRemoteObject.narrow (hmInt, TravelAGentHome.class);
Correct Answer