Christian Bollmeyer on 01/09/05 18:19, wrote:
my suggestion would be to have a closer look at the
Spring framework. IoC / dependency injection is
really cool once you get a grasp of it. Instead of
having the service look up a DAO instance, you
simply inject the fitting implementation class into
On Thursday 01 September 2005 19:26, Larry Meadors wrote:
> iBATIS is 100% thread-safe.
>
> Larry
>
>
> PS: can you point me to a good example of a Spring-based DAO
> implementation?
Hm...IMHO one good example would be the JPetstore sample
app that comes with the Spring distribution, for instance.
iBATIS is 100% thread-safe.
Larry
PS: can you point me to a good example of a Spring-based DAO implementation?
On 9/1/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> my suggestion would be to have a closer look at the
> Spring framework. IoC / dependency injection is
> really coo
Hi,
my suggestion would be to have a closer look at the
Spring framework. IoC / dependency injection is
really cool once you get a grasp of it. Instead of
having the service look up a DAO instance, you
simply inject the fitting implementation class into
the service via Spring. The service itself
Sounds quite cool :)
Unfortunately, I already lost the argument at work to use iBatis instead
of Hibernate. Hibernate isn't bad, but I would have preferred iBatis.
Oh well.
Frank
Larry Meadors wrote:
Actually, the iBATIS DAO stuff works well with darn near any data
access technology - sqlm
Actually, the iBATIS DAO stuff works well with darn near any data
access technology - sqlmaps, hibernate, jdbc, and about 5-6 more
"out-of-the-box", so don't think that using the iBATIS DAO means you
have to use iBATIS SQL Maps - they are very seperate tools.
What it does is similar to what you ar
As Leon said, there probably isn't any one "right" answer, although I
think it's fair to say that best practices is as Leon says, to *not*
create a DAO per service method.
What I tend to do, and I'm not claiming this is any more right than
anything else, is to have a DAO factory where I get my
On Wed, 2005-08-31 at 21:19 -0700, Paul Benedict wrote:
> Hey guys.
>
> I have alot of service objects called from Struts, and
> each have a good deal of service methods. Service
> methods mainly do business logic and talk to DAO
> objects.
>
> Question:
> I've taken the approach of service metho
8 matches
Mail list logo