o: Re: Smart DataSource management (WAS: Assigning a DataSource to
a Business Delegate on startup)
> Obviously, you can implement a "datasource management" sub-system
> (with a web front-end) in your application! But, why do you have to
> re-invent the wheel?
With a metaphore,
riginale-
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Inviato: martedì 21 settembre 2004 12.22
> A: [EMAIL PROTECTED]
> Oggetto: Smart DataSource management (WAS: Assigning a DataSource to a
> Business Delegate on startup)
>
>
> In fact I need to do something more.
>
AIL PROTECTED]
Sent: 21 September 2004 11:22
To: [EMAIL PROTECTED]
Subject: Smart DataSource management (WAS: Assigning a DataSource to a
Business Delegate on startup)
In fact I need to do something more.
Suppose that I want to distribute my application, and the destination
has
a different DBMS (w
lto:[EMAIL PROTECTED]
Inviato: martedì 21 settembre 2004 12.22
A: [EMAIL PROTECTED]
Oggetto: Smart DataSource management (WAS: Assigning a DataSource to a
Business Delegate on startup)
In fact I need to do something more.
Suppose that I want to distribute my application, and the destination
has a diff
o know the url of the DB server. But you can set it using
> the Tomcat web amministration tool.
>
> BR
> /Amleto
>
>
>
> -Messaggio originale-
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Inviato: martedì 21 settembre 2004 11.32
> A: [EMAIL PROTECTED]
> Og
Sorry,
My assumption about your problem is different I guess...
Jitender Kumar C.V.
WHOOPS!!!
sorry wrong submit.
Thank you, I will check it out.
Ciao
Antonio
> org.apache.struts.config.DataSourceConfig holds a getKey() method that
> returns you the DataSource key underwhich the Datasource object is
stored
> in the servlet Context...just find it out and try making use of it...
>
org.apache.struts.config.DataSourceConfig holds a getKey() method that
> returns you the DataSource key underwhich the Datasource object is
stored
> in the servlet Context...just find it out and try making use of it...
>
> Thanks,
> Jitender Kumar C.V.
>
>
---
you can set it using
the Tomcat web amministration tool.
BR
/Amleto
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Inviato: martedì 21 settembre 2004 11.32
A: [EMAIL PROTECTED]
Oggetto: Re: Assigning a DataSource to a Business Delegate on startup
> yo
org.apache.struts.config.DataSourceConfig holds a getKey() method that
returns you the DataSource key underwhich the Datasource object is stored
in the servlet Context...just find it out and try making use of it...
Thanks,
Jitender Kumar C.V.
AIL PROTECTED]
> > Inviato: martedì 21 settembre 2004 11.11
> > A: [EMAIL PROTECTED]
> > Oggetto: Assigning a DataSource to a Business Delegate on startup
> >
> >
> > Hello there,
> > is there a way I can assign a DataSource to a singleton object (i.e. a
> >
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 2004 11:31 AM
Subject: Re: Assigning a DataSource to a Business Delegate on startup
> > you can use JNDI to get a DataSource (if you use tomcat see tomcat
> > d
nt
to distribute my application? Do I have to configure Tomcat on the other
machine?
Ciao
Antonio Petrelli
>
>
>
> -Messaggio originale-
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Inviato: martedì 21 settembre 2004 11.11
> A: [EMAIL PROTECTED]
> Oggetto: Assignin
Inviato: martedì 21 settembre 2004 11.11
A: [EMAIL PROTECTED]
Oggetto: Assigning a DataSource to a Business Delegate on startup
Hello there,
is there a way I can assign a DataSource to a singleton object (i.e. a
Business Delegate) on startup? I know there is the "getDataSource"
protected method
Hello there,
is there a way I can assign a DataSource to a singleton object (i.e. a
Business Delegate) on startup?
I know there is the "getDataSource" protected method in Action, but I have
to pass the DataSource itself on each call of the delegate, or I have to
check whether it has been already pa
15 matches
Mail list logo