REAL QUESTIONS SUBMIT MATERIAL ADVERTISE
Braindumps

Microsoft

Cisco

Citrix

CIW

CompTia

CWNA

Apple

Adobe

HP

Legato

Exin

Filemaker

Brocade

Ericsson

TIA

Veritas

ISEB

SCP

IISFA

ISM

OMG

Apc

Mile2

Foundry

Huawei

McData

Symantec

TeraData

RedHat

Solar Winds

Blue Coat

Riverbed

 

 
 
Click on name of dumper to view the dump
 

Kaemon

 
 

 

Braindumps of 1D0-442
CIW Enterprise Specialist

Exam Questions, Answers, Braindumps (1D0-442)

The exam is tough but the guide from www.exams.ws was really helpful.

QUESTION 1
The following code shows the remote interface for a Travel Agent Bean:
1. package travlagent;
2. import Java.rmi.*;
3.
4. public interface TravelAgent exterds ETRObject. P
5.
6. public String getCustomer Destination () throws Remote Exception;
7. public String get Customer Flight () throws Remote Exception;
8. public String getCarRental () throws Remote Except_on:
9. public String get Customer Hotel () throws Remote Exception;
10. }
Which statement is true of the remote interface?
A. The remote interface will compile as expected and is a valid remote interface that may be used as an intermediate object for the TravelAGentBean.
B. The remote interface will compile as expected but will not be a valid remote interface for the TravelAgentBean when compiled at deployment.
C. The remote interface will not compile due to an error at line 5.
D. The remote interface will not compile due to an error at line 4.
Answer:
QUESTION 2
Which code performs a look-up of an enterprise bean's String environment property named app Env?
A. Context ctx = new InitialContext ();
Context beanEnv = (Context ctx. Lookup ("Java:prop/env");
String the Property = (String) ctx. Lookup ("beanEv.appEnv");
B. Context ctx = new InitialContext();
Context beanEnv= (context ctx.lookup("java:comp/env");
String the Property = (String) beanEnv.lookup ("appEnv");
C. Context ctx - new InitialContext();
Context beanEnv = (Context) ctx.lookup ("java:comp/env");
String theProperty = beanEnv. lockup ("appEnv");
Answer:
QUESTION 3
Which statement correctly describes the mechanism by which enterprise beans are instantiated?
A. Enterprise beans are instantiated by calling a create () method on the bean's remote interface using a reference to the bean's home interface. Each create () method has a corresponding ejbCreate () method in the bean's home interface.
B. Enterprise beans are instantiated by calling a create () method on the bean's remote interface using a reference to the bean's home interface. Each create () method has a corresponding ejbCreat () method in the bean's remote interface.
C. Enterprise beans are instantiated by calling a create () method on the bean's home interface using a reference to the bean's remote interface. Each create () method has a corresponding ejbCreate () method in the bean's remote interface.
D. Enterprise beans are instantiated by calling a create () method on the bean's home nterface using a reference to the bean's remote interface. Each create () method has a corresponding ejbCreate () method in the bean's home interface.
Answer:
QUESTION 4
Consider the following four activities occur during a typical interaction between a client and an enterprise bean:
1. A reference to an EJB home object is returned to the client.
2. A reference to the EJB object is retuned to the client.
3. JNDI is used to acquire a reference to an enterprise bean's home object.
4. The client requests the bean's home object to create or find an enterprise bean.
Which choice lists the correct order in which these activites occur during a typical interaction between a client and an EJB?
A. 3, 2, 4, 1
B. 4, 3, 1, 2
C. 3, 1, 4, 2
D. 4, 3, 2, 1
Answer:
QUESTION 5
What is the superclass for system exceptions in an enterprise bean?
A. java.lang.RuntimeException
B. javax.ejb.EJBException
C. java.rmi.RemoteException
D. javax.ejb.CreateException
Answer:
QUESTION 6
Which code demonstrates the proper method for using a resource factory reference named j dbc/MyDB in an enterprise bean?
A. Context ctx = new InitialContext ();
DataSource dtasrc =
(Data Source) ctx.lookup ("java:prop/cnv/jdbc/MyDB");
B. Context ctx = new InitialContext ();
Data Source dtasrc =
Ctx.lookup ("java:comp/env/jdbc/MyDB:);
C. Context ctx = new initialContext();
Data Source dtasrc =
(Data Source) ctx. Lookup ("java:comp/env/jdbc/MyDB");
D. Context ctx = new initialContext();
Data Source dtasrc =
Ctx.lookup("java:prop/env/jdbc/MyDB")'
Answer:
QUESTION 7
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
D. Stateful session bean
Answer:

1D0-442


 

 

Braindumps Real exam questions and verified answers - 100% passing guarantee - cheap prices.

 

Free brain dumps Braindumps, notes, books for free

 

Braindumps and Exams - Instant download real exam questions - Passing guarantee.

Follow us on FaceBook
Braindumps on Facebook
 
 
 
 
 

CheckPoint

Linux

Novell

DB/2

Network Appliance

EC-Council

Nortel

McAfee

Juniper

ISACA

PMI

Sybase

EMC

HDI

SNIA

ISC

Sair

IBM

Lotus

Exam Express

3COM

BICSI

DeLL

Enterasys

Extreme Networks

Guidance Software

Computer Associates

Network General

SAS Institute

Alcatel Lucent

SeeBeyond

TruSecure

Polycom

Hyperion

Hitachi

Nokia

Fortinet

Vmware

Fujitsu

Tibco

Intel

PostgreSQLCE

BusinessObjects

RESSoftware

BlackBerry

AccessData

ICDL

Isilon

SAP

The Open Group

ACSM

Altiris

Avaya

Cognos

F5

Genesys

SDI

ACI

ASQ

Google

H3C

HIPAA

HRCI

SOA

IIBA

Zend