Re: Jini+JavaSpace05 to j2ee

Mark Brouwer <[email protected]> Fri, 21 Dec 2007 10:24:01 +0100
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Heiko Braun wrote:
> IMO, you shouldn't mess with the threading in a managed 
> environment like a servlet container. Instead use a 
> JCA adapter like Nati suggested. 

Hi Heiko,

IIRC there are no statements in the Servlet Specification that indicate 
that you are not allowed to create additional threads, so besides other 
troubles you can ran into due to the Java EE specs treating mobile code 
as a second class citizen I never ran into problems with this.

The EJB specifications though has such statements, likely due to the 
fact that the transaction semantics are bound to the executing thread, 
but I can't recall that any of the application server vendors dared to 
implement a SecurityManager that prevents the creation of threads.
-- 
Mark

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]