Play!framework: embedded H2 database and Web interface

Working with the Java Play! framework for some months now, I’ve just (sic!) discovered the Web database interface on H2 throught the url http://localhost:9000/@db A first page will ask you to configure the database connection:fig. 2 – Browse inter… Continuer de lire Play!framework: embedded H2 database and Web interface

Basics of the Play! commands

New Play! App Create a new Play site: c:\> play new MySite ~        _            _ ~  _ __ | | __ _ _  _| | ~ | ‘_ \| |/ _’ | || ~ |  __/|_|\____|\__ (_) ~            |__/ ~ ~ play! 1.2.1, http://www.playframework.org ~ ~ The new application will be created in /home/frederic/Projects/Java/play/MySite ~ What is the application name? [MySite] ~ ~ OK, the application is created. ~ Start it with : play run MySite ~ Have fun! Dependencies see here for more information http://www.playframework.org/documentation/1.2.1/dependency Edit dependencies with the dependencies.yml file: requires: – play ->[1.2, ) – play -> … Continuer de lire Basics of the Play! commands