Have set up a Postgres Datasource .
I now wanted to make use of it in my code .
Here is my configured datasource :: ( postgres-ds.xml )
After server startup I see the following in the logs ::
So looks like the Datasource is up and running
Questions ::
1 >
Can I use this datasource from a
JSP to access the database ?
If yes can someone point me to a code example ?
2 >The above file is located here :: JBOSS_HOME\server\default\deploy
Does this mean that if I have two applications A & B - they can both access the same DB using this Datasource ?
3 >
Can I make the datasource more private ( as in only visible to my application ? )
Thanks ,
~satish
[ July 03, 2008: Message edited by: satish bodas ]