my dog learned polymorphism*
The moose likes Spring and the fly likes Using Roo with Spring Workflow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Using Roo with Spring Workflow" Watch "Using Roo with Spring Workflow" New topic
Author

Using Roo with Spring Workflow

Rob Ivan
Greenhorn

Joined: Jan 07, 2010
Posts: 28

I used an early version of Roo and found that it was not very flexible with regards to creating a workflow application. Roo seemed biased towards giving access to all fields of all objects and creation order was not crucial or even controllable. Does the latest version of Roo provide any features that are geared towards creating workflows?
Srini Penchikala
author
Greenhorn

Joined: May 01, 2012
Posts: 5
Hi Rob,

I just want to make sure what the workflow in your use case means. Are you talking about web UI navigation based workflow (as in Spring WebFlow framework) or a Enterprise Integration Patterns or ESB based workflow (using Spring Integration framework)? If it's the latter, we have a chapter dedicated to Spring Integration in the book.

Can you give more details on the use case you are trying to Roo to implement?

Thanks
Srini
Rob Ivan
Greenhorn

Joined: Jan 07, 2010
Posts: 28

Hi, Srini.

Thank you for responding. I was working on a web UI navigation based workflow like Spring WebFlow framework. I wanted to walk a UI user through a specific set of steps to build up an advertisement or flyer that they could then print out.
Ken Rimple
author
Ranch Hand

Joined: Jul 20, 2010
Posts: 63

Rob Ivan wrote:Hi, Srini.

Thank you for responding. I was working on a web UI navigation based workflow like Spring WebFlow framework. I wanted to walk a UI user through a specific set of steps to build up an advertisement or flyer that they could then print out.


Yes, Roo does not quite deal with WebFlow completely out of the box - for example, the way webflow handles buttons and transitions is not matched by the current forms and buttons. The setup simply does the bare minimum to set up web flow, but doesn't integrate it into the whole ITD and scaffold world.

I had a draft chapter on this in roo in action, but it got low interest in the reviews and so ended up being replaced by more compelling content (the second add-on chapter, etc) and so we could keep to a reasonable # of pages.

So, I have some good material I want to put out and am planning on releasing. I have to finalize the location but I'll have to make a note and include a post here to announce it once it is online.

Short/sweet though:

- you can't use scaffolds with web flow
- you pretty much use web flow the same way you do in Spring itself, since you're on a Spring app
- you have to either go rogue and use the Spring MVC spring: and form: tags or create a few of your own (that's what I did in the chapter).

I'll try to get that content out in a month or so, I'm just cleaning up some other things right now.

Ken

Ken Rimple
ken.rimple@gmail.com
Co-author, Manning Spring Roo in Action
I teach for Chariot Solutions (Spring, Maven, Hibernate, other courses). Schedule here
Rob Ivan
Greenhorn

Joined: Jan 07, 2010
Posts: 28

Thanks for that response, Ken. I am eager the see what you have put together on this topic and will keep an eye out for your future post.
Ken Rimple
author
Ranch Hand

Joined: Jul 20, 2010
Posts: 63

Also i had posted something a while back with the gist of what I was stating above.

Roo and Web Flow

Best,

Ken
 
 
subject: Using Roo with Spring Workflow