I have one design concern.  In our project we have ejb's.  Now in some
modules i have only the some sql quries to be executed based on the user
search condition.  here where should i prepare the sql queries.  should i
create in Action class or  session bean.


Actions should never contain sql or business logic. They should execute a method on a business layer class like a session bean.


David

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to