I have controllers (Stripes Actions) that receive/send information from/to forms and a JPA model and I put my logic into EJBs.
So, I have multiple EJBs for different purposes (cart management, user management, etc.) and a front-facade EJB that delegates to these EJBs. I use facade's methods in my Action controllers. This might be an overkill for simpler applications, but for more complex is quite good. Best regards, Grzegorz Dan King pisze: > Hi, > > I'm in the process of learning stripes and to that end I'm putting together a > simple module, but I'm stuck on where to put my "business logic." If anyone > can point me in the right direction I'd appreciate it. > > Currently I have: > 1. A controller that receives form information > 2. A model that only reflects a database table > 3. A DAO that using jpa/hibernate performs a simple select query based on the > form information received by the controller. > > Thanks. > > -Dan > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
