Jmaki is a frame work that allows programmer to take widgets from the ajax framework to wrap them int jsp and jsf tags thus providing common programming model to developers. The name Jmaki derived from ‘j’ stands for java and ‘maki’ a Japanese word meaning wrap.
Features of Jmaki
Maki makes it easier to use AJAX frameworks within the Java EE Platform.
It provides a set of wrappers around some of the widgets of popular frameworks such
as Yahoo Widgets,Dojo etc.
Project jMaki is easily extensible, allowing programmers to use the useful and
latest widgets.
It allows developers to use JavaScript in their Java based applications as either a JSP
tag library or a JSF component.
It uses vital parts o java and javascript technology to get (ajax)
widgets.
It supports and promotes a programming style which clearly separate (actions,
behaviors) JAVASCRIPT from (design styles) CSS and HTML template
Jmaki Widgets
Provides widgets for components from Dojo,Yahoo Widgets and DHTML Goodies.It include Ajax widgets.
Working of Jmaki
jMaki puts the right pieces together using Java to render the initial page which
compiles HTML,CSS and JS.
In case of both JSP and JSF tags inputs are same and output should be same.
If there is a service behind widgets it may differ.
jMaki widgets are re-useable parametrized java script widgets.
jMaki make sure that proper parameters are passed to each widget code using the
javascript bootrapper that initializes the widget in the page.
It easy to create widgets and support upcoming javascript libraries jMaki design.
The widgets are configurable fully in a running web application.
Pros & Cons
jMaki widgets available in JSF components and JSP tags hence the developers using these technology just have to put appropriate tags from jMaki Tag Libraries and need not concern about the javascript,css or dom since the jMaki wraps widgets from Dojo etc hence the developers using this framework do not have to deal with low level ajax codes,tackling with browser compatibility etc.
But developers using this frame work need to have some degree of knowledge in the Javascript Technology,since if developers using widgets in the library need to write code to import it,creating the widget object and if writing own widgets developers have to code for css,dom and ajax behaviors.
Hence jMaki is used in JSF,JSP applications when application needs to access widgets from client side Javascript technology libraries like Dojo etc .