playframework

any experience with "Play" java web development framework?

I've just stumbled upon the following new java web framework: Play http://www.playframework.org/ http://www.playframework.org/documentation/1.0/home with such a stunning list of features, I'm pretty much surprised I haven't heard of it before... Sounds like the java web development promised land... has anybody tried it? any real exp...

How to store object (not string) in session in play framework?

I have a project for school and I have to use Java. Recently I found play framework and I want to try to use it. It's easy enough for a quick start, but I ran into a problem with session. Being stateless by its nature, play sends entire session to user in cookie and receives it on next request, so it allows only limited amount of data i...

Playframework and Django

I have worked with Django before and have recently seen the Play framework. Is this the Java community's answer to Django? Any experiences with it? Any performance comparisons with other Java web frameworks? Edit:Almost similar to http://stackoverflow.com/questions/1597086/any-experience-with-play-java-web-development-framework, the re...

Java web frameworks

I was looking around to see if there is an equivalent to django/RoR in java. I found: Play Framework Grails Does anyone have ever tried those frameworks, or do you know any other? Are they faster than django/RoR? ...

Java Web Development and Automatic Feedback

I've been having a (ironic) play around with the Play Framework and have been impressed thus far. I was just curious as to what other Java frameworks are out there that have a similar feature to Play in that you are able to get immediate feedback when making changes to your code base without having to re-build or re-deploy your app? ...

JPA: Store fileAttachment into the database

Hi, I would like to know if there is any way I can store a fileAttachment directly into the database with JPA. I have an attribute: public fileAttachement logo; I have tried to change it to: @Lob public byte[] logo; But that's not doing what I was expecting. ...

Using Active Directory and Open ID to authenticate a Play Framework based application.

I have an application I am building using the Play Framework. I would like this application to authenticate users using Open ID and Active Directory. Is this possible? Please excuse my ignorance as I am not a J2EE expert but come from a deep knowledge of the .Net framework and some experience writing Java applications. Any guidance would...

install play-framework in Ubuntu 9.10

I have copied zipped file from the playframework.org website and unzipped it at a location. I have inserted it in my .bashrc profile to set up as PATH environment. But still, the play command is not accessible from anywhere. And even in the installed directory of the framework, the play file is not running as it is. I have to prefix p...

What are the essential Java libraries and utilities for a returning dynamic language user?

Guys, Long time Java developer here, but I've spent more time working with Ruby over the past 3 years or so as far as web applications go. I really have enjoyed it, but there are concerns I've uncovered that I won't cover here. Now that I've found the Play! framework, I'm thrilled about the prospect of having a Rails-like experience wi...

Deploy Play! application as executable jar

Is it possible to bundle Play! web application to executable jar instead of war? Could it just be run on localhost at some port just like when using "play run" command? (without the need of installing play into system) ...

Play Framework: Real-world production experiences?

Has anyone used the Play framework for a reasonably complex or large, deployed production app yet? If so, I would like to hear what the pros and cons of that experience were and what you might do differently if you could start over. In particular, I'm interested in how well it worked for projects that are big enough that it requires a ...

Any YAML based fixture loader for Java?

I've used DbUnit but after playing about with the Play Framework recently I've found it's Fixtures.load(String yamlFilename) really useful. Anyone know of a similar tool that can be used with any Java project? ...

Map null column as 0 in a legacy database (JPA)

Using Play! framework and it's JPASupport class I have run into a problem with a legacy database. I have the following class: @Entity @Table(name="product_catalog") public class ProductCatalog extends JPASupport { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Integer product_catalog; @OneToOne @Jo...

Pagination in a REST web app

Usually, a user makes a search, get a hitlist, and can then browse it. The hitlist is an intermediate result that remains consistent throughout the browsing and is typically stored in session state. E.g. if new items are added concurrently by some other, they would appear only in a subsequent search. In a REST application, I can't have...

Manage dependencies in a Play Framework app

Hi, I'm trying to figure out the proper tools for managing dependencies between JARs. I have a Play Framework app, which imports a JAR (based on another project I'm writing). This JAR imports other JARs, some of which have dependencies for yet other JARs. This far, I've gotten by with adding stuff to the build path in Eclipse. But when...

Play! + Siena + GAE + JUnit

I am trying to get some basic unit tests up and running on the Play! framework using the Siena persistence library with GAE as the intended deployment target. I have the project configured properly and can deploy the app to GAE. I created a basic domain object: public class User extends Model { @Id(Generator.AUTO_INCREMENT) pu...

How to use layout via ".scaml" in play+play-scalate

I'm using Play frameword and play-scalate plugin. The default demo of play-scalate provided is only ".ssp", but what I want to use is ".scaml". I create a "default.scaml", but I don't know how to include the inner views. Maybe my description is not clear, what I want to do is: translate the the layout "main.html" to "default.scaml". ...

Library to Integrate Facebook login with Play Framework?

I'm learning using Play Framework and doing a demo app for it. For this app I want also to integrate with the Facebook API, allowing users to log using Facebook Ids. Knowing that Play is a stateless framework and the way it works, there is some library or module recommended? I've not been able to find any but I ask just in case. ...

TreeLoader: Not firing ajax request for child nodes?

Ok so, i have this site that i am putting together in the play framework. It basically connects to an FTP site on the back end, retrieves a list of folders/files and sends that to a basic ExtJS front-end as JSON. I have it working so that the Tree Panel gets populated correctly, but it doesn't seem to be doing anything special when i e...

Examples of Websites built using Spring, Play Framework, Struts

Hi, I am a beginner in Java and going to build a webapp that allows developers to work online on their projects. Something of the sort of bitbucket or github. I have developed sites using PHP and moving away from it. I was suggested that I should go with Spring Framework as it has a good learning curve and that it will probably look go...