Hi!
"Kenworthy, Edward" wrote:
> >The only way I know how to do this now is to have a client which calls
> >the bean's method periodically. I can do this from outside of JBoss, or
> >(cheating) by starting a thread from the bean's class when the first
>
> You can't do this. Manipulating threads in EJB-land is specifically
> forbidden.
Note that servers are allowed to grant beans more permissions than are
stated in the spec (i.e. granting AllPermission is ok).
> >This would work, but I think it's not compliant with the EJB spec.
>
> Not only is it not compliant, most appservers I know will check for it and
> your code won't run.
Judging from EJB-INTEREST postings from other vendors JBoss is more or
less the *only* server that will check for it...
Use an MBean to do this, as stated in other reply.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]