The Artima Developer Community
Sponsored Link

Java Buzz Forum
WebWork 2.2: Coninuations, Spring, Dependencies, and Books

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
WebWork 2.2: Coninuations, Spring, Dependencies, and Books Posted: Sep 23, 2005 2:47 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: WebWork 2.2: Coninuations, Spring, Dependencies, and Books
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

A lot of great news has come out of the WebWork team. Having used WebWork on a lot of projects recently, I am a big fan, as it is simple and gets out of your damn way! :)

Some of the great news:

  • Continuations: RIFE and WebWork have partnered around continuations (at least). WebWork now contains an early version of RIFE/continuations, and provides experimental support for continuations. This is so we can get closer to SeaSide if we want. Take a look at an example action:
    public class Guess extends ActionSupport {
        int guess;
    
        public String execute() throws Exception {
            int answer = new Random().nextInt(100) + 1;
            int tries = 5;
    
            while (answer != guess && tries > 0) {
                pause(SUCCESS);
    
                if (guess > answer) {
                    addFieldError("guess", "Too high!");
                } else if (guess < answer) {
                    addFieldError("guess", "Too low!");
                }
    
                tries--;
            }
    
            if (answer == guess) {
                addActionMessage("You got it!");
            } else {
                addActionMessage("You ran out of tries, the answer was " + answer);
            }
    
            return SUCCESS;
        }
    
        public void setGuess(int guess) {
            this.guess = guess;
        }
    }
    
  • Spring IoC by default: WebWork is working with the Spring team too, and Spring is now the default IoC container
  • WebWork in Action: "Where is the WebWork book?". It's finally here
  • WebWork Dependencies: WebWork uses Ivy, and has a nice view of its dependencies
Amazing work guys.

Read: WebWork 2.2: Coninuations, Spring, Dependencies, and Books

Topic: Executed Chinese Prisoners Skinned for Making Beauty Products Previous Topic   Next Topic Topic: Intel puts $ 700m Wafer Testing Unit on Hold as Indian Government declines Tax Concessions for...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use