With iBATIS, you can supply configuration properties at runtime - look
at the API for the constructors of the sqlmapclient - one of them
allows you to pass a properties object into it - those can be used to
configure the data source.
Larry
On 9/27/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
Hi
This sounds intresting
I am also working on an application which is suppose to get data from more
then one database and then merge and create one xml file and send it back.
So in this case, i will have to work with more then one JNDI,
Has anyone experience with working this kind of application,
The idea of the local JNDI reference (which exists for the application
instance only) is to decouple it from the actual, physical JNDI name
of the resource. The mapping of the datasource name is (usually) done
when the application is deployed. I am not familiar with how WebLogic
handle this, but ma
Hi
But suppose i have to install the same war file on same application server,
one installtion pointing towards database1, and
other installation pointing towards database 2.
And this is quite possible to happen, if database 1 is prodution database
for site1 and database 2 is production database f
As Antonio said, _you_ as the application developer/assembler decide
the local JNDI name of the data source. Then it's the task of the
deployer to link this local defined JNDI name to an actual JNDI
resource in the container.
Nils-H
On 9/27/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
> 2007/9
2007/9/27, Ashish Kulkarni <[EMAIL PROTECTED]>:
> Hi
> We a to develop a web application which we want to be able to deploy on any
> J2EE compatiable application server.
> We would create a war file for deployment, but there is a issue with
> database connection,
> We do not know the JNDI name,
> S
Hi
We a to develop a web application which we want to be able to deploy on any
J2EE compatiable application server.
We would create a war file for deployment, but there is a issue with
database connection,
We do not know the JNDI name,
So we thought we would put xml file under WEB-INF folder, and a
7 matches
Mail list logo