aspose file tools
The moose likes JBoss and the fly likes how to tell jboss to run a class? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "how to tell jboss to run a class?" Watch "how to tell jboss to run a class?" New topic
Author

how to tell jboss to run a class?

Yingie Lee
Greenhorn

Joined: Jul 16, 2003
Posts: 7
I need to run a class right after deployment is finished. Does anyone know how to set this up?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I'm not sure there is a way to do this. I don't even think JBoss provides event listeners for the deployment process. Maybe one of these days though... You could maybe create modules/whatever that have a dependency on something else, but I don't think you can do that with deployed applications--only services. (This is all a wild guess though. Good luck.)


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Yingie Lee
Greenhorn

Joined: Jul 16, 2003
Posts: 7


well... ok, i will mannually run it. Thanks Nathaniel.
 
 
subject: how to tell jboss to run a class?
 
Threads others viewed
A question for Beginners - 3
Errror in deploying servlet: wrong name: TestServlet
run time
Constructor not found error
getting class not found exception
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com