I think a SearchManager might be best - that way it can be exposed as a web service and used by other applications.
Matt On 11/25/07, franz see <[EMAIL PROTECTED]> wrote: > > Good day, > > There is a jira issue regarding providing searching capability in Appfuse > 2.1 via Compass ( see [1] ). > > In line with that, I'd just like to ask how other Appfuse users are > integrating compass into their applications. > > * Where should the searching mechanism be placed ? - Dao, Manager/Service, > Controller? > * Also, what is the preferred Compass configuration ? - XML, Annotations? > * ...Others? > > Personally, I started implementing Compass inside my Daos, but later > transfered it to my SearchManager ( because I might need to return several > business types of business models in one search ) ( see [2] for more about > the discussion )....but of course, that's just me. > > And as for the configuration, since I'm a compass newbie, I prefer using > annotations because it will minimize the chances that I'll get it wrong :-) > > What about you guys? > > Thanks, > Franz > > [1] http://issues.appfuse.org/browse/APF-267 > [2] http://forums.opensymphony.com/thread.jspa?threadID=158298&tstart=0 > -- > View this message in context: > http://www.nabble.com/How-should-Compass-be-integrated-with-Appfuse-2.x-tf4872943s2369.html#a13943916 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
