When making JDBC calls from session beans for performance reasons. Should I use a stateless or stateful session bean and is this dependent on different situations.
performance wise, stateless beans are extremely useful. only thing is, as goes the funda, see that u'r method calls do not depend on one another. in short, there is no state to be preserved.
I have had great success with performance when making JDBC calls with stateless session beans. The performance difference between entity beans and stateless session beans can be substantial. The decision of where persistence really happens depends on what type of web application that you are building, and the quality of developers that are working on the project.
Hope this helps,