Re: Separation of concerns in the ControlServlet

2014-04-03 Thread adrian . crum
Personally, I try to avoid putting things in the session because it causes quirky behavior. If you want to move to RESTful services, then the application state should remain in the representation (Fielding). More on OFBiz and REST: https://issues.apache.org/jira/browse/OFBIZ-4274 -Adrian

Separation of concerns in the ControlServlet

2014-04-03 Thread Ean Schuessler
In our internal development we have been working to keep our app logic inside services and not let it leak out into the web action code. In general, we're basically working to eliminate the use of code in the actions and move it all the way out to client side javascript. By the time the client talk