Table of contents for Pro Ajax and Java frameworks / Nathaniel T. Schutta and Ryan Asleson.


Bibliographic record and links to related information available from the Library of Congress catalog
Note: Electronic data is machine generated. May be incomplete or contain other coding.


Counter
PART 1         A     Introducing Ajax
CHAPTER 1      What IsA ax9                                                   3
The Rise of the Web Application                     .......    3
And Then There Was Ajax .........
The XMLHttpRequest Object               .9.....  .   ...     19
Methods and Properties .                                     12
An Example Interaction .                                      13
Avoiding Common Gotchas                                   _.  16
Ajax Patterns                                          ...     20
The Fade Anything Technique (FAT).. ...       .    . .   21
Auto Refresh .     .                                     22
Partial Page Paint.                                      22
Draggable DOM...                                         23
Summary                                                       25
CHAPTER 2       Development Tools...                 .:.....   . ...     :127
JavaScript Source Code Editor                                 27
JSEclipse                                                28
NetBeans JavaScript Plug-in ... .... .                   32...... 3
JavaScript Compression and Obfuscation ......3....... 35
The Dojo Toolkit's JavaScript Compressor .         1: :... 37
Inspecting a DOM Structure  .............     .....     ..    38
Mouseover DOM Inspector ....    ....        .......      39
Debugging Ajax Requests                                       40
NetBeans HTTP Monitor.....            ,...  .......41
Firefox FireBug Extension43
JavaScript Logging  .........  .  ... ...  . .  ..   .   45
Log4JS. ...                                        _46
Lumberjack ...               ......                  49
JavaScript Debugging Tools  ...  .  ..    ....  ...  ..  52
Using Venkman..                                      52. .  ... .. 1..... . .... ___ 52
Testing Tools                                            56
JsUnit  ..5......                                    57
Selenium.                                            58
Summary .                                                71
PART 2           .Libraries and Toolkits
"CHAPTER 3    Java-Agnostic Toolkits .75
Prototype  .    ..... .. .. ..  ..  .  -.    . .  .. .  75
$()0                                                 76
Working with Forms. ..                          :... 77
Manipulatingthe DOM .. .....         .   ....       78
Try: Simplified Browser Detection ...84
Ajax Support . ... .                                 86..   . .... :.  .. .  .
script.aculo.us . .90
Effect ..........90
Autocomplete .                                       98
Dojo Toolkit                                         . ....... I  ..... .. ..... . : . 102
Anim ations,.                          _ _ _ _  __.. . . .. . .. . . .. . . .. . . 103
Effects .                                           105
dojoio.bind  .......                            _  _107
Taconite                                         ....... 110
Taconite on the Client Side  ........ ...  ..     ... iii
Taconite on the Server . . . . ............         112
Getting Started with Taconite . ...1_._.._. ._... .. 113
Summary  ...      ....   .:  .   .    I  ...  ...   ...-116
CHAPTER 4     Java-Specific Frameworks                                 117
DW VR  _ _ _   ........  I* I........  I  :  I1.   . :I  .  137
Installation ....118
Installation Verification. ..                 _ _  _120
JavaScriptTemplates  m,.  ,,,,. . ,,.. ,,,.. ,,,,,137
jaxTags                                                  ...  .   141
The Ajax "Killer Application"     1..                  ..142
AjaxTags Autocomplete Coronent       en   ..    .    .   142
Other Options                                                149
Summary                                                 .    149
PART 3               Web Frameworks
CHAPTER 5       Struts and Ajax                                              153
Struts Design                                           .... 153
Ajax Validation              .                               155
Struts Validation. . , .                           .....  _ _156
Struts and Ajax Integration . ......                         157
Ajax-Powered Vali dation .                          ... 161
Implementing Struts . ,                                  163
Struts and Ajax Design Considerations        .           179
The Future of Struts. , ,                                ... 180
Struts 1 .3 and Beyond . ...               _____181
Struts Shale .. .181
Struts Ti .                                              182
Summary                                            .........182
CHAPTER 6       Tapestry   .                                                 1
What IsTapestry?   .183
Getting Started                                              18...'..5.. ...1....1 :  .. .  185
Calling the Server ......188
Tapestry Forms ..                                        ...193
Tapestry Exceptions ...   ..........          ..   .  .:.    203
Tapestry and Ajax                   ____.       _____204
Tacos Components .. .205
Setting Up Tacos .. .206
Using a Component .      I  .. . I I .          ..-,     206
Enabling Debug Information ........                .      211
Modifying the Form Example     ..... .                   212
Summary                      .........217
CHAPTER 7      Spring and Ajax I::::      m:::...:mm                    219
What Is Spring?                                      m"m 219
Just Another Framework?. ....>9...:            ..      220
Aspect-Oriented Programming and Dependency injection   2 . 2 20
Getting Started with Spring                                225
Ajax and Spring. .  mm            .                    234
The Inventory Control Application.... ..  ..  .  ..    234
Summary      ,,        mma..        :   . ,.....    mm i, _261
CHAPTER 8      JavaServer Faces        ,,     m     m.               mm, 263
What s JSF? 2.....63.I.           .....          ...._._._263
Getting Started with JSF                              .... 264
Dynamic Navigation                                       .. 269
JSFTagIibs  ......           ......2 .... .. .2.......      70
Validating and Converting                             .... 274
Developing JSF Applications with an IDE.... ..+ .     .    280
Other JSF Technologies  .2. I1...             ..  .._2...   82
Apache Tomahawk. .                               ..I I282
Facelets  .  . . . . . . . ......  . . . . . . .. . . . . . 282
Shale .......283
Seam .mm,                ,,flm283
The JSF Life Cycle      ,.283
Restore View              m     . .. .  ....   1.  .. .......  _ _284
Apply Request Values   m..                            24........ ........  284
Process Validation  . ,,............   .: .......     . 285
Update Model .   o   m    m.                     .      285
Invoke Application....                                 2 ....... .....; ..... 285
Render Response ...................         ......... 285
JSF and Ajax                           __     __            285
JSF Ajax Components ..........     ................ 292
Summary .                                                .. 295



Library of Congress subject headings for this publication: Ajax (Web site development technology)JavaScript (Computer program language)Web site development, Asynchronous transfer mode