Hi!

"Kenworthy, Edward" wrote:
> >"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 ?

Depends on what you mean. You need to find a server that allow you to
add the permission you need, but today all servers do.

> >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).

You can't check this at deployment time... only runtime counts.

> >Use an MBean to do this, as stated in other reply.
> 
> Not portable :-)

What do you mean? JMX MBeans are very portable.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to