Code Monkey home page Code Monkey logo

play2-war-plugin's Introduction

WAR Plugin for Play framework 2.x

Current versions:
    Play 2.0 -> 2.0.4 : 0.8.1
    Play 2.0.5+       : 0.8.2
    Play 2.1 -> 2.1.3 : 1.0.1
    Play 2.1.4+       : 1.1
    Play 2.2.x        : not compatible yet

Project-status: STABLE

Build Status

This project is a module for Play framework 2 to package your apps into standard WAR packages. It can be used with Servlet 3.0 and 2.5 containers (Tomcat 6/7, Jetty 7/8/9, JBoss 5/6/7, ...)

Why choosing WAR packaging when native Play 2 is a better deployment model (features and performances) ?

  • Ops don't want to change their deployment model and still want to use WAR in your company
  • SSL is available, easy to configure and well documented on JBoss, Tomcat, ... when SSL is newer on Play 2.1
  • You need to add extra Servlet filters specific to your company (to handle SSO, ...)

You can trust this plugin because it is heavily tested, with hundreds of integration tests run on :

  • several open-source application servers (Tomcat 6/7, Jetty 7/8/9, JBoss AS 7.x)
  • all versions of Play Framework 2.x

Live demo: JBoss7@Cloudbees : http://servlet30.play-war.cloudbees.net/

Other references built with Play 2 and Play2War:

What's new ?

See releases and changelog.

Features

Features Native Play 2 Servlet engine
3.1 3.0 2.4/2.5
Availability In progress
Performances +++ ++ + -
HTTP Asynchronous request
processing
Web Socket
Container Data sources Built-in
(Bone CP)
Built-in (Bone CP)
External DS support : TBD
Applications deployed at root context
Eg: http://myhost/

Applications deployed at sub-context
Eg: http://myhost/mySubAppContext

Play 2.0.x :
Play 2.1.x :

Server compatibility

Servlet engine Server In your company Public PaaS
Servlet 3.0 Tomcat 7
Jetty 8
Jetty 9 (M2) TBD
JBoss 7.0 Demo @Cloudbees
Need extra configuration when deploying
JBoss 7.1 TBD
(Openshift)
Glassfish 3 TBD TBD
Glassfish 4 TBD TBD
Websphere Community Edition 3.0 -
Websphere 8.5 Liberty Profile -
Servlet 2.5 Tomcat 6 -
Jetty 7 -

The plugin may work on others containers, such as Weblogic or other versions of Websphere (not tested yet).

Configuration

See Configuration.

Usage

See Usage.

Deployment

See Deployment.

FAQ

See FAQ.

Issues

Please file issues here: https://github.com/dlecan/play2-war-plugin/issues.

Continous integration

Watch it in action here : https://play-war.ci.cloudbees.com/.

How to help ?

Discover how you can help the project.

Licence

This software is licensed under the Apache 2 license, quoted below.

Copyright 2012 Damien Lecan (http://www.dlecan.com).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Built by CloudBees

githalytics.com alpha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.