Usage of Servlet

Hi,

I have one doubt about Servlet. As you all know servlet provides us with init, service, (doGet or doPost in case of HTTP servlet) & destroy methods.

I am using quartz schedular to schedule the batch jobs. The quartz schedular provides us with interface called Job and we need to implement run method of this Job interface.

My question is can I have my servlet implementing this Job interface? Will it be ok to do that?

Thanks & Regards

Ashwin

[494 byte] By [Ashwin_004a] at [2007-10-2 13:53:21]
# 1
So long as you servlet implements the interfaces javax.servlet.Servlet and ServletConfig. Don't see why implementing other interfaces would be a problem
JFrain2004a at 2007-7-13 11:55:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thank you for that. I was not sure about if it ok to do that or not.Cheers Ashwin
Ashwin_004a at 2007-7-13 11:55:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...