1 / 14

Building Web Apps with Servlets

Building Web Apps with Servlets. http://flic.kr/p/hArj5. Recall: Architecture of web app. Head First Servlets and JSP (2 nd edition) , p. 27. Recall: Architecture of web app. Recall: Use HTML forms to send POST requests with params. Head First Servlets and JSP (2 nd edition) , p. 27.

stunnell
Download Presentation

Building Web Apps with Servlets

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. Recall: Architecture of web app Head First Servlets and JSP (2nd edition), p. 27

  3. Recall: Architecture of web app Recall: Use HTML forms to sendPOST requests with params Head First Servlets and JSP (2nd edition), p. 27

  4. Recall: Architecture of web app Head First Servlets and JSP (2nd edition), p. 27

  5. Recall: Architecture of web app Head First Servlets and JSP (2nd edition), p. 27

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

  7. How do you create a Java EE web app?Use Eclipse A few key steps: • Create Dynamic Web 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

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

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

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

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

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

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

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

More Related