You can write listeners to listen for specific events. In your case, there are
events that are generated when a EAR is deployed.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener
The link above gives info on how to create a notification. The various Deployer
classes in
I can just suggest you an idea, But I am sure that it will work, if done
correctly.But there may be even other ways better thatn what I say??.
The way i am saying is that You have to touch the source of Jboss. Find the
method where it says or prints the statement JBOSS started/ Find the place