Rating: 1 out of 1 votes cast
Category: Ajax and Java
|
New Technologies for Ajax and Web Application Development: Project jMaki
Abstract: This atricle introduces jMaki project that gives you a simple way to include Ajax-enabled widgets in your web applications
The jMaki technology does this by allowing you to wrap widgets in a JavaServer Pages (JSP) technology tag handler or a JavaServer Faces component. By wrapping a widget in this way, you can encapsulate it in a modular unit and also give it the benefits of any JSP tag handler or JavaServer Faces component.
The primary benefit is that you can easily include wrapped widgets into any JSP or JavaServer Faces technology-based application in the same way that you would include any other custom JSP tag or JavaServer Faces component tag. By wrapping the widget in a JavaServer Faces component, you can give the widget all the functionality of any other JavaServer Faces component, including access to data conversion and validation capabilities. What's more, jMaki does all the work of creating the custom tag handler or custom JavaServer Faces component for you. You won't need to write another tag handler, component class, or component renderer by hand.
What makes the technology so flexible is that jMaki does not limit you to any particular kind of widget from any particular vendor. You can grab one of the widgets from Dojo, Script.aculo.us, or wherever you like and create a jMaki wrapper for it with minimal effort. With so many cool widgets available out there, this is a huge benefit: You don't have to reinvent the wheel. Still, if you don't find a widget that meets your needs, you can create one using jMaki and wrap it in a JSP technology tag handler or a JavaServer Faces component, as you would with any other widget.
The following sections give you a short introduction to using jMaki. First, you'll see how easy it is to include a jMaki component in a page. After that, you'll find out what's included in a typical jMaki widget. Then you'll learn how to wrap the components of a prebuilt, third-party widget and use it in a page. Finally, you will see how to create your own jMaki widget from scratch and add it to your application.
|