Paperback: 320 pages
Publisher: Manning Publications; 1 edition (March 31, 2014)
Product Dimensions: 0.8 x 7.5 x 9.5 inches
Shipping Weight: 9.6 ounces (View shipping rates and policies)
Average Customer Review: 4.2 out of 5 stars See all reviews (17 customer reviews)
Best Sellers Rank: #762,773 in Books (See Top 100 in Books) #115 in Books > Computers & Technology > Internet & Social Media > Web Browsers #386 in Books > Computers & Technology > Hardware & DIY > Design & Architecture #844 in Books > Computers & Technology > Programming > Languages & Tools > Java
This book presents an interesting and practical description of the Play 2 framework from the perspective of Java programmers. Given that the Play 1 framework was written in Java and the Play 2 was rewritten in Scala, it seems more natural to change to Scala and in fact, the best examples of Play functionality available online are usually written in Scala. This book covers a needed lack of learning material on how to develop Java applications in Play 2.In my case, I also read the Play for Scala book and I have some background in functional programming languages. However, for practical reasons, I had to teach how to create web applications in Java and selected Play.Up until this book has been published, the main reference material about Play with Java is the online documentation, which contains several examples, but needs to be improved. This book covers this gap and presents very good examples from the beginning to the end.In my opinion, the book has a very good balance of introductory material (Part 1) and more advanced material (Parts 2 and 3).The authors have made a great effort to employ example projects that are comprehensible and practical. Also, the main advantages of Play are well explained and appear, for example, when the authors talk about asynchronous data, security, and modules.Although I think the more natural way to develop Play applications is using Scala, in real projects, not every company will be able to switch to Scala and there will be a lot of cases where it will be more pragmatic to develop in Java. In those cases, I think Play for Java will be a very good solution and this book is the right choice.As a bonus point, the authors of the book have made an effort to keep the material up-to-date.