• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

JMX Timer

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
Garden Master Course kickstarter
    Bookmark Topic Watch Topic
  • New Topic