Apress

Web Development with Java

Using Hibernate, JSPs and Servlets

By Tim Downey

Web Development with Java Cover Image

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.

Full Description

  • ISBN13: 978-1-8462-8862-3
  • 304 Pages
  • User Level: Students
  • Publication Date: January 11, 2008
  • Available eBook Formats: PDF
  • eBook Price: $69.95
Buy eBook Buy Print Book Add to Wishlist
Full Description
Web development is simpler than it seems, especially with the software tools freely available on the web. This book breaks from the tradition of teaching a history of web development and jumps to the good stuff from the outset so that students can start writing real applications. It introduces readers to a 3-tiered, Model-View-Controller architecture by using Hibernate, JSPs, and Java Servlets. These three technologies all use Java, so that a student with a good background in programming will be able to master them. Java Server Pages are HTML pages that have some data references in them. Java Servlet contain the business logic. Hibernate handles the data. This book uses existing powerful technologies such as JSP, JavaBeans, Annotations, JSTL, Java 1.5, Hibernate, Apache Velocity and Tomcat. It also presents Model 1 architectures using Servlets and JSP as alternatives to Perl and PHP. Written novice developers, this book provides an introductory course in web development for undergraduates as well as web developers.
Table of Contents

Table of Contents

  1. Browser
  2. Server Communication.
  3. Markup Language.
  4. HTML forms.
  5. Sending Data to Another Form.
  6. The Truth About JSPs.
  7. Using a Controller.
  8. Registering a Servlet with Tomcat.
  9. Servlet
  10. JSP Directory Structure.
  11. Java beans.
  12. Reorganizing the Bean.
  13. Member Variables in Servlets.
  14. Extending the Bean.
  15. Model, View Controller.
  16. Required Validation.
  17. Saving a Bean to a Database.
  18. HTML Information.
  19. Style Sheets.
  20. Form Elements.
  21. Cookies.
  22. Business Key in a Database.
  23. Shopping Cart.
  24. Shopping Cart Application.
  25. Emailing a Confirmation.
  26. MIME Types.
  27. Security.
  28. Model 1 Architectures Using Java.
  29. Request headers, Response Headers, Status Codes.
  30. Using CGI.
  31. Content Length for POST Requests.
  32. Tomcat.
Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

No errata are currently published