aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB and Threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB and Threads" Watch "EJB and Threads" New topic
Author

EJB and Threads

kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
Hi All,
If i need to use thread in my application having EJB layer also. How and where should i put my thread code.
Thanks,
kundan


SCJP1.4,SCBCD,SCEA,CNA
Failures are practice shoots for success.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Kundan,
Do you want to have the thread call the EJB or the EJB call the thread?

If the former, this is fine. If the later, why do you need an explicit thread rather than an MDB or the Timer service?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB and Threads