List available data sources in EJB
From: Alex Molochnikov (NOBODY_at_NOSPAM.COM)
Date: 03/09/05
- Next message: Kevin McMurtrie: "Re: Image Processing Problem. Need Help"
- Previous message: Geoff Warnock: "Reading and writing extended ascii characters"
- Next in thread: Alex Molochnikov: "Re: List available data sources in EJB"
- Reply: Alex Molochnikov: "Re: List available data sources in EJB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Mar 2005 07:26:28 GMT
Is there any way to get the list of all data sources available to a session
bean? E.g. if the server (JBoss) configuration has files mssql-ds.xml and
mysql-ds.xml with jndi-name tags "MSSQLDS" and "MySqlDS" respectively, I
want to pack Strings "MSSQLDS" and "MySqlDS" into a Collection and pass it
to the client. The client will display the list of available sources and let
the user choose the database to work with.
Is it possible at all?
TIA
Alex Molochnikov
Gestalt Corporation
- Next message: Kevin McMurtrie: "Re: Image Processing Problem. Need Help"
- Previous message: Geoff Warnock: "Reading and writing extended ascii characters"
- Next in thread: Alex Molochnikov: "Re: List available data sources in EJB"
- Reply: Alex Molochnikov: "Re: List available data sources in EJB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|