The moose likes Ranch Office and the fly likes Enterprise JavaBeans Thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » This Site » Ranch Office
Reply Bookmark "Enterprise JavaBeans Thread?" Watch "Enterprise JavaBeans Thread?" New topic
Author

Enterprise JavaBeans Thread?

Doug Gschwind
Ranch Hand

Joined: Dec 17, 1998
Posts: 44
How about starting a thread on EJB? I am wondering how the intent of the specification is being perceived by the Java development community.
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 17882

I'm guessing that what you really want is a "forum" - cuz you can make your own threads whenever you want by clicking on "post new topic".
I made "EJB" - give it a whack!
Vikranth Gujjar.
Greenhorn

Joined: Aug 27, 2002
Posts: 6
To start thread from and EJB,I think you will need to write your own ClassLoader(MyClassLoader) and use this class loader to load your thread class in the session bean, further you may need to set your own security manger class in your class Loader.

MyClassLoader.setSecurityManager(mySecurityManager).
MyClassLoader.loadClass(myThread);
myThread.start();
Vikranth
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 17882

Vikranth,
Please take a second look at the JavaRanch Name Policy. Your last name needs to be a wee bit more substantial.
Thanks!
 
 
subject: Enterprise JavaBeans Thread?
 
developer file tools