I'd like some help figuring out how I can write "cleaner" action beans.
In a blog post by Christian Nelson, Stripes: A Successful First Project (http://blog.carbonfive.com/2009/02/java/stripes-a-succesful-first-project), he writes: "We keep our Actions simple and lightweight, deferring all non-display logic to transactional, spring-managed services. I.ve seen examples where Actions are directly interacting with the database, a pattern I discourage." This was the impetus for my introspection. I'm a newbe though--both to Stripes and Java (well, back to Java after 5 years) and don't know how/where to start. Right now, I'm finding my beans are getting pretty busy (even if you take out logging). An example of one of my ActionBeans can be found here: http://gist.github.com/71014 Any thoughts and guidance would be appreciated. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
