单项选择题
A web component accesses a local EJB session bean with a component interface of com.example.Accountwith a home interface of com.example.AccountHome and a JNDI reference of ejb/Account.
Which makesthe local EJB component accessible to the web components in the web application deployment descriptor?()
A.
B.
C.
D.
相关考题
-
单项选择题
Given a portion of a valid Java EE web application’s directory structure:MyApp | |--Directory1 ||--File1.html| |--META-INF| |--File2.html| |--WEB-INF |--File3.html You want to know whether File1.html, File2.html,and/or File3.html is protected from direct access by yourweb client’s browsers. What statement is true?()
A.All three files are directly accessible.
B.Only File1.html is directly accessible.
C.Only File2.html is directly accessible.
D.Only File3.html is directly accessible. -
多项选择题
Given: 11.<servlet> 12.<servlet-name>catalog</servlet-name> 13.<jsp-file>/catalogTemplate.jsp</jsp-file> 14.<load-on-startup>10</load-on-startup> 15.</servlet> Which two are true?()
A.Line 13 is not valid for a servlet declaration.
B.Line 14 is not valid for a servlet declaration.
C.One instance of the servlet will be loaded at startup.
D.Ten instances of the servlet will be loaded at startup.
E.The servlet will be referenced by the name catalog in mappings. -
单项选择题
WhichpathisrequiredtobepresentwithinaWARfile?()
A./classes
B./index.html
C./MANIFEST-INF
D./WEB-INF/web.xml
E./WEB-INF/classes
