Is it possible to integrate play framework 2.0 with an existing web application?

We have a large existing Java application to which I would like to add a playback structure. Is this possible, and if so, are there any pointers to how to do this?

The application is a portal application that we plan to transfer to jboss - and we would add a portal (liferay or gatein) to the jboss application server (so the game would have to "play" with all of the above).

+5
source share
4 answers

For your project portal, the Play Framework can help you as a backend service for aggregating data or for handling some distributed and computational tasks for your portal.

Play Framework is very effective with Akka ( http://akka.io ). Akka can help you deal with complex calculations or tasks very easily and easily. As an example, if your portal connects to several third-party web services to retrieve data for your users, Play, with Akka, can do this very well. With Akka chords, you can simultaneously receive data from third-party web services and, in turn, combine this data and submit it to your portal with a single call.

, Play Akka , , , -.

Let It Crash (http://letitcrash.com), Akka.

, :

http://letitcrash.com/post/66094078446/presentation-scaling-out-with-akka-actors

http://letitcrash.com/post/30509298968/case-study-an-auto-updating-cache-using-actors

+2

1.2.4 .WAR .war JBOSS. (2.0) .war: https://play.lighthouseapp.com/projects/82401/tickets/8-war-packaging

, - JBoss . URL- - . , ""?

+1

, play JBOSS, Java JBOSS play. java- JBOSS java- app. .

, play dist.

http://www.playframework.com/documentation/2.2.x/ProductionDist

+1

Play Framework -:

Play Eclipse. Play Eclipse, eclipsify:

[My first application] $ eclipsify

File/Import/General/Existing project... ( ).

  • , JPDA Debug .

  • .

Scala Play 2.0 RC2 Scala IDE:

  • , ~ run, .

  • , Scala .

  • , . Play Scala IDE.

  • - , , eclipsify, .

. Eclipse !

The generated configuration files contain absolute references to your framework installation. These are specific to your own installation. When you work in a team, each developer must keep his Eclipse configuration files private.source:

https://github.com/skyluc/SandBox/wiki/play-2.0-in-scala-ide-2.0#configuring-scala-ide-for-the-play-20-web-application

http://www.playframework.com/documentation/2.0/JavaHome

http://www.playframework.com/documentation/2.0/Samples

http://scala-ide.org/docs/tutorials/play/

http://www.playframework.com/

0

All Articles