摘要:Play applications can be deployed virtually anywhere: inside Servlet containers, as standalone servers, in Google Application Engine, Stack, a Cloud, ...
阅读全文
摘要:Here some simple tips to optimize your application for production.Configure your application.confFirst off, the best way to specify production mode is...
阅读全文
摘要:When you work in a team, different developers will use different configuration keys in theirapplication.conf. For example, the log level, some databas...
阅读全文
摘要:When you use a relational database, you need a way to track and organize your database schema evolutions. Typically there are several situation where ...
阅读全文
摘要:The Play logger is built onLog4j. Since most Java libraries use Log4j or a wrapper able to use Log4j as a backend, you can easily configure logging th...
阅读全文
摘要:Play’s dependency management system allows you to express your application’s external dependencies in a singledependencies.ymlfile.A Play application ...
阅读全文
摘要:A Play application can be assembled from several application modules. This allows you to reuse application components across several applications or s...
阅读全文
摘要:Creating automatic test suites for your application is a good way to make it robust. It allows you to work in a very agile way.Play tests are built us...
阅读全文
摘要:To create high-performance systems, sometimes you need to cache data. Play has a cache library and will useMemcachedwhen used in a distributed environ...
阅读全文
摘要:E-mail functionality uses theApache Commons Emaillibrary under the hood. You can use theplay.libs.Mailutility class to send e-mail very easily.A simpl...
阅读全文
摘要:Because Play is a web application framework, most of the application logic is done by controllers responding to HTTP requests.But sometimes you will n...
阅读全文
摘要:Theplay.libspackage contains several useful libraries that will help you to achieve common programming tasks.Most of these libraries are simple helper...
阅读全文
摘要:Play provides a set of very useful helpers to simplify the management of your JPA entities.Notethat you can still go back to the plain JPA API wheneve...
阅读全文
摘要:Validations ensure that the data has certain values or meets specific requirements. You can use validation to verify that your models are correct befo...
阅读全文
摘要:Play has an efficient templating system which allows to dynamically generate HTML, XML, JSON or any text-based formatted document. The template engine...
阅读全文