O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8 Conversations

In the previous chapter, we discussed session-scoped stateful Seam components. In most web frameworks, the application state is completely managed in the HttpSession object, so the session scope is the only stateful scope. However, for most applications, the session scope is too coarsely grained for effective state management. We already covered most of the reasons in Chapter 6. Let’s quickly recap the key points here:

• To manage complex application state in an HTTP session, you must write a lot of code to manually shuffle objects into and out of the session. If you forget to save a modified state object back into the session, the application will exhibit hard-to-debug behavior errors at runtime.

• A single timeout ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required