stateless

How do I make my Web Application stateless yet still do somthing useful?

I've seen this advice... ideally the web should follow the REST principle and be completely stateless. Therefore a single URL should identify a single resource, without having to keep the navigation history of each user. ...and I read the Wikipedia page http://en.wikipedia.org/wiki/REST and it really sounds good, but I don't get ho...

Can i have both ISession and IStatelessSession side by side?

Hello all, Consider a transaction-per-view model where with an IHttpModule i open a transaction using a standard ISession. Now, i have a page where i want to do some batch operations. Since IStatelessSession is preferred for batch operations: Can i have both ISession and IStatelessSession open at the same time? Is it safe? If 1. yes...

Stick to my REST guns or break statelessness? Advice needed

Dear Abby, I wrote a RESTful servlet, and the UI developer wants to save the logged-in state on the server. He made this strange claim: "I haven't encountered a production REST implementation that is pure REST. The ones I've seen all have had the server maintain a session." I find this difficult to accept. First there's the technic...

Injectin Session Bean to Session Scope Managed Bean

Consider that we inject a stateless session to a stateful session bean/seesion scoped JSF managed bean and the stateful session bean has multiple methods. Will the injected stateless session bean reference remain the same or will be available across multiple method calls? ...

Autonomous transaction in TopLink

Hi, I am facing a problem, I want to implement autonomous transaction in TopLink, but I am not too sure about if it is possible or not. I have a also worked on hibernate, as we have stateless session there... do we have something same in TopLink... Please help. ...

Nhibernate: Batching and StatelessSession

Hi. I was trying around with just setting the batch value in the config file, and I see that there's a visible benefit in using it, as in inserting 25000 entries takes less time then without batching. My question is, what are the counter indication, or the dangers of using batching? As I see it I only see benefits in setting a batch val...

Is it difficult to make a mainly stateless web application with Wicket?

I've been working with Wicket for month or two now, making simple web applications with it and getting used to models and so forth. Now I'd like to move forward and see if I can put what I've learned so far to use and create a medium/large web application. However, I haven't spent much time thinking about how to make pages stateless. If...

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 ...

How to implement a stateless REST API

I am working on a REST API that will be used by developers writing mobile apps. Users will be able to use 3rd party services (Google, Twitter etc) to authenticate themselves, this is mainly handled by OAuth (depending on the service in question). We use 2-legged OAuth between the client application and the API Server (where the consumer ...