Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Play 2.0 to create a web service

I found an old question "How to use the Play framework to develop a web service"

I'm trying to use Play 2.0 and Scala to do the same. Will everything still be the same on Play 2.0 with the exception of moving from Groovy templates to Scala templates?

A new example will be greatly appreciated.

like image 945
Jack Avatar asked Jan 06 '12 08:01

Jack


1 Answers

There are lots and lots of changes in Play 2.0. The internal core API is in Scala, with the Java code being a wrapper.

There are three examples in the Play Framework code:

https://github.com/playframework/Play20/tree/master/samples

This may help you see what has changed between versions.

like image 101
Will Sargent Avatar answered Nov 15 '22 04:11

Will Sargent