wood burning stoves
The moose likes Struts and the fly likes Dojo plugin deprecated on Struts 2.1: why ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dojo plugin deprecated on Struts 2.1: why ?" Watch "Dojo plugin deprecated on Struts 2.1: why ?" New topic

Dojo plugin deprecated on Struts 2.1: why ?

Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 549

I just read that the Dojo plugin will be deprecated on Struts 2.1


I have two main questions about that :
1) What is the reason ? Is it because it is slow ?
2) Will it be replaced by another Javascript library ?

Please let us know.

SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
David Newton

Joined: Sep 29, 2008
Posts: 12617

It's being deprecated because it's a very old version of Dojo, nobody stepped up to create tags based on the new version, and maintenance and user support was a nightmare.

There's a jQuery plugin in the sandbox, but it will be less full-featured than the Dojo plugin. The bulk of S2 committers ended up believing that only the simplest of use cases are easily handled with a tag-based solution. It was felt that it's better for developers to use the underlying library directly, especially because all but the most trivial of use-cases required custom JavaScript anyway.

Trying to capture everybody's needs in a single library with manageable tags didn't work out well.

(These are just my opinions, I'm not speaking as a Struts committer here--the actual discussion covered most of these points, but I don't know what everybody else's reasons were.)
Sam Tsang

Joined: Mar 26, 2009
Posts: 5
hey you can use any library you like. I don't use Dojo, instead I use AjaxPartsTaglib. I always disable the "ajax" theme. I don't see any advantage using this.
I agree. Here's the link: http://aspose.com/file-tools
subject: Dojo plugin deprecated on Struts 2.1: why ?
It's not a secret anymore!