• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JMX Timer  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!