Skip to content

FabriceCastel/play1

 
 

Repository files navigation

PATCH NOTES

This Play 1.3 patch adds a fix for multiple database support. In order to separate entities between DBs, each model class needs to be annotated with some specific persistence annotation pointing to the DB name that it’s meant to belong to. JPA adds all @Entity annotated models to the Default database but not to the slave DB – this patch makes it add all @Entity annotated models to all databases. To separate data in the future, add the DB name check back in and use the proper persistence tag.

Link to the relevant commit

Welcome to Play framework

Play framework makes it easier to build Web applications with Java. It is a clean alternative to bloated Enterprise Java stacks. It focuses on developer productivity and targets RESTful architectures. Play is a perfect companion to agile software development.

Learn more on the https://www.playframework.com website.

Getting started

1. Install the latest version of Play framework and unzip it anywhere you want:

unzip play-1.3.0-RC1.zip -d /opt/play-1.3.0-RC1

2. Add the play script to your PATH:

export PATH=$PATH:/opt/play-1.3.0-RC1

3. Create a new Play application:

play new /opt/myFirstApp

4. Run the created application:

play run /opt/myFirstApp

5. Go to localhost:9000/ and you’ll see the welcome page.

6. Start developing your new application:

Get the source

Fork the project source code on Github:

git clone git://github.com/playframework/play.git

The project history is pretty big. You can pull only a shallow clone by specifying the number of commits you want with —depth:

 git clone git://github.com/playframework/play.git --depth 10

Reporting bugs

Please report bugs on our lighthouse tracker.

Licence

Play framework is distributed under Apache 2 licence.

Packages

No packages published

Languages

  • Python 68.0%
  • Java 17.1%
  • JavaScript 9.9%
  • HTML 3.1%
  • C 0.6%
  • ApacheConf 0.5%
  • Other 0.8%