Create a dynamic Web application with AJAX
This tutorial demonstrates how to expose a server-side method to an AJAX-enabled client application. You will use the WebSphere® Application Server Feature Pack for Web 2.0, RPC Adapter technology to expose a method in a Java™ class that returns a list of movie data. You will use the Dojo Toolkit, included in the WAS Feature Pack for Web 2.0, to create the Web page that will display the movie data.
Lessons learned
By completing this tutorial you learned about the following concepts and tasks:
- How to create a Web 2.0 enabled Web application to contain all of the resources required by your application.
- How to create the RPC Adapter service that returns a JSON response.
- How to create the Java objects that contain the data for your application.
- How to create a Web page that is Dojo enabled.
- How to write JavaScript™ and HTML code to create the AJAX-based user interface for your application
- About RPC Adapter services.
- About the Dojo Toolkit.
Additional resources
For more information about the RPC Adapter capabilities, refer to the Learn more section in the WAS Feature Pack for Web 2.0 Web page.
For more information about the Dojo toolkit, refer to http://www.dojotoolkit.org/.
To learn about JavaScript Object Notation (JSON), refer to www.json.org.