Hi Rickard
-----Original Message-----
From: Rickard �berg [mailto:[EMAIL PROTECTED]]
Sent: 15 December 2000 09:03
To: jBoss
Subject: Re: [jBoss-User] enhancing the EJB model
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).
Is this portable ?
>> >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...
>
Actually WLS does, although I can't remember off the top of my head whether
it does it at deploy or run-time (the former I think).
>Use an MBean to do this, as stated in other reply.
Not portable :-)
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]