This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Scala and the fly likes Anyone using the Play framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Anyone using the Play framework" Watch "Anyone using the Play framework" New topic
Author

Anyone using the Play framework

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Anyone already familiar with the Play framework? I'm considering to rewrite my WebApp that has the standard JEE stack (Struts / Spring / Morphia / mongoDB) to a (Play / Scala / Morphia / mongoDB). I'm gaining quite a bit of experience with Scala in the last couple days, but haven't heard about the Play framework. I guess it is part of the typesafe stack and I'm considering it as a potential replacement for my Struts layer. Any pointers to some useful materials? Case studies? I know Google is my friend but in case if you could know of any trustworthy case studies, let me know!


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

I'm using Play 1.2.3 for one of my projects; but with Java not Scala.

Play 2 is useless to me as it would require a complete rewrite of the project (Play 2 is not backward compatible with Play 1), and Play 2 apps cannot deploy to a servlet container. Useless in production environments invested in Tomcat or any other servlet container.

P.S. Play would not replace just the Struts layer. It would replace all layers.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1625
    
  13

So does that make Lift a better choice for a Scala framework? The Lift website claims "you can still use your favorite Java libraries and deploy to your favorite Servlet Container and app server".


No more Blub for me, thank you, Vicar.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

I have no experience with Lift and have only heard vague grumblings.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1625
    
  13

Bear Bibeault wrote:I have no experience with Lift and have only heard vague grumblings.

Darn - I was hoping for very specific grumblings...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Well, I can give you lots of those on a variety of subjects! Just not Lift.
Peter Hilton
author
Greenhorn

Joined: Jan 31, 2013
Posts: 2
Bear Bibeault wrote:… Play 2 apps cannot deploy to a servlet container. Useless in production environments invested in Tomcat or any other servlet container.


Note that investment in Tomcat does not necessarily mean that nothing else may be used: not every HTTP resource has to run on the same kind of server, and not every organisation really insists on one-size-fits-all architecture. Besides, there was a time when Tomcat was the new thing.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Peter Hilton wrote:Note that investment in Tomcat does not necessarily mean that nothing else may be used: not every HTTP resource has to run on the same kind of server, and not every organisation really insists on one-size-fits-all architecture. Besides, there was a time when Tomcat was the new thing.


No argument from me, but this client would not consider deploying any other way.
 
Don't get me started about those stupid light bulbs.
 
subject: Anyone using the Play framework
 
Similar Threads
Is Lift a Scala framework like Play?
how to get record from MongoDB
Connection Pooling Morphia Datasource
How are you using Clojure?
Just finished migrating my App to mongoDB