Latest Answer: Life Cycle of Session Bean is: public void Create() public void ejbActivate () public void ejbPassivate () public void remove () public void setSessionContext ( SessionContext ...
Which is the data structure used to store sorted map elements ? (a) HashSet (b) Hashmap (c) Map (d) TreeMap
(d)
Latest Answer: The answer is all of the above, Stateful session beans contain Home interface, Remote interface, Bean class ...
SessionListerner defines following methods (a) sessionCreated, sessionReplaced (b) sessionCreated, sessionDestroyed (c) sessionDestroyed, sessionReplaced
Which is not allowed in EJB programming ? (a) Thread Management (b) Transient Fields (c) Listening on a Socket
EjbCreate() method of CMP bean returns (a) null (b) Primary Key class (c) Home Object (d) Remote Object
(a) Explanation: ejbCreate() method of BMP bean returns the Primary Key, where as ejbCreate() method of CMP bean returns null.
In the init(ServletConfig) method of Servlet life cycle, what method can be used to access the ServletConfig object ? (a) getServletInfo()(b) getInitParameters()(c) getServletConfig()
Without the use of Cartesian product, how many joining conditions are required to join 4 tables ? (a) 1 (b) 2 (c) 3 (d) 4
(b)
Latest Answer: Runnable Interface ...
What happens if Database Updation code is written in ejbPassivate() method and if this method is called ? (a) Exception is thrown (b) Successfully executes the Database Updation code (c) Compilation error occurs indicating that Database Updation code should not be written in ejbPassivate() (d) ejbStore() method is called
View page << Previous 1 [2] 3 Next >>

Go Top