aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Using Dojo with a jMaki Widget Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Using Dojo with a jMaki Widget" Watch "Using Dojo with a jMaki Widget" New topic
Author

Using Dojo with a jMaki Widget

Nicolo Fioretti
Greenhorn

Joined: Sep 28, 2008
Posts: 5
A very good solution for a Java developer to include AJAX in a web application could be to use jMaki. This technology allows to write JSP and JSF wrapping a widget (i.e. from Dojo) and avoiding to deal with JavaScript directly. What are the advantages for a Java developer that decides to learn JavaScript? Does a Java Dojo wrapper like jMaki really use all Dojo features? Could be any limit?
Frank Zammetti
Ranch Hand

Joined: Dec 16, 2004
Posts: 136
Every empty I've ever seen to wrap up Dojo in some way that allows Java developers to not have to touch JavaScript have been... less than successful. Also speaking as someone who created a library to abstract Java developers away from JavaScript (the AjaxParta Taglib), I think there's something to be said for the general approach, but also in general I think it tends to not be worth the effort.

When you're first getting into Ajax I think something like AjaxParts Taglib can be helpful... and adding Ajax to an existing Java application is an area where it also can be helpful... but when you get to the point where you're really trying to develop a modern RIA, I think you just need to get into JavaScript, regardless of what library you choose (or no library at all if you want).


-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Dojo with a jMaki Widget