« WebWork 2.2 Beta 4 Released | Main | WebWork 2.2.1: Released »

WebWork 2.2: Released and ready for Struts!

OpenSymphony and the WebWork team are proud to announce the release of WebWork version 2.2 (download now). This release is the biggest release ever for WebWork and there are plenty of reasons why (full release notes):

  • Full support for Java 5 Annotations and Generics
  • Rich AJAX support using DWR and Dojo
  • New QuickStart tool makes development easier than ever
  • Tons more documentation with over 900 PDF pages!
  • Client side validation using AJAX or plain JavaScript
  • Built in support for Continuations
  • JSR168/Portlet support for several popular Portlet servers, including Pluto
  • Rich UI template framework with native support for JSP, FreeMarker, and Velocity
  • Native support for Spring and Pico IOC containers
  • More intelligent error reporting
  • Developer Mode makes building webapps even easier with improved error reporting
  • Simplified tag syntax
  • Advanced data binding framework that works with any object, including domain objects

This release marks an important milestone in the WebWork history: the last major release under the WebWork and OpenSymphony names. While future minor releases will continue to take place (including 2.2.x and 2.1.x releases), all major work will now fold in to the Struts Action Framework, version 2.0. You can use WebWork 2.2 as an early preview of Struts Action Framework 2.0, but you can also expect many other great improvements to be added between now and then.

Thanks to the entire WebWork team for all their hard work, especially during these last few weeks as the final touches were put in place.

Getting started

We think the best way to get started with any technology is to try it out right away. That's why we've made WebWork the easiest web development platform to get started with. You can use the QuickStart feature (read the docs on QuickStart to learn how you can use this important tool with your own projects):

  • Open a command prompt to the root directory of the distribution
  • Using a Java 5 JDK, execute: java -jar webwork-2.2.jar quickstart:showcase
  • Open your browser to the URL: http://localhost:8080/showcase
  • Feel free to edit any of the sources (.java, .jsp, etc) in: webapps/showcase
  • Reload your browser to see the changes right away

TrackBack

TrackBack URL for this entry:
http://blogs.opensymphony.com/mt/mt-tb.cgi/214

Listed below are links to weblogs that reference WebWork 2.2: Released and ready for Struts!:

» WebWork 2.2: Released and ready for Struts! from OpenSymphony
Read the full announcement here... [Read More]

» So if WebWork uses DWR & Dojo, and Struts is becoming WebWork… from Panasonic Youth
So, WebWork 2.2 was just released, which makes heavy use of DWR and Dojo javascript framework. Struts is going to be merging with WebWork as Struts Action Framework. So does that mean that in a couple years everyone running Struts 2.0 will be using ... [Read More]

Comments

% jar tvf webwork-2.2.zip 
     0 Tue Jan 10 18:35:30 CET 2006 docs/

Too bad you guys still have not learned how to zip up your distribution. I wonder how many people went 'oh fuck' after they unzipped this and saw that there was no 'webwork-2.2' root directory.

Coffeetime!

Sorry about that - I didn't notice it because on OS X a folder is created anyway (it's odd that WinZip and Windows still haven't added such a simple feature). I'll make a note to fix that in 2.2.1.

Sorry to be so bitchy, I just hate it when it happens and I have to clean up the mess :-)

I am very excited about WebWork 2.2. Mostly because of all the auto code/content reload features.

I wonder, what tools do the WebWork team member use? IDEA, Eclipse? Are there any recommendations for a certain kind of workflow? I miss that kind of practical good advice from the docs.

Coffeetime!

Source comes with IntelliJ's project files and I believe just about all of the developers use IntelliJ. (It is of course still the best Java IDE)

:)

I have problems finding documentation of jars needed for starting a new project (if one don't use Quickstart). Is it me or are there no such docs?
I find a "Getting started"-section but that's for 2.1.7...

Regards Peter

If I run java -jar webwork-2.2.jar quickstart:showcase I get the following stacktrace:

java.lang.NoSuchMethodError: com.opensymphony.xwork.ObjectFactory.buildBean(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;
        at com.opensymphony.webwork.dispatcher.mapper.ActionMapperFactory.getMapper(ActionMapperFactory.java:32)
        at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:151)
        ...

I'm using Java 1.5.0_06

Cheers,

Jeroen

The "quickstart" instructions are not working for me. I'm running on Windows 2000.

Oddity #1 is that when I download, I get a file called webwork-2.2.zip not webwork-2.2.jar as documented.

Oddity #2 is the follwoing error I get when trying to run the jar:

D:\John\Download>java -jar webwork-2.2.zip quickstart:showcase
Invalid or corrupt jarfile webwork-2.2.zip

Thanks for any help!

John,
You need to unzip the zip file first :) Sorry, that was sort of assumed.

Peter,
Check the dependencies docs, or just look in the lib directory of the distribution. You need to start off with "default", and then can add other packages ("freemarker" most likely, etc) as you need.

Any chance of 2.2 getting into ibiblio for Maven2 users?

Danilo,
Yes, I'll be doing that very soon. We (OpenSymphony) have an automatic sync set up now with ibiblio as of a couple days ago.

Patrick

Boy do I feel dumb!

In my defense I'm exposed to MS platforms all day so it is not unheard of to receive a jar file with a .zip extension.

Thanks!

John,
Heh, it's OK. Let us know how the rest goes. Any feedback is always appreciated!

Great to hear that webwork is in sync with the m2 ibiblio repositoty, that means you'll have a new user very soon.
Also could you comment on a possible timeframe for the struts transition?

I've added the xwork, xwork-tiger, and webwork jars (and source jars) to our ibiblio rsync directory. They should be out on ibiblio soon.

I think some sort of captcha/math/moderation/filtering is in order, darn spammers :(

When do you anticipate Struts Action Framework 2.0 will be released? I would much rather develop with it than plain Struts.

Rob,
We're just getting started with the actual merging of the code. I expect it would take about 6 months to get the first Struts release out the door. In the meantime, you can get started with WebWork (if your company will let you) and then easily migrate over to Struts.

Patrick

Hi,
On the subject of the ww pom that's on ibiblio, why isn't there any dependency on it? I suppose the things in \lib\default should be a must, but then questions arise on which version. Why aren't you using the maven2 dependency management functionality?
Is it because your main build tool is not maven?
PS. It seems ivy 1.3-RC1 now also supports the ibiblio repo and the maven2 pom file for the declaration of dependencies so if you think m2 is an overkill might it be a alternative approach?

Hi All,

Tank's in advance,

I have a problem with a basic example....I use the webwork-2.2.jar with the rest of dependences (xwork,etc.) into the WEB-INF/lib (after deployed in server.webapps.home)

try a basic example from "WebWork In Action"...the HelloWorld....but appear this catch exception:
"500 Servlet Exception

java.lang.NoClassDefFoundError: com/uwyn/rife/continuations/ContinuationConfig
at com.opensymphony.webwork.dispatcher.mapper.ActionMapperFactory.getMapper(ActionMapperFactory.java:32)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:93)"

(resin-2.0.5 or tomcat-4.1) Any ideas?

I use in web.xml the:com.opensymphony.webwork.dispatcher.ServletDispatcher
(deprecated but is the class that appear in the all examples that I found in the net ).

and declare the action in xwork as:


hello.jsp

of course, the package of my class in only example.

thank's again in advance.
toni

I also get a servlet exception (java.lang.NoClassDefFoundError: com/uwyn/rife/continuations/ContinuationConfig) on the basic Helllo World example which is displayed at .

I want to learn how to use webwork and this is a bad show-stopper. Please help me...

Thanx in advance.

turbo

Is Any Open source web application using Webwork + struts. It's better to see how to use them together in the real world?
Thank you

Post a comment