I have a class that handles a pool of Oracle DB connections with methods to get 
and free (return to pool) a connection.

This connection pool class will be instantiated in my class that extends 
org.restlet.Application.

My question is how to make a connection availble to a ServerResource. Should it 
be injected or should ServerResource reach out to Application.

Please provide some detail with response - for example, if it should be 
injected, how do I do that (via a filter perhaps)?

Using Restlet 2.0.4

tia,
-Anthony

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2695318

Reply via email to