Beginning JSF 2 APIs and JBoss Seam

Free Download

Authors:

Series: Expert's Voice in Java

ISBN: 143021922X, 9781430219224

Size: 8 MB (8109950 bytes)

Pages: 314/314

File format:

Language:

Publishing Year:

Category: Tags: , ,

Kent Ka Iok Tong143021922X, 9781430219224

Книга Beginning JSF 2 APIs and JBoss Seam (Expert’s Voice in Java) Beginning JSF 2 APIs and JBoss Seam (Expert’s Voice in Java) Книги Java Автор: Kent Ka Iok Tong Год издания: 2009 Формат: pdf Издат.:Apress Страниц: 298 Размер: 5,3 ISBN: 9781430219224 Язык: Английский0 (голосов: 0) Оценка:The Enterprise Java platform, Java EE 6, is getting a facelift … JavaServer Faces (JSF) 2, is a big part of what’s new in Java EE 6! JSF 2, a significant upgrade from JSF 1.2, now includes Facelets and integration/use options with a variety of web frameworks, including the popular JBoss Seam and even the Spring Framework.Beginning JSF 2 APIs and JBoss Seam gets you up to speed with the new JSF 2.x API features and how they’re implemented using the latest Seam web framework. This quick–start tutorial is the fastest way to get started on JSF 2, Facelets, and Seam, and with it you’ll take the most useful features in the frameworks and apply them using best practices.You’ll learn to create and enhance an eShop using practical methods, and can repurpose the template for your own personal and professional projects.What you’ll learn* Get started with the new JSF 2 and its features, including forms, validations, and more.* Create an eShop.* Build interactive pages with Ajax.* Incorporate the new JSF 2 feature, Facelets, as your standard view definition framework.* Provide a common layout using Facelets.* Apply and fine–tune your eShop application using the popular JSF–based web framework, JBoss Seam.Who is this book forThis book is primarily for Java developers who need to develop an application in JSF but are just learning it. It also can be for Java developers who know JSF but would like to learn Facelets and Seam.

Table of contents :
Prelims
……Page 1
Contents at a Glance……Page 5
Contents……Page 7
About the Author……Page 11
About the Technical Reviewer……Page 13
Introducing the fiHello worldfl Applicati……Page 15
Installing Eclipse……Page 16
Installing JBoss……Page 17
Installing a JSF Implementation……Page 21
Installing Web Beans……Page 22
Creating the fiHello world!fl Application with J……Page 23
Generating Dynamic Content……Page 31
Retrieving Data from Java Code……Page 34
Debugging a JSF Application……Page 39
Summary……Page 41
Getting the Stock Quote Symbol……Page 43
Displaying the Result Page……Page 50
Displaying the Stock Value……Page 52
Marking Input As Required……Page 54
Inputting a Date……Page 63
Conversion Errors and Empty Input……Page 69
Using a Combo Box……Page 74
Using a Single b2 Bean……Page 76
Hooking Up the Web Beans……Page 77
Summary……Page 80
Developing a Postage Calculator……Page 81
What If the Input Is Invalid?……Page 87
Null Input and Validators……Page 92
Validating the Patron Code……Page 94
Creating a Custom Validator for the Patron Code……Page 96
Displaying the Error Messages in Red……Page 100
Displaying the Error Message Along with the Field……Page 101
Validating a Combination of Multiple Input Values……Page 110
Summary……Page 114
Creating an eshop……Page 115
Listing the Products……Page 116
Making the Link to Show the Details……Page 120
Displaying Headers in the Columns……Page 129
Implementing a Shopping Cart……Page 130
Displaying the Content of the Shopping Cart……Page 140
the Checkout Function……Page 141
Getting the Credit Card number of the Current User……Page 145
Forcing the User to Log In……Page 153
Implementing Logout……Page 160
Protecting the Password……Page 162
Summary……Page 163
Displaying a Copyright Notice on Multiple Pages……Page 165
Allowing the Caller to Specify the Company Name……Page 171
Creating a Product Editor……Page 173
Passing a Method in a Parameter?……Page 176
Creating a Box Component……Page 177
Accepting Two Pieces of XHTML Code……Page 180
Creating a Reusable Component Library……Page 182
Creating a Component Library Without taglib.xml……Page 184
Summary……Page 186
Using the Same Menu on Different Pages……Page 187
Using Global Navigation Rules……Page 191
Using Two Abstract Parts……Page 192
Creating PageSpecific Navigation Cases……Page 194
Summary……Page 196
Displaying a FAQ……Page 197
Refreshing the Answer Only……Page 199
Hiding and Showing the Answer……Page 203
Using Ajax to Hide or Show the Answer……Page 205
Giving a Rating to a Question……Page 208
Updating the Rating as the User Types……Page 213
Using a Dialog Box to Get the Rating……Page 214
Setting the Look and Feel with Skins……Page 218
Displaying Multiple Questions……Page 220
Summary……Page 226
Creating a Wizard to Submit Support Tickets……Page 229
Interference Between Browser Windows……Page 233
URL Mismatched?……Page 239
Summary……Page 243
Displaying the Current Date and Time……Page 245
Supporting Chinese……Page 246
Easier Way to Access Map Elements……Page 251
Letting the User Change the Language Used……Page 252
Localizing the Full Stop……Page 257
Displaying a Logo……Page 260
Making the Locale Change Persistent……Page 262
Localizing Validation Messages……Page 264
Summary……Page 265
Installing Seam……Page 267
Re-creating the E-shop Project……Page 268
Allowing the User to Add Products……Page 271
Restricting Access to the Product-Editing Page……Page 279
Creating a Shopping Cart……Page 281
Turning the Shopping Cart into a Stateful Session Bean……Page 287
Creating the Checkout Page……Page 291
Summary……Page 298
Index……Page 301

Reviews

There are no reviews yet.

Be the first to review “Beginning JSF 2 APIs and JBoss Seam”
Shopping Cart
Scroll to Top