From: Frank C. <fc...@pu...> - 2001-09-22 06:36:27
|
Raj: From what I've seen and read about Jython's threading, I think Java threads are the better way to go. In your architecture you would write Java modules that implements Thread and handles all the get/set methods needed to set-up and operate the JDBC connection. Jython would instantiate your JDBC thread (or multiple threads to check scalability) and respond to result sets returned. I think you may find what you're wanting to build in Load, an open-source project I maintain. I am in the process of moving Load to use Jython as a script language. Details are at: http://www.pushtotest.com. And, of course, PushToTest has consulting solutions to add functions needed to test your application. Let me know if we can help. -Frank -- Frank Cohen, founder, PushToTest, www.pushtotest.com, phone: 408 374 7426 Come to PushToTest for Load, a free open-source tool for performance and scalability testing and data migration. > From: R Datta <rd...@cr...> > Date: Thu, 20 Sep 2001 12:11:40 -0700 > To: jyt...@li... > Subject: [Jython-users] Multithreading in Jython > > Hi all, > > I am working on a program to simulate stress testing (large number of > users) on JDBC connections. I would like to multithread the JDBC operations. > > I would appreciate some input (samples, tips etc) with anyone that has > tried multithreading within jython scripts. > > Thanks > Raj > > Thanks > Raj Datta > Professional Services Direct : 408-530-4932 > CrossAccess Corp Cell : 408-316-5473 > 2900 Gordon Ave #100 Fax : 408-735-0328 > Santa Clara CA 95051 Email : rd...@cr... > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |