1. Pieces of the config tree are passed down to the action classes.
2. You have to do a lookup in JNDI to get the DataSource, thenm connect to it. By default it runs in memory, but you can change it to use sockets too (in case you want to connect to it using some db tool. To be able to connect to port 1701 you'd do:
I think this is all you where actually asking right?