Off the top of my head i am thinking of writing my server-side tasks as one big service and injecting all dao objects within that service- something like this:
public class MyServiceImpl extends RemoteServiceServlet implements MyService {
@Inject
MyDAO1 myDAO1;
@Inject
MyDAO2 myDAO2;
@Inject
MyDAO3 myDAO3;
...
//20 methods
//
}
Is one big service the way to go or is there some other, better pattern for this ?