Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Should Play be JEE-compatible?

 
chris webster
Bartender
Posts: 2407
32
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We had a discussion yesterday of whether Scala frameworks should be made compatible with JEE containers. There are good arguments on both sides e.g. JEE-container compatibility would allow JEE-based projects to reap the benefits of Play within their existing systems, while on the other hand Play's current lightweight non-JEE approach may be a better choice for greenfield projects.

I'd be interested to get Erik's take on this question.
 
Erik Bakker
author
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chris webster wrote:We had a discussion yesterday of whether Scala frameworks should be made compatible with JEE containers. There are good arguments on both sides e.g. JEE-container compatibility would allow JEE-based projects to reap the benefits of Play within their existing systems, while on the other hand Play's current lightweight non-JEE approach may be a better choice for greenfield projects.

I'd be interested to get Erik's take on this question.


I think that people should be able to run Play inside JEE containers. I don't think however that Play should provide this out of the box. Damien Lecan is currently working on a Play plugin that allows Play apps to be packaged as war files and deployed in a container: https://github.com/dlecan/play2-war-plugin I think that's a mighty fine solution. The Play core doesn't need to go further than allowing plugin authors to build functionality like this.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It wouldn't matter to me whether it's in the core, or provided by a plugin (as long as the plugin is reliable and easy to use). I just need the ability to deploy to Tomcat.
 
Brian Hanafee
Greenhorn
Posts: 7
Mac Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Play needs to be JEE compatible right out of the box. It needs to do that so it can be dropped into a corporate infrastructure alongside a pile of existing servlet-based legacy code. No matter how good Play or Lift or Scalatra or Typesafe Console is, there just aren't a lot of greenfield opportunities. The ability to run on a JVM and integrate well with existing Java is a huge selling point. There needs to be a smooth migration path.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic