coverpage
Scala for Java Developers
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Programming Interactively within Your Project
Advantages of using Scala for Java projects
Learning Scala through the REPL
Operations on collections
Summary
Chapter 2. Code Integration
Creating a REST API from an existing database
Adding a test in Scala
Setting up Scala within a Java Maven project
Scala and Java collaboration
Differences in style between Java and Scala code
Summary
Chapter 3. Understanding the Scala Ecosystem
Inheriting Java Integrated Development Environments (IDEs)
Building with Simple Build Tool (SBT)
Experimenting with Scala Worksheets
Working with HTTP
Taking advantage of Typesafe Activator
The REPL as a scripting engine
Summary
Chapter 4. Testing Tools
Writing tests with ScalaTest
Testing with ScalaCheck
Summary
Chapter 5. Getting Started with the Play Framework
Getting started with the classic Play distribution
Getting started with the Typesafe Activator
Architecture of a Play application
Playing with authentication
Practical tips when using Play
Summary
Chapter 6. Database Access and the Future of ORM
Integrating an existing ORM – Hibernate and JPA
Dealing with persistence in the Play Framework
Replacing ORM
Learning about Slick
Scaffolding a Play application
Summary
Chapter 7. Working with Integration and Web Services
Binding XML data in Scala
Working with XML and JSON
Handling Play requests with XML and JSON
Summary
Chapter 8. Essential Properties of Modern Applications – Asynchrony and Concurrency
The pillars of Concurrency
The Async library – SIP-22-Async
Getting started with Akka
Summary
Chapter 9. Building Reactive Web Applications
Describing reactive applications
Handling streams reactively
Experimenting with WebSockets and Iteratees in Play
Learning from activator templates
Playing with Actor Room
Summary
Chapter 10. Scala Goodies
Exploring MongoDB
Scratching the surface of Big Data
Introducing DSLs in Scala
Introducing Scala.js
Final tips
Summary
Index
更新时间:2021-07-16 11:58:52