Online Access Free 1Z0-895 Exam Questions
Exam Code: | 1Z0-895 |
Exam Name: | Java EE 6 Enterprise JavaBeans Developer Certified Expert |
Certification Provider: | Oracle |
Free Question Number: | 90 |
Posted: | Sep 01, 2025 |
A developer writes a stateless session bean with one local business interface and with container-managed transactions. All business methods have transaction attribute REQUIRED. The bean has an injected field sessionCtx of the type SessionContext. Which two operations are allowed in a business method of the bean? (Choose two.)
You are writing a client that sends a message to a JMS queue.
What two statements are true?
A developer wants to create a JMS message-driven bean that responds to javax.jms.TextMessage messages. Which two statements are true? (Choose two.)
Which two annotations can be applied at the class, method, and field levels? (Choose two.)
A developer implements a stateless session bean as a timed object. The bean contains two local business methods with the transaction attribute REQUIRED.
A client begins a UserTransaction and calls the foo local business method. The foo method returns five seconds later. The client rolls back the transaction and then calls the bar local business method. Assuming there have been no other client invocations on the stateless session bean, what is the value of the size variable when control reaches Line 18?