Introduction
WebSphere Consultant Roland Barcia answers questions about building WEB 2.0 applications using Ajax technology in WebSphere. He answered questions about invoking WebSphere applications from Ajax clients, including WebSphere Process Server, WebSphere Enterprise Service bus, and WebSphere Applicati On Server. Topics include commonly used data transmission formats such as REST, Json-rpc, and SOAP, tools (such as Eclipse Ajax Toolkit and Rational tools), or Ajax toolkits (such as Dojo Toolkit and DWR). He also discussed how to integrate Ajax technology with IBM's SOA platform.
Q: What does IBM do to support the Ajax server-side component framework?
Answer: WEB 2.0 is very important for IBM®. IBM has WEB 2.0 as a key part of a service-oriented architecture (SOA), which is an access point to an SOA enterprise. For the server side, over the next few months, IBM is about to release several technologies that allow the use of WEB 2.0 protocols such as REST and JSON to invoke services. You can use this technology in our WebSphere product stack. Includes the following products, such as the WebSphere Portal and WebSphere Business integration products, and the WebSphere Process server and WebSphere Enterprise server B us You can also see WEB 2.0 server-side components written in other programming languages, such as PHP.
IBM builds on Web 2.0 to meet enterprise-class requirements, such as security, and eventually Web 2.0 will become a mainstream platform. Security is an important issue for Ajax based applications. IBM also works with the community through Open Ajax Alliance to help define industry standards.
Q: What is the best Ajax toolkit? Can we use Ajax in the WebSphere Developer Studio Client? If so, how should it be used?
Answer: The so-called "best" tool, which always depends on your specific needs. I can tell you what my favorite frame is, but I don't know what you need. You should ask yourself the following questions:
Do you need to provide an asynchronous invocation of the abstract JavaScript framework?
Do you need a rich set of pre-built widgets and the ability to create your own widgets?
Do you need to handle the marshaled server-side framework for AJAX requests that enter in XML or JSON form?
Do you need help debugging the development environment for AJAX applications?
You can choose from these frameworks below. Keep in mind that some are open source frameworks that you have to support from the communities that provide support.
Browser Toolkit for JavaScript abstraction and widget libraries:
Dojo Toolkit
IBM JavaServer Faces Client
Google®web Toolkit (Building Ajax applications using the Java™ language)