JavaBean « Session « Spring Q&A

1. Controller (Spring Managed Bean) Scope Question: Singleton, Request or Session?

The question is a bit long since it's conceptual. I hope it's not a bad read :) I'm working in a performance critical Spring MVC/Tiles web-app (10,000 users typical load). We load ...

2. Scope confusion regarding session beans, proxies, and singletons in a Spring 3 managed JSF app

This seems like it's basic Spring 101 stuff, but I can't seem to find the correct way to do this. The situation is as follows; in my web app there ...

3. Accessing Spring Session scoped Proxy Beans

I'm developing a web-app using Struts 2 with a Spring 3 backend. I'm using Spring aop:proxy beans to handle my session beans rather than the Struts 2 SessionAware interface. Everything was ...

4. Spring 3.5 Session Bean Lifecycle

What triggers Spring's Session Bean to exist in the container, and what removes it? Basically, I want to understand the web flow's effect on Session Bean.

5. Maintaining state in a spring application?

Just looking for a bit if theory regarding maintaining state of something in a spring application. For example imagine a game of poker running as a web app. There are a number ...

6. How to configure this code as spring Bean?

I have this code:

SessionFactory sessionFactory = new Configuration().configure("hibernate.cfg.xml");
How i may to configure this as bean? hibernate.cfg.xml contain this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD ...