12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■ CONTENTSConverters and Validators .................................................................................................................... 281Managed Beans and Navigation........................................................................................................... 281Ajax Support ......................................................................................................................................... 282Web Interface Specifications Overview .........................................................................282A Brief History of Web Interfaces.......................................................................................................... 283JSP 2.2, EL 2.2, and JSTL 1.2............................................................................................................... 283JSF 2.0.................................................................................................................................................. 283What’s New in JSF 2.0.......................................................................................................................... 284Reference Implementation ................................................................................................................... 284Putting It All Together ....................................................................................................284Writing the Book Entity......................................................................................................................... 286Writing the BookEJB............................................................................................................................. 286Writing the BookController Managed Bean .......................................................................................... 287Writing the newBook.xhtml Page ......................................................................................................... 288Writing the listBooks.xhtml Page.......................................................................................................... 290Configuration <strong>with</strong> web.xml.................................................................................................................. 292Compiling and Packaging <strong>with</strong> Maven ................................................................................................. 293Deploying on <strong>GlassFish</strong>......................................................................................................................... 294Running the Example............................................................................................................................ 294Summary .......................................................................................................................295■Chapter 11: Pages and Components....................................................................297Web Pages.....................................................................................................................297HTML .................................................................................................................................................... 297XHTML .................................................................................................................................................. 299CSS ....................................................................................................................................................... 301DOM...................................................................................................................................................... 303<strong>Java</strong>Script............................................................................................................................................. 304<strong>Java</strong> Server Pages .........................................................................................................306Directive Elements................................................................................................................................ 307xi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!