This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Since DTO is a retired pattern, what is the best way to pass search critieria from web tier. before I would create a DTo and set its parameters in the web tier and pass it to the business tier for setting the parameters to namedquery, does it mean that now I can create a jpa entity and set its fields and pass it to business tier. is it ok?