Hello to all,

We're in the beginnings of developing a complete banking application.
In the application there will be about 30+ different modules like
accounting, credit, credit cards, reporting, etc. Fortunately we are
responsible only for application server and database layers. UI stuff
will be developed by another group.

I'm responsible for choosing/developing data layer. While searching
for a suitable I tried to evaluate different libraries and iBatis
seemed to be the best. "There is little to learn that you don't
already know" motto is good.

The requests from UI layer will pass through remoting transport. We
have a Struts like "Request Processor" listening for requests. When a
request arrives we extract the message, check the transaction code,
apply the necessary validation and (if necessary) instantiate the
class and call the business logic method.

In this call Request Processor provides a "database connection" to the
called method in order to manage the transaction. (If an exception
occurs rollbacks, otherwise commits)

1) I want my developers (specifically module owners) to write only
SqlMap files. Because there is no need to declare same "provider",
same "settings", same "database" options in each module. To do this I
think I need a different configuration API than the current one. I
tried to analyze IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.
It simply reads file references from sqlMapConfig/sqlMaps and
constructs internal data structures. Is there any way that I can
programmatically specify which SqlMap files will be parsed and loaded?

2) Since the application is multithreaded I wonder if having multiple
SqlMappers cause problems?

I know I wrote too much in this email. :-) I tried my best to explain
the situation well..

-- 
/tb.

Reply via email to