Posts Tagged ‘Jstl’

How Ajax Works With J2EE And Scripting Languages

January 28th, 2010

Last time, I concluded the introductory article on Ajax at a small description on J2EE. Here I am going to discuss the benefits of the Ajax application using J2EE and scripting and the advantage of using them together.

Ajax with Java2EE

Ajax, together with J2EE makes your application accessible to whole J2EE platform stack which also includes new and updated web services and database access technologies. You get Servlets, JSP technology, and Java Standard Tag Library (JSTL) in the stack’s web tier. Additionally, JavaServer Faces technology 1.2, which is a framework for building rich user interfaces (UIs) for web applications, is also accompanied with these tools. This absolute combination of Ajax & J2EE provides a sophisticated & extensible component model to control events, convert and validate data, and run component state. Moreover, it offers a navigation model to control page flow and a managed bean facility for binding components to scoped beans.

JavaServer Faces technology not only offers you the extra server-side functionality you need for Ajax, but also eases the addition of Ajax to your application. Rather than embedding the JavaScript technology directly in the page, you can simply encapsulate it inside a Java Server Faces component. The ease of its use enables you experience all the benefits that the JavaServer Faces component model provides you.

Even if JSP technology is used without JavaServer Faces technology, Ajax functionality can still be encapsulated using custom tags. Together with the rest of the J2EE platform stack, the JSP and JavaServer Faces technologies endows you with everything you require for completing the server-side picture of your Ajax-enabled web application. » Read more: How Ajax Works With J2EE And Scripting Languages