Which two statements are true?
Which two statements are true? (Choose two.) A. All types of enterprise beans can be transaction-aware B. Typically, finE. grained objects, such as an employee record, should be remotely accessible. C....
View ArticleWhich two define appropriate EJB role responsibilities?
A Java EE 5 application contains a session bean which uses a security role USER. A group calledpeople is defined in an LDAP server. Which two define appropriate EJB role responsibilities?(Choose two.)...
View Articlewhat can be the cause?
A User entity is in a onE. to-many relationship with a Book entity.A developer writes a query to delete users that have a first name of ‘Fred’ or ‘Ginger’, and writesthe following Java Persistence...
View ArticleWhich statement is true?
An Application Assembler is given the following stateless session bean:10. @Stateless public class MyBean implements Mylnt {11. @RolesAllowed(“SECRET”)12. public void methodA(int x) {}13. public void...
View ArticleWhich statement about the combination of mapping defaults, annotations, and...
Which statement about the combination of mapping defaults, annotations, and XML descriptors iscorrect? A. All mapping annotations must always be processed by the persistence provider. B. Some...
View ArticleWhich two are true about EJB 3.0 exception classes?
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....
View ArticleWhich code, when added to the stateless session bean class, injects an...
A developer writes an enterprise application and packages it into an .ear file. The applicationcontains two persistence units defined at the .ear level with persistence unit names FooPU andBarPU. The...
View ArticleWhich two statements are true?
A developer maps the abstract entity class Account with concrete entity suB. classesCreditCardAccount and SavingsAccount using the single table per class hierarchy strategy. Whichtwo statements are...
View ArticleWhich two mapping options can be chosen?
A developer is creating an entity which is mapped to a table that has a primary key constraintdefined on two character columns and would like to use mapping defaults as much as possible tosimplify the...
View ArticleWhich statement is required to accomplish this, assuming there is no...
A developer wants to create a business interface for both local and remote usage. Forperformance reasons the remote interface should NOT be called by a client in the same JVM.Which statement is...
View Article