[jboss-user] [jBPM] - MinaTaskServer - why to start in a thread?

Odelya Holiday do-not-reply at jboss.com
Sun Mar 6 11:02:39 EST 2011


Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion

"MinaTaskServer - why to start in a thread?"

To view the discussion, visit: http://community.jboss.org/message/591466#591466

--------------------------------------------------------------
Hi!

I saw in the documentation to start MinaTaskServer in a thread:


server = new MinaTaskServer(taskService);
 
  Thread thread = new Thread(server);
  thread.start();
 



Why not simply


server = new MinaTaskServer(taskService);
server.start();
 
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/591466#591466]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110306/af5ca855/attachment.html 


More information about the jboss-user mailing list