Welcome to www.ebook-x.com. Download popular free ebooks, classical free ebooks, new releases and more.

The best Ebooks library for Free Ebooks Download.

Free ebooks More computer ebooks Web Design (Springer)Web Development with Java: Using Hibernate, JSPs and Servlets

(Springer)Web Development with Java: Using Hibernate, JSPs and Servlets

Web Development with JavaChapter 1 - Browser – Server Communication
This chapter explains how information is sent from a browser to a server. It begins with a description of the request from a browser and a response from a server. Each of these has a format that is determined by the Hypertext Transfer Protocol.
Chapter 2 -  Controllers
Web applications are more similar than different. If you describe a web site where you buy things, you will probably say that there is a page where you enter personal information, then there is a page where you confi rm that your information is correct and then the site processes your order. These pages could be named the edit page, the confi rm page and the process page.
hapter 3 -  Java Beans and Controller Helpers
With the introduction of a bean, it is a simple matter to add validation to the web application. One type of validation is default validation. In default validation, the user’s data must meet criteria. If the data does not meet the criteria, then a default value is used in place of the data that the user entered.This chapter will introduc the idea of a helper class that has easy access to all the objects that are used in a controller application: the bean, the request, the response.
Chapter 4 -  Enhancing the Controller
This chapter builds on this framework and adds features to the helper class and its base class.
Chapter 5 -  Hibernate
Required validation will be introduced in this chapter. Validation is so important that there is a part of standard Java that can simplify it: regular expressions. Hibernate will use regular expressions to perform sophisticated required validation on string data.
Chapter 6 -  Advanced HTML and Form Elements
There are two aspects of every HTML page: the layout of the page and the style used to display the page. Checkbox groups and multiple selection lists are more diffi cult to initialise with data from the query string. A technique will be introduced to simplify the process. It is also more diffi cult to save the multiple values, if they are to be saved in a readable format in the database.
Chapter 7 -  Accounts, Cookies and Carts
Cookies can be created for specifi c URLs and specifi c times. More than one cookie can be set by an application and more than one cookie can be received by an application. An application can delete a cookie by setting its time to zero. A user can delete a cookie through the browser’s menus.
Most e-commerce sites allow the user to enter data into a shopping cart. This allows the user to browse the site, adding items to the cart for later purchase. A shopping cart is easy to implement using Java 1.5 generics. A complete application will be developed that uses a shopping cart.
Download free ebook on java: Web Development with Java
 
More free ebooks
 
Joomla 1.5 Templates by Joomlashack