Hi
I have a BEA Weblogic 9.2 PageFlow Web Application. The Application 
uses a JdbcControl to access a Database. Everything works fine. 
Now i need to schedule some tasks. The JdbcControl has the complete 
functionality i need to support the tasks. So it makes sense to use 
it. 
My first idea was to create a HttpServlet which starts a Timer and 
is loaded at startup. Within the TimerTask's run() methode i planned 
to use the JdbcControl to process the tasks. Everything sounds good 
but it doesn't work. The Problem is that Controls will not be 
initialized in Pojo's. The only way i found to initialize them was to 
use the org.apache.beehive.controls.test.container.
ControlTestContainerContext.
I don't think that it is a good idea to use a not supported 
feauture. So my question is:

How can i automatically schedule Tasks which uses Controls? 
The scheduled Task's should start at Application startup and run 
every 10 minutes.

Thanks for your help...

Reply via email to