stateful

How does Scala's Lift manage state?

I'm quite impressed by what Lift 2.0 brings to the table with Actors and StatefulSnippets, etc, but I'm a little worried about the memory overhead of these things. My question is twofold: How does Lift determine when to garbage collect state objects? What does the memory footprint of a page request look like? If a web crawler dances ...

Why shouldn't I use a JSF SessionScoped bean for logic?

Hi I'm developing a java EE web app using JSF with a shopping cart style process, so I want to collect user input over a number of pages and then do something with it. I was thinking to use an EJB 3 stateful session bean for this, but my research leads me to believe that a SFSB is not tied to a client's http session, so I would have to...

Is Terracotta used professionally?

Today at work I had a discussion with my co-workers and my boss about stateless/stateful beans (we just finished a project using JSF, it was the first time anyone at this company did something JSF related) and my boss said that he doesn't really like Session scoped beans (or even conversation/KeepAlive scoped ones). One of his arguments ...

jQuery version of Dojo's Stateful?

Does anyone know of any plugins written in jQuery that are similar to Dojo's Stateful? See: http://www.dojotoolkit.org/api/dojo/Stateful.html Regards, Scott D Brooks ...

Java EE -- using the same stateful object for several users

Hello SO! Even though I've been in Java SE for quite some time now, I started EE & web w/ Java only about a month ago, so pardon if the question seems a bit noobish... So here's the situation: I'm trying to write a JS based multi-player game with real-time interaction (let's say chess in this example, though it really doesn't matter wh...

Pooling of Stateful Session Beans

Is it possible to do instance pooling of stateful session beans.. like if a stateful bean instance is being passivated, during the execution of prepassivate() remove all the state information associated with it and send it to the pool, if a request is received from a client during the postActivate() restore the state to an instance picke...