We help IT Professionals succeed at work.
Get Started

WLI - Fire a timer when WebLogic starts

girionis
girionis asked
on
883 Views
Last Modified: 2013-12-10
Hello, I have a design issue.

I am using WLI 8.1.6 and I want to fire a timer when WebLogic starts. I could do it the traditional way, i.e. write a java.util.Timer, load it at server startup and then have it running ever since. But since WLI provides a timer control to do it I would like to use this. Now my issue is I am not sure what I should use this control with. I am thinking about writing a web service (with a "startup" method) and add a timer control there.

1) Is this a good approach or should I use something else (eg. an EJB)?
2) How can I instruct WebLogic to load up my webservice and call the startup method without user interaction?

Any links/thoughts/personal experience is more than welcome.

Thank you
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE