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
 
Josph
 
 

 

Braindumps of 310-092
Sun Cert Bus Component Developer Java EE Pltform 5, Upgrade

 

Exam Questions, Answers, Braindumps (310-092)

Thanks to www.exams.ws and www.examcheets.com .


QUESTION 1
Which two options can be used to predefine Java Persistence queries for easy use? (Choose two.)
A. @NamedQuery annotation
B. @NamedNativeQuery annotation
C. using the named-query element in the XML descriptor
D. using the named-native-query element in the XML descriptor
Answer: A, C


QUESTION 2
The ejb-jar file format is a contract between which two EJB role pairs? (Choose two.)
A. Deployer and System Administrator
B. Application Assembler and Deployer
C. Bean Provider and Application Assembler
D. Bean Provider and EJB Container Provider
E. EJB Server Provider and EJB Container Provider
F. Application Assembler and EJB Container Provider
Answer: B, C

QUESTION 3
A developer's objective is to end the persistence context associated with an application-managed entity manager. Which statement is correct?
A. Invoke the flush method of the entity manager.
B. Invoke the close method of the entity manager.
C. Invoke the clear method of the entity manager.
D. Invoke the remove method of the entity manager.
Answer: B

QUESTION 4
A developer implemented a Java class called Store. The class is annotated correctly to act as an entity. The developer created a stateless session bean to create, lookup, and remove Store objects. This session bean has a container-managed entity manager injected into field em and a removeStore method with transaction attribute REQUIRED.
Given the following code :
32. public void removeStore(Store store) {
33. em.remove(store);
34. }
What is a possible reason that an IllegalArgumentException is thrown at Line 33 when the removeStore method is called by a remote client?
A. The passed object is NOT serializable.
B. The passed object is NOT found in the database.
C. The passed object is NOT managed by the entity manager.
D. There is no active transaction to manage the database removal.
Answer: C

QUESTION 5
Given:
A session bean Foo uses container-managed transactions
The container throws a javax.transaction.TransactionRolledBackException when the doStuff method runs
Which transaction attribute can the doStuff method have for this to occur?
A. NEVER
B. MANDATORY
C. REQUIRES_NEW
D. NOT_SUPPORTED
Answer: B

310-092

 

 

 

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

 

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