The Bean class provides implementations for which of the following methods?A Methods in the Bean’s Home Interface B Methods in the Bean’s Remote Interface C EJB Callback methods D A, B and C E A and B F A and C G B and C
Choices A, B and C are correct.
Which of the following statements is true about Stateful Session Beans?A They leave Method Ready Pool state to enter Does not Exist State. B They leave Method Ready state to enter Stateful State. C They leave Method Ready state to enter Passivated or Does not Exist state. D They never leave the Method Ready state.
Answer: C
A session bean called SomeBean has a method called someMethod(), which calls someOtherMethod (same bean) followed by someOtherBeanMethod() of SomeOtherBean. If SomeMethod() starts a BMT transaction, which of the following are true?A SomeOtherMethod also has to be use BMT since it’s part of the same bean. B SomeOtherMethod can use BMT or CMT, because transactions are defined at the method level in the deployment descriptor. C If SomeOtherBean is a Session Bean, it has to necessarily
Choices A, D and F are correct.
EJB1.1 has support for undefined Primary Keys. This means that the Primary Key can be undefined until deployment time. When we use defined Primary Keys, the Bean class and the Interfaces use the BeanPK type to identify the key.What do the Bean class and the Interfaces refer to in the case of undefined Primary Keys? A Though the Primary Key itself can be undefined, its name must be predetermined. The Bean class and the Interfaces use this name. B An instance of java.util.Enumeration
Answer: D
Which of the following statements is true about DNS Round Robin?A It considers actual load on machines before routing requests. B It uses a random generator to decide which server to route a request to. C It routs requests to one server until a configured threshold is reached and then sends subsequent requests to the next server. D Each Request is sent to subsequent server in the list, after the end is reached it starts with the first server again.
Answer: D
Generally speaking what is the relevance between Performance and Security?A They are not related to each other in any way t 4High Security generally results in high performance B High performance is a pre-requisite for secure systems C Security and Performance are inversely proportional D Low performance systems cannot be secure
Answer: D
Which of the following are valid methods in Entity EJBs?A ejbActivate() B observe() C ejbRetrieve() D ejbStore() E ejbDestroy() F ejbRemove()
Choices A, D and F are correct. 238 What does the term Atomicity mean in the context of ACID transactional properties and Enterprise Java Beans? A Integrity of underlying data B Non Interference from
Which of the following statements about ’Not Supported’ and ’Never’ transactional attributes are true?A Not Supported’ suspends any transaction until the method is completed whereas ’Never’ throws a RemoteException when called with a transaction. B Never’ suspends any transaction until the method is completed whereas ’Not Supported’ throws a RemoteException. C If the method is called without any transactional scope, both attributes
Choices A and C are correct.
A sample program ships with 2 properties files - Base.properties, Base_fr.properties. If the current Locale, Locale.ENGLISH has no matching properties file, what will happen when the ResourceBundle.getBundle method is called with ’Base’ and Locale. English as parameters?A Since a matching properties file is not found, an exception is thrown B This would not pose a problem because when a matching properties file is not found, the default properties file is used instead.
Answer: B
What is a Demilitarized Zone (DMZ)?A The logical separation of tiers in a J2EE application. Example: the separation between the Web Tier and the EJB Tier B The logical separation of layers in a J2EE application. Example: The separation between the Operating System and the EJB Container. C A type of protection offered by proxy firewalls, currently only available to the U.S armed forces under National Security laws. D The region between two firewalls
Answer: D
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top