Results 1 to 3 of 3
  1. #1
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default threads in session beans

    Is it advisable to create threads inside a session bean.
    We need to execute database queries from 2 different database simultaneously. Is there any other method than creating threads?
    thanks

  2. #2
    bbq
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Posts
    132
    Rep Power
    0

    Default

    Any ideas?

  3. #3
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    8

    Default

    yes you can create user threads from a session bean, but I think it is not considered good practice.

Similar Threads

  1. How to make Beans Lazily-instantiating beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-30-2008, 10:10 AM
  2. Sample Session Beans
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-29-2007, 04:53 PM
  3. Session Beans (basics)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-28-2007, 10:43 AM
  4. How to make Beans Lazily-instantiating beans
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:41 PM
  5. XML beans
    By John in forum XML
    Replies: 2
    Last Post: 08-09-2007, 07:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •