Visualexams offers incredible career enhancing opportunities. We are a team of IT professionals that focus on providing our customers with the most up to date material for any IT certification exam. This material is so effective that we Guarantee you will pass the exam in your first attempt,but if you failed for any reasons,we will Free update for you or changed other study materials! Just send us your result report to : sales(at)visualexams.com
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 : *** Q&As
- Update Time: 2011-10-24
- Testing Engine (SoftWare Version): $ 59.00
- PDF (Printable Version) Price: $15.00
It can be downloaded after you paying for it without any delay!
Free 310-091 Dumps Download
VisualExams offer 310-091 practice test,it will help you pass the exam.Also we offer free 310-091 test demo. They are a part of the full questions,you can view the question on our test engine before you decide to purchase.Click the link below to download our test engine,install it,search 310-091,then click download demo.
Free download Test Engine
Free download 310-091 PDF
Exam : SUN 310-091
Title : Sun Certified Bus. Component Developer Java EE Platform 5
1. 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
2. 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
3. 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
4. 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
5. 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
VisualExams 310-091 Exam Description
310-091 exam training is available in various formats to best suit your needs and learning style from VisualExams. 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 Free update for you!
The Tenet Of VisualExams
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 VisualExams help you climb that ladder of success and pass your 310-091 now!

