• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMX Timer  RSS feed

 
Farooq Mahmood
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am quite new to JMX. Even this is the first time I am trying to use it in my application. I have a j2ee application deployed in Weblogic 8.1, in which I want to add email notification schedular. I also want that through admin console the server administrator can set a time for email notifications.
I have checked that through Timer MBean I can do that. I have found an example through which I can create javax.management.timer.Timer object, register this timer bean with MBeanServer and in handleNotification method of NotificationListener I can implement my own business logic and that is offcourse email notifications.
First of all please confirm that am I on the right path?
If yes then where should I deploy that application (I personally want to deploy it with my own application, means ear file). If I deploy it with my own ear file:
Should I have to create a separate jar file? If yes then what entries should I have to write in my deployment descriptor?

Regards,
Farooq
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!