ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Law <andy....@roslin.ed.ac.uk>
Subject Re: How would you - the experts - design this?
Date Tue, 26 Jan 2010 16:53:24 GMT

Nathan,


nmaves wrote:
> 
> From what I can gather from this chain I would say what you are looking
> for can be found by using maven2 and modules.
> 
> I use this all the time with the following kind of setup
> 
> /parent module
>   /core module (this has all of the common sqlmap etc...)
>   /db-access-scope1 module (depends on core)
>   /db-access-scope2 module (depends on core)
> 
> Check it out it might just be what you are looking for
> 
> 

The db-access module is itself already a module within a multi-module maven
build so we're comfortable with that and it's been on our list of options
from the outset. I'm wondering what parts you would factor out into the
scope1/scope2 modules though?

The ideas that we've kicked around here over the past day or two tended to
drift back to a specific implementation of the DAOFactory in each sub-module
that has embedded the "magic strings" that the dynamic SQL might use. Is
that the kind of thing that you were thinking of?

Later,

Andy
-- 
View this message in context: http://old.nabble.com/How-would-you---the-experts---design-this--tp27304322p27325937.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message