aspose file tools*
The moose likes Ruby and the fly likes How Rails handles the stateless communication? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "How Rails handles the stateless communication?" Watch "How Rails handles the stateless communication?" New topic
Author

How Rails handles the stateless communication?

Nikos Pougounias
Ranch Hand

Joined: Jan 16, 2008
Posts: 110
How Rails handles the stateless communication? Really, is REST as well implemented in Rails as they say?


Nikos' Java blog
Ben Scofield
author
Greenhorn

Joined: May 20, 2008
Posts: 29
That's a very good question. As I've mentioned in other threads, the REST support in Rails is superlative - but that doesn't mean it's perfect. Statelessness is probably one of the hardest of the constraints to meet in a web framework, and though it's possible to keep your application stateless in Rails it's still difficult.

Rails does offer some features that help, though, like cookie-based sessions - but those features come with (sometimes considerable) problems.
 
jQuery in Action, 2nd edition
 
subject: How Rails handles the stateless communication?