question no: 7 which of the following statements regarding the lifecycle of a session bean are correct? 1. java.lang.illegalstateexception is thrown if sessioncontext.getejbobject() is invoked when a stateful session bean instance is passivated. 2. sessioncontext.getrollbackonly() does not throw an exception when a session bean with bean-managed transaction demarcation is activated. 3. an exception is not thrown when sessioncontext.getusertransaction() is called in the afterbegin method of a bean with container-managed transactions. 4. jndi access to java:comp/env is permitted in all the sessionsynchronization methods of a stateful session bean with container-managed transaction demarcation. 5. accessing resource managers in the sessionsynchronization.afterbegin method of a stateful session bean with bean-managed transaction does not throw an exception.
第二部分:概念题 1. 描述struts体系结构?对应各个部分的开发工作主要包括哪些?
2. xml包括哪些解释技术,区别是什么?
3. jsp有哪些内置对象和动作?它们的作用分别是什么?
4、sql问答题 0select * from table 和 0select * from table where name like ’%%’ and addr like ’%%’ and (1_addr like ’%%’ or 2_addr like ’%%’ or 3_addr like ’%%’ or 4_addr like ’%%’ ) 的检索结果为何不同?