However the IO/thread classes can use EJB's.. just not the other way
around.  I'm thinking that they are going to have to refactor their
software a bit to use EJB's.  
--- Kar YEOW <[EMAIL PROTECTED]> wrote:
> I believe you can't use thread or IO either directly or indirectly. 
> As
> these are resource controlled by the Container.  If they are used
> without
> the Container's knowledge, the Container will not be able to manage
> them.
> eg opened file and unterminated thread etc etc...
> Kar
> ----- Original Message -----
> From: "Allen Fogleson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 08, 2001 12:08 AM
> Subject: RE: [JBoss-user] EJB Integration with existing Java
> Framework -
> Urgent!
> 
> 
> Threads and IO are prohibited in an EJB, there is nothing to stop a
> separate
> class from using IO and threads, and having those classes be used
> within the
> EJB.
> 
> 
> Al
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of ZHU Jia
> Sent: Thursday, June 07, 2001 7:05 AM
> To: jbossuser
> Subject: [JBoss-user] EJB Integration with existing Java Framework -
> Urgent!
> 
> 
> 2. Some of our java files need threads and file IO, and the EJBs
> should
> call them. I don't know if this can be a problem because threads and
> file IO are forbidden in EJB. Also I think I have to put the existing
> files in an archive and place them into the lib dir of JBoss, right?
> But
> where's the best place for resources this library itself needs, like
> conf files, graphics etc.?
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


=====
Grim Shieldsson (James A Barrows)
Acting Chieftain of Clan StormWolf
Barbarian Freehold Alliance
Oppurtunity doesn't knock.  It only presents itself after you kick down the door.
--Kyle Chandler

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

Reply via email to