310-091 Exam
Sun Certified Bus.Component Developer Java EE Platform 5
- Exam Number/Code : 310-091
- Exam Name : Sun Certified Bus.Component Developer Java EE Platform 5
- Questions and Answers : 305 Q&As
- Update Time: 2010-08-06
- Price:
$ 79.00$ 58.00
Free 310-091 Dumps Download
exam4dumps offers free 310-091 dumps,310-091 Practice exam,310-091 exam questions for SCBCD certification(SUN Certified Network Associate). You can check out the question quality and usability of our 310-091 practice exam before you decide to buy it.Before you purchase our 310-091 Q&A,you can click the link below to download the latest 310-091 pdf dumps.
Exam : SUN 310-091
Title : Sun Certified Bus. Component Developer Java EE Platform 5
1. Which is a valid PostConstruct method in a message-driven bean class?
A. @PostConstruct
public boolean init() { return true; }
B. @PostConstruct
private static void init() {}
C. @PostConstruct
private void init() {}
D. @PostConstruct
public static void init() {}
Answer: C
2. 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
3. Which two class types must be implicitly or explicitly denoted in the persistence.xml descriptor as managed persistence classes to be included within a persistence unit? (Choose two.)
A. Entity classes
B. Interceptor classes
C. Embedded classes
D. Entity listener classes
Answer: AC
4. Which statement about an entity instance lifecycle is correct?
A. A new entity instance is an instance with a fully populated state.
B. A detached entity instance is an instance with no persistent identity.
C. A removed entity instance is NOT associated with a persistence context.
D. A managed entity instance is the instance associated with a persistence context.
Answer: D
5. A developer is working on a user registration application using EJB 0. A business method registerUser in stateless session bean RegistrationBean performs the user registration. The registerUser method executes in a transaction context started by the client. If some invalid user data causes the registration to fail, the client invokes registerUser again with corrected data using the same transaction. Which design can meet this requirement?
A. Have registerUser method call EJBContext.setRollbackOnly() method after registration fails.
B. Have registerUser method throw javax.ejb.EJBTransactionRequiredException after registration fails.
C. Have registerUser method throw EJBException without marking the transaction for rollback, after registration fails.
D. Create an application exception with the rollback attribute set to false and have registerUser method throw it after registration fails.
Answer: D
6. Given:
11. @Entity public class X {
12. @Id int id;
13. Y y;
14. }
A public class Y with NO Java Persistence annotations is defined in the same package.
Which statement is correct about these classes if NO other annotations and mapping descriptors are provided?
A. Class Y must be serializable.
B. Class Y must be marked as an entity.
C. The entity X is not defined correctly.The field y must be marked as @Lob.
D. Class Y must be accessed by a persistence application through a public interface.
Answer: A
Free download:Free 310-091 dumps
exam4dumps 310-091 Exam Description
310-091 exam training is available in various formats to best suit your needs and learning style from exam4dumps. Whether you are a hands-on tactile learner, visually or even a textbook training veteran, we has the 310-091 resources that will guarantee you to pass your 310-091 practice exam at the first time!
Guarantee to Pass Your 310-091 Exam
We provide the latest high quality 310-091 practice exam for the customers,we guarantee your success at the first attempt with only our 310-091 exam questions, if somehow you do not pass the exam at the first time, we will not only arrange FULL REFUND for you, but also provide you another exam of your claim, ABSOLUTELY FREE!
The Tenet Of exam4dumps
Our on-site online training experts create all of the SUN 310-091 exam products available through Actual-Exams. Our main goal is that you get more kownleage with less money.You will find our price is very cheap.
After-sales Service
Once you purchase our products,we will offer you the best service.After you purchase our product, we will offer free update in time for 90 days.Whatever you have any questions,we will help you solve it. And in 3 weeks we will offer you free updates,so please pay attention our site at all times.
Acquiring SUN SCBCD certifications are becoming a huge task in the field of I.T. More over these exams like 310-091 exam are now continuously updating and accepting this challenge is itself a task. This 310-091 practice test is an important part of SUN certifications and at SCBCD braindumps we have the resources to prepare you for this. The 310-091 exam is essential and core part of SUN certifications and once you clear the exam you will be able to solve the real time problems yourself.Wamt to take advantage of the Real 310-091 Value Pack and save time and money while developing your skills to pass your 'SUN Certified Network Associate (SCBCD) Exam'? Let exam4dumps help you climb that ladder of success and pass your 310-091 now!


