This book jumps directly to the "good stuff," allowing readers to quickly start writing real applications using JSP, JavaBeans, Annotations, JSTL, Java 1. 5, Hibernate, Apache Velocity and Tomcat Written for novice developers, it provides an introductory course in web development.
I have been teaching web development for ten years. I started with Perl. I can still remember the behemoth programs that contained all the logic and HTML. I remember using a text editor to write the program. Debugging consisted of a lot of print statements. It was a fun time, full of exploration, but I do not miss them. Five years ago, I made the move to Java and Java servlets. Life became much simpler with the use of NetBeans. It has been a critical component in developing Web applications using Java. Debugging a web application in NetBeans is just as easy as debugging any Java application. This book is meant for students who have a solid background in programming, but who do not have any database training. Until two years ago, my students used a glori? ed HashMap to save data. Then a former student gave me the word: Hibernate. For anyone with a p- gramming background in Java, using Hibernate to save data to a re- tional database is a simple task. I have always been a proponent of automating the common tasks that Web applications perform. There are many packages that can s- plify the job of a Web developer: Log4j, BeanUtils and Hibernate. I have created additional classes that can automate additional tasks.
Inhaltsverzeichnis
Browser-Server Communication. - Markup Language. - HTML forms. - Sending Data to Another Form. - The Truth About JSPs. - Using a Controller. - Registering a Servlet with Tomcat. - Servlet-JSP Directory Structure. - Java beans. - Reorganizing the Bean. - Member Variables in Servlets. - Extending the Bean. - Model, View Controller. - Required Validation. - Saving a Bean to a Database. - HTML Information. - Style Sheets. - Form Elements. - Cookies. - Business Key in a Database. - Shopping Cart. - Shopping Cart Application. - Emailing a Confirmation. - MIME Types. - Security. - Model 1 Architectures Using Java. - Request headers, Response Headers, Status Codes. - Using CGI. - Content Length for POST Requests. - Tomcat.