1 / 10

Building Web Apps with Servlets: Web App Architecture Tutorial

Learn how to create a Java EE web app using Eclipse, Maven, and Tomcat. Follow key steps like configuring Maven projects, creating servlet classes, and configuring the Deployment Descriptor. Understand how containers work in servlet web app architecture.

melissaday
Download Presentation

Building Web Apps with Servlets: Web App Architecture Tutorial

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Web Apps with Servlets http://flic.kr/p/hArj5

  2. Servlet web app architecture You write Tomcat Head First Servlets and JSP (2nd edition), p. 39

  3. How do you create a Java EE web app?Use Eclipse A few key steps: • Create/configure Maven webapp project • Create servlet class(es) • Configure Deployment Descriptor (DD; aka web.xml) • With Tomcat 7, there’s not much to do • Compile, then deploy, then run Allow me to demonstrate

  4. One more time! Head First Servlets and JSP (2nd edition), pp. 95–96

  5. Container creates objects Head First Servlets and JSP (2nd edition), pp. 95–96

  6. Container calls service on your servlet Head First Servlets and JSP (2nd edition), pp. 95–96

  7. Head First Servlets and JSP (2nd edition), pp. 95–96

  8. Head First Servlets and JSP (2nd edition), pp. 95–96

  9. Head First Servlets and JSP (2nd edition), pp. 95–96

  10. Summary • Servlet web app architecture • Servlet API http://flic.kr/p/YSY3X

More Related