how many context a container can have?
as i've brung up earlier i want to generate 5000 integer number in client and 
set them in the session bean in the server whithin a second.i tried to to that 
by multithreading but it didn't go through with it!!!
every thread has a for-loop with 500 loops that in each loop it generates a 
random number and call the set method in bean and set it, so i have 10 thread 
with 500 loops that it equals 5000 random num that it takes 6 or 7 seconds to 
do that.i did it with a simple thread like a for-loop with 5000 loops and it 
was same with last solution.(i just just call the create() method of session 
bean once and after that call the set method)
i think it depends on the context in the container.i think the context puts all 
request in a line then responses to them turn by turn.if i could define more 
context in the container or manage context to cross more than one request in a 
time it worked!! but how??????is there any configuration in jboss???
thanks for ur notice and may be ur ansewers

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930823#3930823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930823


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to