From: Houten, Stijn-P. v. <s.p...@tb...> - 2005-04-19 15:15:44
|
Hi Mark, Yes, it is very well possible to run dsol within a J2EE container. I don't recall having problems with multiple threads and dsol in combination with JBOSS. Of course, multiple ways exist to make a simulator (or animator in this case) remotely available. Attached you find three classes which together provide you with the idea of making an animator remotely accessible, even without using JBOSS. However, you could also let the classes that implement the SessionBean interface and your EJBObject interface implement/extend the RemoteAnimatorInterface. In the latter, you should make sure to delegate for example the simulator.stop() method to the animator which is then an attribute of the SessionBean.=20 Hope this helps, best regards, Stijn-Pieter van Houten. ----------------------------------------------- Ir. S.P.A. van Houten, Researcher Delft University of Technology, the Netherlands Faculty of Technology, Policy and Management Systems Engineering Group Jaffalaan 5, 2628 BX Delft, the Netherlands tel. (+31 |0) 15 2788545 fax. (+31 |0) 15 2783429 mob. (+31 |0) 6 48930745 mailto:S.P...@TB... http://www.tbm.tudelft.nl/webstaf/stijnh ----------------------------------------------- =20 -----Oorspronkelijk bericht----- Van: dso...@li... [mailto:dso...@li...] Namens Mark Stacey Verzonden: dinsdag 19 april 2005 13:27 Aan: dso...@li... Onderwerp: [Dsol-java] simulator usage questions Hi, I'm looking to run your simulation software in a J2EE container, specifically JBoss. I was wondering if anyone has any experience with this before? The J2EE spec doesn't allow threads to be created on the fly within the container, and by the looks of it, the simulations are run multi-threaded. Am I correct in saying this or is it possible to switch off thread spawning? I'm also curious as to whether it is possible to detect if variations in results reduce to a minimum. Take for instance the M/M/1 queue simulation.=20 The d(n) chart approaches 0.717 after about 800,000 units, but after that, there is no difference to these figures. Is it possible to automatically detect this and stop the simulation going further? thanks! Mark I'm using Vodafone Mail - to get your free mobile email account go to http://www.vodafone.ie Use of Vodafone Mail is subject to Terms and Conditions http://www.vodafone.ie/terms/website ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Dsol-java mailing list Dso...@li... https://lists.sourceforge.net/lists/listinfo/dsol-java |