Originally posted by Mark Spritzler:
... my philosophy is to not use Stateful Session beans. There are always other alternatives.
If you need to hold state, and not store in a database, then EJB's really probably won't be your best bet. Also, this is true if you are using the Web. i.e. Servlets and JSP, they have a better mechanism for session, either URL re-writing or Session contexts.
...
You shouldn't abandon Statefull Session Beans just because someone said (or some books state) that they are bad.
Originally posted by Mark Spritzler:
Nope, not taken from books, but from all of my experience with them.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
|