On Tue, 20 Nov 2001 00:13:36 -0500, you wrote:

>You don't say what your service does, so it is difficult to make an
>assessment.  Have you looked at MBeans?  They are specifically designed for
>implementing services that start up with JBoss and keep running the whole
>time.  I just implemented my first one, and it was pretty easy.
Thank you for your answer. All my service bean has to do is to periodically call 
method on a
stateless session bean that will do the rest: analyze data from several databases and 
move it
between them - see my other post on the list: 
  Subject: [JBoss-user] Multiple data sources
  Message-ID: <[EMAIL PROTECTED]>

I agree that implementing special MBean would be probably the best solution (athough 
it will work
with JBoss only) but I don't think I should do it until I find some weak points of my 
first
(probably simpler) solution (servlet loaded on deployment time registering and 
scheduling tasks). 

BTW is it possible to write an mbean that  uses (requires) another MBean (timer 
service)?

Kind regards.
-- 
Krzysztof Ogrodnik  mailto:[EMAIL PROTECTED]  ICQ>>2963634             
perl -le 's**02).4&9%4^[./4(%2^0).+^=,/9\$^=!.&**y%& -;=^[%"`-{f a%%s%%$_%ee'


-- 

Tego nie znajdziesz w zadnym sklepie!
[ http://oferty.onet.pl ]


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to