4166 Review
Quick Review 1st half Quick review of: Servlets JSP Java and Web programming Model 1 and Model 2 (MVC)\ NetBeans an Tomcat HTML CSS Servlets JSP Sessions and Cookies EL JSTL Custom JSP tags XML and JSON MySQL JDBC
Quick Review 2nd half JPA JavaMail SSL Security Restricting access More depth HTTP Requests and Responces Listeners Filters JavaServer Faces AJAX SOAP Web Services PCI
Overall An application could be done entirely in JSP or servlets Realistically a skillful combination of both An application could be completely done by one servlet No matter how many “pages” No matter how complex Not too realistic however
Servlets and JSP strengths 4 scope levels Page Request Session Application Application stays ready after started Do not have to load, execute and clear
Servlets and JSP weaknesses Not as fast as compiled C code Strongly typed language More “difficult” to get to run (I consider this a plus)
Questions Should servlets be the only Web technology allowed? Should servlets be not allowed in your org? What is better: PHP Perl Python Servlets and JSP C++ Any other?
Summary Network Applications Users Web servers for dynamic (customized) results Can be any server program that will take the users request and return a customized response C++ Java PHP Unix Script Usually involves persistent storage Text Files RDBMS …
Summary Network Applications Computer to Computer services Orders Data passing Etc. Programs “calling” other programs Usually dynamic Request or order generating a process Protocols usually involved SOAP WSDL XML