Building Dynamic Ajax Applications Using Websphere Feature Pack for Web 2.0

Building Dynamic Ajax Applications Using Websphere Feature Pack for Web 2.0

Front cover Building Dynamic Ajax Applications Using WebSphere Feature Pack for Web 2.0 Web 2.0 features and benefits explained Ajax client runtime functions explored Sample implementations presented G. Michael Connolly Mehmet Akin Ankur Goyal Robin Howlett Matthew Perrins ibm.com/redbooks International Technical Support Organization Building Dynamic Ajax Applications Using WebSphere Feature Pack for Web 2.0 November 2008 SG24-7635-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xiii. First Edition (November 2008) This edition applies to WebSphere Application Server Feature Pack for Web 2.0 for Version 6.0.2, Version 6.1, and Community Edition Version 2.0. © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . xiii Trademarks . xiv Preface . xv The team that wrote this book . xvi Become a published author . xviii Comments welcome. xviii Chapter 1. Introduction to Web 2.0 . 1 1.1 Introduction to Web 2.0 . 2 1.2 Catching a wave of innovation . 2 1.2.1 A tipping point . 2 1.2.2 Web 2.0 technologies . 3 1.3 Web 2.0 releases the value of SOA . 4 1.4 Enterprise Web 2.0 . 8 1.5 Extending the reach of SOA with RESTful SOA . 9 1.5.1 REST and the foundation of the RESTful SOA. 10 1.5.2 Unleash your assets . 15 1.5.3 Unleashing your J2EE assets . 16 1.5.4 Classification of feeds . 17 1.6 What is Ajax . 18 1.6.1 History . 18 1.6.2 Justification . 19 Chapter 2. Feature pack overview . 21 2.1 Feature packs for WebSphere Application Server . 22 2.2 Feature Pack for Web 2.0 features . 24 2.2.1 Ajax connectivity . 24 2.2.2 Server-side libraries . 25 2.2.3 Ajax client runtime (Ajax Development Toolkit). 26 2.2.4 Web 2.0 sample applications . 28 2.2.5 FeedSphere sample . 29 2.3 Benefits of Feature Pack for Web 2.0 . 29 2.4 References . 29 Chapter 3. Core concepts. 31 3.1 The technical foundations of Web 2.0 . 32 3.1.1 HTTP Protocol. 33 3.1.2 REST. 34 © Copyright IBM Corp. 2008. All rights reserved. iii 3.1.3 Asynchronous JavaScript (Ajax) . 35 3.1.4 JSON. 35 3.1.5 POX (XML) . 36 3.1.6 Atom . 36 3.1.7 JavaScript . 36 3.1.8 DOM . 37 3.1.9 DHTML . 37 3.1.10 CSS. 38 3.2 Model View Controller . 38 3.2.1 Model 2 J2EE MVC. 39 3.2.2 Web 2.0. 40 Chapter 4. Installation. 43 4.1 Supported platforms . 44 4.2 Supported Integrated Development Environments (IDEs) . 44 4.3 Installing the application server product . 44 4.3.1 Updating the application server. 45 4.3.2 Applying the appropriate iFix for the Web messaging feature . 45 4.4 Downloading Feature Pack for Web 2.0 . 45 4.4.1 WebSphere Application Server Community Edition Version 2.0. 46 4.4.2 WebSphere Application Server Version 6 for Distributed, i5/OS . 46 4.4.3 WebSphere Application Server Version 6 for z/OS. 46 4.5 Installing Feature Pack for Web 2.0 . 46 4.5.1 System requirements . 46 4.5.2 Installing Feature Pack for Web 2.0 on distributed OSs . 47 4.5.3 Installing Feature Pack for Web 2.0 on i5/OS . 50 4.5.4 Installing Feature Pack for Web 2.0 on z/OS . 53 4.6 Uninstalling Feature Pack for Web 2.0 . 53 4.6.1 Uninstalling Feature Pack for Web 2.0 . 53 4.6.2 Uninstalling the feature pack on i5/OS . 56 4.6.3 Manual uninstallation . 57 4.6.4 Troubleshooting . 60 Chapter 5. Application development tools . 63 5.1 Ajax development tools overview . 64 5.2 Rational Application Developer 7.0.0.6 . 64 5.2.1 IBM Installation Manager . 64 5.2.2 Installation of Rational Application Developer. 66 5.2.3 Upgrading IBM Installation Manager. 72 5.2.4 Upgrading IBM Rational Application Developer . 73 5.2.5 Configuring Web 2.0 feature pack Eclipse plug-in . 78 5.2.6 Uninstalling IBM Rational Application Developer . 81 iv Building Dynamic Ajax Applications Using WebSphere Feature Pack for Web 2.0 5.3 Eclipse 3.3. 81 5.3.1 Eclipse installation. 82 5.3.2 Configuration of Eclipse for WAS CE server. 89 5.4 Firebug 1.05 . 92 5.4.1 Installation . 92 5.4.2 IE debugging aids . 93 5.5 JSON Formatter . 93 Chapter 6. Ajax connectivity . 97 6.1 Web 2.0 to SOA connectivity overview . 98 6.2 RPC Adapter . 99 6.2.1 Protocols supported by RPC Adapter . 100 6.2.2 Sample RPC Adapter implementation . 100 6.2.3 RPC Adapter library features . 114 6.2.4 Accessing EJBs through RPC Adapter . 126 6.2.5 XML schema for RPCAdapterConfig.xml . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    682 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us