`
sillycat
  • 浏览: 2567380 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Playframework(15)Update the Version to 2.3.8 Going with Java

 
阅读更多
Playframework(15)Update the Version to 2.3.8 Going with Java
 
Download the latest version, unzip that and do what ever I do in the past
If I create one new project based on scala
> activator new easyplay play-scala
 
To run "easyplay" from the command line, "cd easyplay" then:
/Users/carl/work/play/easyplay/activator run

To run the test for "easyplay" from the command line, "cd easyplay" then:
/Users/carl/work/play/easyplay/activator test

To run the Activator UI for "easyplay" from the command line, "cd easyplay" then:
/Users/carl/work/play/easyplay/activator ui
 
Check the Installation
> activator -help
 
try java project
> activator new easyplayjava play-java
 
It seems that there is some changes based on the new version. I will try to read the doc again.
Check Java Version
> java -version
java version "1.8.0_25"
 
> javac -version
javac 1.8.0_25
 
Activator Tool
It provides SBT and many templates.
Check the installation
> activator -help
 
Command to start the activator
> activator ui -Dhttp.address=0.0.0.0 -Dhttp.port=8888
 
Create a new Java Project
> activator new easyplayjava play-java
all the things are based on sbt. I am familiar with that.
 
This command will enter the console
> activator
 
activator, sbt, similar.
 
JAVA8, RESTful Playframework 2.x, Mysql Example https://github.com/luohuazju/sillycat-playrest
 
Java API and Introduction
http://sillycat.iteye.com/blog/1750340 HTTP, router, cookie, session, flash
http://sillycat.iteye.com/blog/1750947 Promise<Result>, html Template
http://sillycat.iteye.com/blog/1751649 Form- spring data binder, @BodyParser.Of(Json.class)- handler response
 
Asynchronous
avoid blocking operation in controller, such as JDBC calls, steaming API, long computation.
 
Promise for client, another Promise to get the result.
 
promise() helper
Promise.promise(()->intensiveComputation());
Use thread to handle that.
 
Java AKKA
Play contains a default AKKA system.
 
Have AKKA system in controller, convert Future to Promise to return.
 
Deploy Option Configuration
> activator stage
> bin/easyplayjava -Dconfig.file=conf/application.conf -Dhttp.port=8888 -Dhttp.address=0.0.0.0
 
References:
Installation
 
deployment
 
new doc
 
 
分享到:
评论

相关推荐

    struts-2.3.8 应用实例

    Apache Struts 2.3.8 is an elegant, extensible framework for creating enterprise-ready Java web applications. It is available in a full distribution, or as separate library, source, example and ...

    spring-boot-2.3.8.RELEAS demo.zip

    《Spring Boot 2.3.8.RELEASE:深入探索与实战》 Spring Boot作为Java开发中的热门框架,因其简化配置、快速启动和易于部署的特性,深受开发者喜爱。本篇文章将围绕Spring Boot 2.3.8.RELEASE版本进行详细探讨,...

    playing-multipartform:在 Play Framework 2.3.8 中处理和测试 MultipartFormData 请求的基本示例

    #Playing MultipartFormData 在 Play Framework 2.3.8 中处理和测试 MultipartFormData 请求的基本示例在 Web 应用程序中上传文件的标准方法是使用具有特殊 multipart/form-data 编码的表单,它允许您将标准表单数据...

    rails-2.3.8.gem

    版本为:rails-2.3.8.gem 可使用指令安装:gem install rails-2.3.8.gem

    ecstore2.3.8

    "ecstore2.3.8" 是ShopEX公司推出的一款基于B2C模式的电子商务系统,版本号为2.3.8。ShopEX是中国知名的电商软件和服务提供商,其产品广泛应用于各类在线零售业务。ECstore是他们精心打造的电商解决方案,旨在为企业...

    freemarker-2.3.8.jar.zip

    这个“freemarker-2.3.8.jar.zip”文件包含的是Freemarker 2.3.8版本的库,以Java Archive(JAR)格式打包,通常用于在Java应用程序中方便地分发和使用类库。 1. **Freemarker简介** Freemarker是一个基于模板的...

    ruby1.8.7 & rails2.3.8

    4. `activerecord-2.3.8.gem`、`actionpack-2.3.8.gem`、`activeresource-2.3.8.gem`、`activesupport-2.3.8.gem`、`actionmailer-2.3.8.gem`:这些都是Rails核心组件的Gem文件,分别对应模型(ActiveRecord)、控制...

    struts2 2.3.8版本

    Struts2是一个非常著名的开源Java框架,用于构建企业级Web应用程序。它的2.3.8版本是该框架的一个重要里程碑,提供了许多功能增强和错误修复。这个版本在发布时可能出于精简或版权考虑,没有包含完整的文档,使得...

    Struts2.3.8

    Struts2.3.8必要jar包: asm-3.3.jar asm-commons-3.3.jar commons-fileupload-1.2.2.jar commons-io-2.4.jar commons-lang3-3.1.jar commons-logging-1.1.1.jar freemarker-2.3.19.jar javassist-3.11.0.GA.jar ...

    struts2.3.8

    最新的Struts2.3.8chm格式的帮助文档

    freemarker-2.3.8源码

    2.3.8版本是Freemarker的一个稳定版本,发布于2009年,虽然现在已经有了更新的版本,但2.3.8仍然被许多项目所使用。 在源码包`freemarker-2.3.8`中,我们可以深入理解Freemarker的工作原理和内部实现。源码包包含了...

    rails2.3.8 && ruby1.8.7

    标题中的"rails2.3.8 && ruby1.8.7"指的是Ruby on Rails框架的2.3.8版本和Ruby编程语言的1.8.7版本。Ruby on Rails(通常简称为Rails)是一个基于Ruby语言的开源Web应用程序框架,它遵循模型-视图-控制器(MVC)架构...

    struts2.3.8核心包

    Struts2.3.8需要11个基本包: asm-3.3.jar asm-commons-3.3.jar commons-fileupload-1.2.2.jar commons-io-2.4.jar commons-lang3-3.1.jar commons-logging-1.1.1.jar freemarker-2.3.19.jar javassist-...

    freemarker-2.3.8.jar

    `freemarker-2.3.8.jar` 是一个基于Java的开源模板引擎,主要用于生成动态HTML、XML、PDF、Word等格式的文档。Freemarker是一个强大的、轻量级的模板语言,它与编程语言分离,使得设计人员可以专注于页面布局,而...

    struts-2.3.8 doc

    Struts 2是Java平台上的一个开源MVC框架,它为构建企业级Web应用程序提供了强大的支持。这个"struts-2.3.8 doc"压缩包包含的是Struts 2框架版本2.3.8的官方文档,对于开发者来说是理解和使用Struts 2的关键参考资料...

    base64-2.3.8.jar

    base64-2.3.8.jar

    AdminLTE-2.3.8

    这个版本是2.3.8,它提供了丰富的UI元素、组件和插件,帮助开发者快速搭建功能丰富的后台界面。以下是对AdminLTE 2.3.8的详细解析: 1. **响应式设计**:AdminLTE 2.3.8采用了全面的响应式布局,确保在各种设备(如...

    base64-2.3.8-API文档-中文版.zip

    赠送jar包:base64-2.3.8.jar; 赠送原API文档:base64-2.3.8-javadoc.jar; 赠送源代码:base64-2.3.8-sources.jar; 赠送Maven依赖信息文件:base64-2.3.8.pom; 包含翻译后的API文档:base64-2.3.8-javadoc-API...

    JavaEE源代码 freemarker-2.3.8

    JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-2.3.8JavaEE源代码 freemarker-...

    java Struts 2.3.8 帮助文档

    最全面的 最新的 Struts框架的帮助文档

Global site tag (gtag.js) - Google Analytics