f
examsoon@hotmail.com
Exam Number/Code: 310-092
Exam Name: Sun Cert Bus Component Developer Java EE Platform5. Upgrade
Language(s): English
Price: $ 58.00
Questons and Answers : 150 Q&As
Updated: 2010-08-15
Buy it please click 310-092
It is well known that SCBCD 310-092 - 310-092 exam test is the hot exam of SUN certification. pass4onside offer you all the Q&A of the 310-092 real test . It is the examination of the perfect combination and it will help you pass 310-092 exam at the first time!
The SCBCD 310-092 Questions and Answers as well as our other SCBCD 310-092 exam training tools are not only priced to be easy on your budget - but each one is also backed with our guarantee. pass4onside guarantees that after using our Cisco certification training tools, you will be prepared to take and pass your SCBCD 310-092 exam.
Exam : SUN 310-092
Title : Sun Cert Bus Component Developer Java EE Platform 5, Upgrade
1. Which statement about the combination of mapping defaults, annotations, and XML descriptors is correct?
A. All mapping annotations must always be processed by the persistence provider.
B. Some annotations, like the @Entity annotation, must always be processed by the persistence provider.
C. The mapping information for an entity class specified by annotations and in XML descriptors must be distinct.
D. If multiple entity listeners are defined, the order in which they are invoked can be defined or overwritten in the XML descriptor.
Answer: D
2. A developer writes an enterprise application and packages it into an .ear file. The application contains two persistence units defined at the .ear level with persistence unit names FooPU and BarPU. The application also contains an ejb-jar with one stateless session bean. Which code, when added to the stateless session bean class, injects an EntityManagerFactory at runtime?
A. @PersistenceUnit
private EntityManagerFactory emf;
B. @PersistenceContext
private EntityManagerFactory emf;
C. @PersistenceUnit(unitName="BarPU")
private EntityManagerFactory emf;
D. @Resource(name="BarPU", type=EntityManagerFactory.class)
private EntityManagerFactory emf;
Answer: C
3. A developer wants to create a business interface for both local and remote usage. For performance reasons the remote interface should NOT be called by a client in the same JVM. Which statement is required to accomplish this, assuming there is no deployment descriptor?
A. The business methods are defined in one interface which must be annotated with both @Local and @Remote.
B. The business methods are defined twice in one interface. One method is annotated with @Local and the other is annotated with @Remote.
C. The business methods are defined in a common interface by two other interfaces which are annotated with @Local and @Remote respectively. The bean implements the super interface.
D. The business methods are defined in a common interface. It is extended by two interfaces, annotated with @Local and @Remote respectively. Both interfaces are implemented by the bean class.
Answer: D
4. A developer maps the abstract entity class Account with concrete entity sub-classes CreditCardAccount and SavingsAccount using the single table per class hierarchy strategy. Which two statements are true? (Choose two.)
A. Instances of CreditCardAccount and SavingsAccount are stored in the same table.
B. All columns that correspond to fields declared in Account must be defined as nullable in the database.
C. The fields declared in Account are stored in a different table than the ones declared in CreditCardAccount and SavingsAccount.
D. All columns that correspond to fields declared in CreditCardAccount or SavingsAccount must be defined as nullable in the database.
Answer: AD
5. A developer is creating an entity which is mapped to a table that has a primary key constraint defined on two character columns and would like to use mapping defaults as much as possible to simplify the code. Which two mapping options can be chosen? (Choose two.)
A. Use an @Id property that constructs a private field as a concatenation of two columns.
B. Use a separate class to map those two columns and use an @IdClass annotation to denote the primary key field or property in the entity.
C. Use a separate @Embeddable class to map those two columns and use an @EmbeddedId annotation to denote a single primary key field or property in the entity.
D. Use a separate @Embeddable class to map those two columns and add two fields or properties to the entity, each marked as @Id, that correspond to the fields or properties in the embeddable class.
E. Use a separate class to map those two columns. Specify that class using @IdClass annotation on the entity class. Add two fields or properties to the entity, each marked as @Id, that correspond to the fields or properties in that separate class.
Answer: CE
6. Which two are true about EJB 3.0 exception classes? (Choose two.)
A. The javax.ejb.NoSuchEJBException is an application exception.
B. The javax.ejb.EJBException extends java.lang.RuntimeException.
C. The javax.ejb.EJBTransactionRequiredException is an application exception.
D. An application exception must NOT be a subclass of java.rmi.RemoteException.
E. The javax.ejb.EJBTransactionRolledbackException is an application exception.
F. Any subclass of java.lang.RuntimeException is always considered a system exception.
Answer: BD
Our on-site online training experts create all of the SUN 310-092 exam products available through pass4onside. Our main goal is to get your certified with a firm understanding of the core material. Whereas other online distributors only concern themselves with helping you obtain the paper, we strive to educate the certification candidate and better prepare them for their IT career.
Why choose pass4onside 310-092 braindumps
Quality and Value for the 310-092 Exam
100% Guarantee to Pass Your 310-092 Exam
Downloadable, Interactive 310-092 Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our Practice Test Questions are backed by our 100% MONEY BACK GUARANTEE.