Hi,
I want display on one of my view page result of following sql query:-
==============================
select count(userid),userid from ordermaster group by userid;
==============================
Now I already have OrderMaster CMP
EJB in my applications EJB module. Now my question is which of above (ejb-Finder or ejb-Selector) method should I use for getting above query result through EJB ? As far as I know ejb Finder methods always return Object of type Colletion or Remote interface, I guess here that we should use ejb-selector methods only?
But as client can not have acces to EJB-selector methods through interfaces, how shold we make it to access through interfaces to client? Also what should be equivalent EJB-Selector method for above SQL Query?
Please reply.
thank you in advance.
prash