• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enterprise JavaBeans Thread?  RSS feed

 
Doug Gschwind
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22537
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22537
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vikranth,
Please take a second look at the JavaRanch Name Policy. Your last name needs to be a wee bit more substantial.
Thanks!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!