[jboss-dev-forums] [Design of JBoss jBPM] - context listeners vs servlets
tom.baeyens@jboss.com
do-not-reply at jboss.com
Tue Feb 27 07:58:01 EST 2007
"Alejandro" wrote : What are your thoughts on JBPM-742 and JBPM-851? I wanted to resolve them before you release jPDL 3.2.
|
| Re: JBPM-742, context listeners vs. servlets, listeners provide an elegant solution for doing work during initialization/destruction of a web app. No init-on-startup, no unjustified doGet() method. Plus, they are warranted to run only once, as opposed to servlets. Containers are free to create multiple servlet instances.
|
| Best,
|
| -Alejandro
on http://jira.jboss.com/jira/browse/JBPM-742, I didn't really see a need for that. I agree that it is a better fit. But I don't think this should stall the 3.2 release. We can do it later as well. Actually i think it is just a tiny fraction better, but not worth changing. Or do you see other reasons why a servlet context listener is better then an actual servlet ?
on http://jira.jboss.com/jira/browse/JBPM-851: that is still to be done before the 3.2 release. definitely.
regards, tom.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023013#4023013
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023013
More information about the jboss-dev-forums
mailing list