21 декабря 2009 | Автор: Admin | Рубрика: Компьютерная литература » Програм-ние и разработка » Программирование | Комментариев: 0
Apache MyFaces Trinidad 1.2: A Practical Guide by David Thomas
Publisher: Packt Publishing (November 10, 2009) | 292 pages | ISBN: 184719608X | 5.3 MB
Develop JSF web applications with Trinidad and Seam
* Develop rich client web applications using the most powerful integration of modern web technologies
* Covers working with Seam security, internationalization using Seam, and more
* Get well-versed in developing key areas of web applications
* A step-by-step approach that will help you strengthen your understanding of all the major concepts
In today's world, JSF is one of the pivotal technologies for implementing middle- to large-scale web applications. With Trinidad, JSF developers have a powerful open source component framework at their fingertips.
This book introduces Apache MyFaces Trinidad, a powerful JSF component framework and combines it with Seam, the next-generation Web Application Framework to achieve the most comprehensive and effective technology for the development of powerful rich-client web 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 AJAX 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 AJAX 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 Java-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.
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 Java developers who are beginners at JSF and experienced web developers who are looking for an introduction into the world of open source 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.
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 development of a major JSF web application including the development of a high-level framework based on Apache 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.
>>If YoU WaNt MoRe - WeLcOmE tO mY AH BlOg!<<