Beginning JSF™ 2 APIs and JBoss® Seam - Kent Ka Iok Tong

Beginning JSF™ 2 APIs and JBoss® Seam (eBook)

eBook Download: PDF
2009 | 1st ed.
300 Seiten
Apress (Verlag)
978-1-4302-1923-1 (ISBN)
Systemvoraussetzungen
34,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

The Enterprise Java™ platform, Java EE 6, has gotten 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, 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 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 re-purpose the template for your own personal and professional projects.



Kent Ka Iok Tong is manager of the IT department of the Macau Productivity and Technology Transfer Center. With a master's degree in computer science from the New South Wales University, Sydney, Australia, and having won the ''Macao Programming Competition (Open Category)'' in 1992, Kent has been involved in professional software development, training, and project management since 1993. He is the author of several popular books on web technologies, including Essential JSF, Facelets and Seam, Enjoying Web Development with Tapestry, Enjoying Web Development with Wicket, and Developing Web Services with Apache Axis 2.
The Enterprise Java(TM) platform, Java EE 6, has gotten a facelift ... JavaServer(TM) Faces (JSF(TM)) 2, is a big part of what's new in Java EE 6! JSF 2, a significant upgrade from JSF 1.2, includes Facelets and integration/use options with a variety of web frameworks, including the popular JBoss(R) Seam and even the Spring Framework.Beginning JSF 2 APIs and JBoss Seam gets you up to speed with the 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 re-purpose the template for your own personal and professional projects.

Kent Ka Iok Tong is manager of the IT department of the Macau Productivity and Technology Transfer Center. With a master's degree in computer science from the New South Wales University, Sydney, Australia, and having won the ""Macao Programming Competition (Open Category)"" in 1992, Kent has been involved in professional software development, training, and project management since 1993. He is the author of several popular books on web technologies, including Essential JSF, Facelets and Seam, Enjoying Web Development with Tapestry, Enjoying Web Development with Wicket, and Developing Web Services with Apache Axis 2.

Contents at a Glance 4
Contents 5
About the Author 9
About the Technical Reviewer 10
Getting Started with JSF 11
Introducing the “Hello world” Application 11
Creating the “Hello world!” Application with JSF 19
Debugging a JSF Application 35
Summary 37
Using Forms 39
Developing a Stock Quote Application 39
Summary 76
Validating Input 77
Developing a Postage Calculator 77
Summary 110
Creating an E-shop 111
Listing the Products 112
Making the Link to Show the Details 116
Displaying Headers in the Columns 125
Implementing a Shopping Cart 126
Displaying the Content of the Shopping Cart 136
The Checkout Function 137
Getting the Credit Card Number of the Current User 141
Forcing the User to Log In 149
Implementing Logout 156
Protecting the Password 158
Summary 159
Creating Custom Components 161
Displaying a Copyright Notice on Multiple Pages 161
Allowing the Caller to Specify the Company Name 167
Creating a Product Editor 169
Passing a Method in a Parameter? 172
Creating a Box Component 173
Accepting Two Pieces of XHTML Code 176
Creating a Reusable Component Library 178
Creating a Component Library Without taglib.xml 180
Summary 182
Providing a Common Layout for Your Pages 183
Using the Same Menu on Different Pages 183
Using Global Navigation Rules 187
Using Two Abstract Parts 188
Creating Page-Specific Navigation Cases 190
Summary 192
Building Interactive Pages with Ajax 193
Displaying a FAQ 193
Refreshing the Answer Only 195
Hiding and Showing the Answer 199
Using Ajax to Hide or Show the Answer 201
Giving a Rating to a Question 204
Updating the Rating as the User Types 209
Using a Dialog Box to Get the Rating 210
Setting the Look and Feel with Skins 214
Displaying Multiple Questions 216
Summary 222
Using Conversations 224
Creating a Wizard to Submit Support Tickets 224
Interference Between Browser Windows 228
URL Mismatched? 234
Summary 238
Supporting Other Languages 239
Displaying the Current Date and Time 239
Supporting Chinese 240
Easier Way to Access Map Elements 245
Internationalizing the Date Display 246
Letting the User Change the Language Used 246
Localizing the Full Stop 251
Displaying a Logo 254
Making the Locale Change Persistent 256
Localizing Validation Messages 258
Summary 259
Using JBoss Seam 260
Installing Seam 260
Re-creating the E-shop Project 261
Allowing the User to Add Products 264
Restricting Access to the Product-Editing Page 272
Creating a Shopping Cart 274
Turning the Shopping Cart into a Stateful Session Bean 280
Creating the Checkout Page 284
Using WebLogic, WebSphere, or GlassFish 291
Summary 291
Index 293

Erscheint lt. Verlag 25.7.2009
Zusatzinfo 300 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Theorie / Studium
Mathematik / Informatik Informatik Web / Internet
Schlagworte AJAX • Framework • Java • Java EE • JavaServer Faces • JBoss Seam
ISBN-10 1-4302-1923-8 / 1430219238
ISBN-13 978-1-4302-1923-1 / 9781430219231
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 4,0 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

eBook Download (2023)
Rheinwerk Computing (Verlag)
44,90
Das Handbuch für Webentwickler

von Philip Ackermann

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90