On 9/23/05, emre akbas <[EMAIL PROTECTED]> wrote:
>
> Yes, to me too, getting datasource and then connection and passing this
> connection object to the service layer does not seem to be a good pattern.
> I
> said, by storing the datasource and servletcontext statically in the
> service
> layer may
Yes, to me too, getting datasource and then connection and passing this
connection object to the service layer does not seem to be a good pattern. I
said, by storing the datasource and servletcontext statically in the service
layer may make life easier.
I want to know various opinions about this to
>
> i think if you use Spring Framework or something similar, you might not
> need to do this by yourself.
action class accessing DB does not seem to be a good pattern.
3 matches
Mail list logo