• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Using Dojo with a jMaki Widget

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic