Questions tagged [playframework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
239 views

RMI vs APIs vs Akka Cluster

We have a Java Play Framework Application which we want to scale out into a cluster. The only issue is that there are services ran by the Akka Scheduler once per day, and we don't want these services ...
Amit Tiwary's user avatar
1 vote
2 answers
1k views

Can I use a library that uses guice to bind contact and implementations in applications without issues?

I have a play application and want to take a common operation out from the application and make it as a library in order to use in other play applications. This proposing library has a contract(...
udayanga's user avatar
  • 113
1 vote
2 answers
452 views

Constructing new objects with validation in Java

I'm using Playframework with Java and I'm attempting to choose between a few choices for creating valid User objects (which will then be persisted into the database in my business layer). Play uses ...
Daniel's user avatar
  • 186
1 vote
1 answer
1k views

Does dependency injection fly in the face of functional programming?

I have the following pure function (f2 and f3 are pure too): class X { def f1(arg: Type1): Type2 = { val x = f2(arg) val y = f3(x) y } def f2... def f3... } Now, I would like ...
Ram's user avatar
  • 129
7 votes
0 answers
559 views

How can one simply follow reactive manifesto? [closed]

I am quite confused about the Reactive Manifesto. According to this manifesto a reactive system should be: Responsive Resilient Elastic Message Driven Now for being responsive and resilient, as far ...
Sarp Kaya's user avatar
  • 341
12 votes
1 answer
682 views

Migrating a Grails application to Scala Play/Spray

We have a moderately sized Grails web application using GORM/Hibernate over PostgreSQL and GSPs serving HTML, and also a few REST APIs. We are standardising on Scala, and would like to migrate this ...
John M's user avatar
  • 221
0 votes
0 answers
1k views

Controllers passing Request objects to backend logic that forward Request data: Good or Bad?

Currently working on a server-side front-end Scala Play app that does a lot of grabbing of HTML snippets and JSON from many other web apps before piecing everything together and sending it in a ...
lloydmeta's user avatar
  • 101
1 vote
2 answers
756 views

Does Play framework approach necessarily leads to confuse code?

I want to start a new project and I just got in touch with Play framework, which has a ruby on rails -like approach that called my attention. I am not an expert in rails, but I think that the ...
JSBach's user avatar
  • 1,385
3 votes
0 answers
158 views

Integrate MS Dynamics AX with Play Framework

In my company we use MS Dynamics AX 2009. This is the ERP of the company. We have around 100 users. The servers of MS Dynamics AX are in the headquarters company. We are developping a new website ...
jfabaf's user avatar
  • 31
3 votes
1 answer
6k views

JSON Library - Jackson or Play Framework? [closed]

Working on a Java and Scala code-base, there's a debate about whether to use Java's Jackson JSON or the Play Framework's JSON Library. After reading the Play JSON Docs, as well as Chapter 9 (JSON) of ...
Kevin Meredith's user avatar
1 vote
1 answer
1k views

Is it an implementation of a stateful mechanism for Rest API authentication?

In many articles about Rest API's best practices, it is recommended to not depend upon sessions on server side since it leads to a stateful mechanism. I currently use Play 2.2 framework, with a ...
Mik378's user avatar
  • 3,888
1 vote
1 answer
2k views

Is it worthwile to learn/use Play framework (for Scala or Java) if I don't use the MVC in it

I prefer Single Page Application to server side generated HTML. I am sensible to the pitch of "high productivity" delivered by Play. Now if I don't use the HTML generation part, is it still valuable?...
unludo's user avatar
  • 111
8 votes
1 answer
6k views

How to choose between lightweight or heavyweight framework for web application [closed]

In my current role as a software developer in a Java/Spring/Hibernate/JSF shop, I am sometimes asked to develop large-scale web apps with many interfacing systems and/or large databases as well as ...
CFL_Jeff's user avatar
  • 3,507
-2 votes
1 answer
297 views

Web Frameworks caring about persistence?

I have noticed that Play! Framework encompasses persistence strategy (like JPA etc...) Why would a web framework care about persistence ?! Indeed, this would be the job of the server-sides ...
Mik378's user avatar
  • 3,888
13 votes
2 answers
15k views

Best resources for learning Play! Framework [closed]

Awhile back I discussed the possibility of moving to a startup that is going to be using Java, more specifically the Play! Framework; well, I'm going to go for it! I have been a .NET guy for a long ...
Nodey The Node Guy's user avatar