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.
Cheers.
-
JDBC calls from Session Beans. Stateless or Stateful (2 messages)
- Posted by: Nick Stephens
- Posted on: July 18 2001 03:18 EDT
Threaded Messages (2)
- JDBC calls from Session Beans. Stateless or Stateful by Vijay kumar on July 18 2001 09:32 EDT
- JDBC calls from Session Beans. Stateless or Stateful by Kent Roylance on July 18 2001 09:51 EDT
-
JDBC calls from Session Beans. Stateless or Stateful[ Go to top ]
- Posted by: Vijay kumar
- Posted on: July 18 2001 09:32 EDT
- in response to Nick Stephens
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.
vijay -
JDBC calls from Session Beans. Stateless or Stateful[ Go to top ]
- Posted by: Kent Roylance
- Posted on: July 18 2001 09:51 EDT
- in response to Nick Stephens
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,
Kent