This content has been marked as final.
Show 2 replies
-
1. Re: how to run an java program continously on jboss
caveli Jul 13, 2006 9:57 AM (in response to ashwin1984)Hi ashwin,
First, make a jar file with your project classes.
Second, put this jar in lib directory (...server\default\lib).
Third, start the server. In boot.log you can see your jar file deployed.
Ej output: 01:36:12,383 DEBUG [SARDeployer] deployed classes for file:/jboss/jbossadm/jboss-4.0.3/server/all/lib/your_program.jar
I hope help you.
César -
2. Re: how to run an java program continously on jboss
l.tournayre Jul 24, 2006 11:24 AM (in response to ashwin1984)Hi,
It's perhaps cleaner to use a mbean service, for this use the jboss annotations @Service and @Management.
See the tutorial : http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html
Regards.
Louis