Pro JSF and HTML5: Building Rich Internet Components (Expert's Voice in Java)

Pro JSF and HTML5: Building Rich Internet Components (Expert's Voice in Java)

Hazem Saleh, Allan Lykke Christensen, Zubin Wadia

Language: English

Pages: 412

ISBN: 1430250100

Format: PDF / Kindle (mobi) / ePub


Pro JSF and HTML5 shows you how to leverage the full potential of JavaServer Faces (JSF) and HTML5. This book is for Java developers who aspire to build sophisticated, enterprise-grade web experiences with HTML5-enabled JSF. Written by JSF experts and verified by established community figures, this book will serve as your primary resource, helping you build or integrate well-designed HTML5-enabled JSF components into your rich internet applications.

Pro JSF and HTML5 starts by giving you a firm grounding in the design principles of component-based frameworks and the basics of JSF. It then details recent advancements in JSF 2.2 that make it friendlier, faster, and more productive than ever before. And it covers HTML5-enabled components, integration with Java EE7 standards, 3rd party component libraries, security, and performance. The book concludes with a real-world application that puts everything you learned into practice.

In this book you'll learn

  • Foundational JSF topics such as the component life cycle, framework architecture, managed beans and CDI, expression language, conversion and validation, JSF events and view parameters.
  • Leveraging new features in JSF 2.2 such as Faces Flow, Resource Library Contracts, and Ajax file uploading.
  • Developing Advanced HTML5 enabled components in JSF 2.2.
  • Creating JSF 2.2 applications that utilize Java EE 7 technologies (CDI, JPA 2.1 and EJB 3.2) for bean management, transaction management and persistence.
  • Building advanced real-world JSF applications with considerations for security, performance, and usability.

If you're a Java developer interested in the world of component-based frameworks, Pro JSF and HTML5 is for you.

What you'll learn

  • Foundational JSF topics such as the component life cycle, framework architecture, managed beans and CDI (Context and Dependency Injection), expression language, exception handling, conversion and validation, JSF events (faces events, phase events and system events), and view parameters.
  • Utilizing new features in JSF 2.2 such as Faces Flow, Resource Library Contracts, and Ajax file uploading.
  • Developing Advanced HTML5 enabled components in JSF 2.2.
  • Developing PrimeFaces and RichFaces applications.
  • Developing JSF 2.2 applications that utilize Java EE 7 technologies (CDI, JPA 2.1 and EJB 3.2) in order to facilitate bean management, transaction management and persistence.
  • Unit testing JSF applications.
  • Stateless JSF views.
  • Implementing Security in JSF applications.
  • Tuning the performance of JSF applications.
  • Translating application requirements into a model and then implementing the model using JSF 2.2 and Java EE 7 technologies.

Who this book is for This is a tutorial and reference is for both intermediate and experienced Java enterprise and web application developers.

Web Mapping Illustrated: Using Open Source GIS Toolkits

Enterprise Web Development: Building HTML5 Applications: From Desktop to Mobile

HTML5: Up and Running

Dark Web: Exploring and Data Mining the Dark Side of the Web (Integrated Series in Information Systems)

HTML5: Up and Running

 

 

 

 

 

 

 

 

 

 

 

 

 

 

be alive as long as their caller managed beans are alive). You will see an example of this case in the “Managing managed beans dependency” section. ■■Note  In the JSF 2.2, there is a new scope called “Flow Scope” (@FlowScoped). This flow will be illustrated in detail in the next chapter. Adding to Annotations, Every JSF managed bean can also be registered in the faces-config.xml (the JSF configuration file). Listing 2-2 shows how the User managed bean can be defined in the faces-config.xml file

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  

Supports Fallback to a JavaScript Color Picker

max="2013-05-31" />


  176 Chapter 7 ■ Basic JSF2 HTML5 Components

/>  

Download