This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a struts-based web application which access Oracle database, and run in Oracle Container 2 J2EE. It also uses Tomcat4 (yes, it is Tomcat version 4.1, although I -and my DBA- don't understand what's the connection between OC4J and Tomcat)..
I have serious performance problem here. Basically, my application contains multiple forms for each user, so I maintain this concept using HttpSession.
Now -CMIIW- maintaining a lot of HttpSessions will impact performance... But it seems no other way to implement multiple-forms-for-single-user concept The session timeout itself is 30 minutes..
My application need about 30 seconds to be displayed properly, and more than 5 minutes if branch office try to access it. Normally, application will be displayed in less than 5 seconds in IT Dept, or at most 2 minutes for branch office.
I've already give log at my application, and database access is not performance issue (it just takes lses than 10 seconds to retrieve required data).
Before you can improve performance, you need to figure out where the performance problems are. If your code is doing a lot of iterations and generating large html files, then the problem is in your code and/or your design. You will not be able to fix the problem by tuning your session settings.
I don't run in to many other people using OC4J (Oracle Application Server). Tomcat? Oracle uses Apache as the web server but you must have a special configuration if you are also using Tomcat.