aspose file tools
The moose likes Scala and the fly likes Anyone using the Play framework Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Languages » Scala
Reply 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: 8795

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, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
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: 56157
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1096
    
    7

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


ex-Oracle bloke
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56157
    
  13

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

Joined: Mar 01, 2009
Posts: 1096
    
    7

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: 56157
    
  13

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: 56157
    
  13

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Anyone using the Play framework
 
Similar Threads
Connection Pooling Morphia Datasource
How are you using Clojure?
Just finished migrating my App to mongoDB
how to get record from MongoDB
Is Lift a Scala framework like Play?