Apache MyFaces Trinidad 1.2: A Practical Guide

Apache MyFaces Trinidad 1.2: A Practical Guide

Book Description

In today’s world, is one of the pivotal technologies for implementing middle- to large-scale applications. With Trinidad, developers have a powerful component framework at their fingertips.

This book introduces Trinidad, a powerful JSF component framework and combines it with Seam, the next-generation Application Framework to achieve the most comprehensive and effective technology for the of powerful rich-client applications.

In this book, you start out by learning where Trinidad comes from and what its aims are. You will learn how Facelets and Seam are used to get the most out of JSF. In addition, you will also learn the often occurring tag attributes, and, in particular, Trinidad’s technology. You will implement login, authorization, navigation, internationalization, polling, and support for browser issues with the help of these technologies. You will then use Seam-gen for deployment.

Next, you will develop a web application example where a series of selected Trinidad components are applied and their capabilities explored. Finally, you will master the Trinidad dialog framework, a key Trinidad technology that allows the application of dialogs.

What you will learn from this book?

  • Integrate Trinidad with Facelets and Seam to get the most out of JSF
  • Tackle web application issues with the help of Seam
  • Create a panel-based Trinidad user interface using Trinidad forms and Facelet input components
  • Create a wizard based on Trinidad components
  • Create pop-up or main browser window dialogs using Trinidad dialog framework
  • Work with Trinidad’s table technology features including the use of JSF binding
  • Get a grip on Trinidad’s technology, or more adequately described, its partial page rendering technique (PPR)
  • Deploy your web applications using Seam-gen
  • Implement login, authorization, navigation, internationalization, and more
  • Master all the major concepts of Trinidad

Chapter 1:In this chapter, we introduce you to the Trinidad component library. We give a general idea of this component library, which areas are covered by its components, and compare it to other libraries. Finally, the integration of Trinidad and Seam is discussed.

Chapter 2:In this chapter, we take a look at Facelets as a basic means to structure and build pages using Facelet page composition, Facelet composition components, and JSTL.

Chapter 3:In this chapter, we discuss the Trinidad tags and their attributes in a structured approach. You will gain an insight into the design of Trinidad allowing you to draw an efficient mental map of the library and make an effective selection and application of tags.

Chapter 4:In this chapter, we introduce you to the Trinidad’s AJAX technology, called PPR (Partial Page Rendering). PPR is inspected from two points of view – the pure tag-based partial rendering and the pure -side partial rendering techniques.

Chapter 5:In this chapter, we develop the basic parts of the web application that serves as our Trinidad example. We present using Seam-gen to rapidly deploy after each change of any file.

Chapter 6:In this chapter, we deal with Trinidad’s panelAccordion and showDetailItem components to show how they can be combined to build panel-based, panel-wise collapsible content.

Chapter 7:In this chapter, we discuss how to combine Trinidad’s tags and Facelet composition components to build highly flexible and well-formatted forms including messaging support.

Chapter 8:In this chapter, we deal with Trinidad’s tree components and models and exemplify their application. We present an effective shortcut that makes Trinidad’s tree support an easy and yet powerful technology.

Chapter 9:In this chapter, we deal with Trinidad’s table and treeTable components and exemplify their application. We apply the components in an increasingly refined way revealing most of their features, one at a time.

Chapter 10:In this chapter, we deal with Trinidad’s chart component and show its application. You will learn to competently set up representation parameters, so effectively achieving the intended representation focus and thus graphically materializing hidden information in an appropriate way.

Chapter 11:In this chapter, we deal with Trinidad’s components to implement a wizard and show their application. We present a solution to avoid an existing Facelet problem.

Chapter 12:In this chapter, we discuss Trinidad’s pop-up window techniques. We revisit Seam conversations to address Trinidad’s and Seam’s specific necessities for pop-up dialogs. We enhance the web application with a couple of pop-up windows including wizard pop-up support.

Approach
The book is a hands-on practical guide that stresses the discussion of code and builds up a sample application that illustrates all the standard UI types covered by Trinidad.

Who this book is written for?
This book is written for developers who are beginners at JSF and experienced web developers who are looking for an introduction into the world of JSF technology.

About the Author
David Thomas is a developer and technical project manager of Java-based web applications and has well over 10 years of experience in various web technologies.

He began writing applications based on the Common Gateway Interface (CGI), and , with a short Java Applets interlude.

The main occupation with Java began when Java took charge of the server. A series of Java Servlet applications were developed using an early, self-built Model-2 controller architecture. Java Server Pages (JSP) took hold for a rather long time and a couple of major, increasingly complex web applications were developed in combination with Struts.

Shortly after Java Server Faces 1.2 (JSF) emerged, began the of a major JSF web application including the of a high-level framework based on My Faces Trinidad, Facelets and JBOSS Seam in the area of controlling. This project spawned a couple of sub projects so development continues up to the present day.

This is the author’s first book which is highly influenced by the accumulated years of his experience in web technology.

Book Details

  • Paperback: 300 pages
  • Publisher: Packt Publishing (November 29, 2009)
  • Language: English
  • ISBN-10: 184719608X
  • ISBN-13: 978-1847196088
  • File Size: 5.6 MiB
  • File Format: PDF | EPUB | PDF + EPUB

E-Book

Apache MyFaces Trinidad 1.2: A Practical GuidePacktpub.Apache.MyFaces.Trinidad.1.2.A.Practical.Guide.Nov.2009.rar
Apache MyFaces Trinidad 1.2: A Practical Guide[Free] - Packtpub.Apache.MyFaces.Trinidad.1.2.A.Practical.Guide.Nov.2009.rar

Paper Book

Apache MyFaces Trinidad 1.2: A Practical Guide
Tags:   · · · ·