Hi All,

I have a J2EE 1.3 based application that uses entity beans extensively together 
with web services (axis) and struts for the web front end, all in Jboss 3.

Part of the application allows users to search using various different criteria 
which spans several entity beans, such as a username, the users company name 
etc.

I can implement the search using EJB-QL as part of the bean finder methods and 
traverse / navigate to related beans or as Id prefer todo, implement a 
stateless session bean with a DAO specifically for searching. Since the search 
goes across several entities its hard to say exactly which bean the search 
methods should be attributed too. 

This would allow me concentrate the bulk of my search methods in one place, 
avoid having to use ejb-ql with i am not readily familiar with and use "LIKE" 
statements (part of J2EE 1.4 but not 1.3 I think).

Is this stateless bean + search dao a much used pattern ? does using it make 
sense or should I stick to finder methods ?

Any feedback much appreciated..

Tom


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855739#3855739

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855739


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to