s***8 发帖数: 1136 | 1 Which statement(s) are true with regard to web applications in JavaEE 6?
A, A WAR file must contain a web.xml under WEB-INF/
B, A WAR file must contain a web.xml under META-INF/
C, EJB bean classes may be packaged under WEB-INF/classes
D, One or more ejb-jar files may be packaged under WEB-INF/lib
E, A servlet can be mapped to 0, 1, or more url-patterns | q*********u 发帖数: 280 | 2 a c d?
Which statement(s) are true with regard to web applications in JavaEE 6?
A, A WAR file must contain a web.xml under WEB-INF/
B, A WAR file must contain a web.xml under META-INF/
C, EJB bean classes may be packaged under WEB-INF/classes
D, One or more ejb-jar files may be packaged under WEB-INF/lib
E, A servlet can be mapped to 0, 1, or more url-patterns
【在 s***8 的大作中提到】 : Which statement(s) are true with regard to web applications in JavaEE 6? : A, A WAR file must contain a web.xml under WEB-INF/ : B, A WAR file must contain a web.xml under META-INF/ : C, EJB bean classes may be packaged under WEB-INF/classes : D, One or more ejb-jar files may be packaged under WEB-INF/lib : E, A servlet can be mapped to 0, 1, or more url-patterns
| s***8 发帖数: 1136 | 3 c d e
web.xml is optional. It's optional even in J2EE 1.4 (think of a war with
only jsp pages). In JavaEE 6, servlet can also live without web.xml thanks
to various annotations introduced in servlet 3.0 (@WebServlet...)
ejb can now packaged into war, and deployed as part of webapp. | q*********u 发帖数: 280 | 4 学习了。
c d e
web.xml is optional. It's optional even in J2EE 1.4 (think of a war with
only jsp pages). In JavaEE 6, servlet can also live without web.xml thanks
to various annotations introduced in servlet 3.0 (@WebServlet...)
ejb can now packaged into war, and deployed as part of webapp.
【在 s***8 的大作中提到】 : c d e : web.xml is optional. It's optional even in J2EE 1.4 (think of a war with : only jsp pages). In JavaEE 6, servlet can also live without web.xml thanks : to various annotations introduced in servlet 3.0 (@WebServlet...) : ejb can now packaged into war, and deployed as part of webapp.
|
|