• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Should Play be JEE-compatible?

 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 11
5
Mac Scala
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic