I would normally prefer to encapsulate all entity specific queries in a manager, that way I can keep queries and other persistence related functionality in one place, makes it easy to maintain and can be reused by multiple clients.
BR,
Mohamed
[Message sent by forum member 'mohamedelshami' (mohamed.shami_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=384696