Greetings, I'm developing an application (web service) that should access to entity beans through some session beans.
My entity beans when loading must load other entity beans too. This process takes about 50-70ms . If I cache that information, my business method should take only about 4-5ms. However, my entity beans (CMP) are put in passivate mode probably after 3-5 minutes. I'm doing this tests on a P4 linux box with 512Mb of RAM... probably my servers should have about 4Gb of RAM at least, and I don't know if that will affect the passivate timeout of my entity beans. Should it be higher? How much? I want to optimize my application's performance. If my entity beans stay most of the time in the _activate_ area, my application will have a superior performance. So, it's possible to change the passivate timeout of my entity beans? If I (must) use cache of the entity beans, where should I put it? Inside the web service (probably using remote methods to session beans), or inside the stateful beans but I must pass values of requests to it? thanks. regards, Pedro Salazar. -- -PS ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
