The second edition of Programming Scala gets experienced developers up to speed on one of today´s most exciting languages. Scala offers all the benefits of a modern object model, functional programming, and an advanced type system. Packed with code examples, this comprehensive book teaches programmers how to be productive with Scala quickly, and explains what makes this language ideal for today´s highly scalable, component-based applications that support concurrency and distribution. New chapters include pattern matching, comprehensions, and advanced functional programming.
Master the fundamentals of Scala and understand its emphasis on functional programming that sets it apart from Java. This book will help you translate what you already know in Java to Scala to start your functional programming journey. Learn Scala is split into four parts: a tour of Scala, a comparison between Java and Scala, Scala-specific features and functional programming idioms, and finally a discussion about adopting Scala in existing Java teams and legacy projects. After reading and using this tutorial, you´ll come away with the skills in Scala to kick-start your productivity with this growing popular language. What You´ll Learn Tour Scala and learn the basic syntax, constructs, and how to use the REPL Translate Java syntax that you already know into Scala Learn what Scala offers over and above Java Become familiar with functional programming concepts and idioms Gain tips and advice useful when transitioning existing Java projects to Scala Who This Book Is For Java developers looking to transition to Scala. No prior experience necessary in Scala.
The book gives readers a practical introduction to reactive programming with Actor Model. The reader is given a brief but detailed background on using the Scala programming language and how to program using Scala and the Akka toolkit. After covering the basics and establishing a foundation, the book takes readers through a series of message-based integration cookbook solutions, including: Messaging Systems, Messaging Channels, Message Construction, Message Routing, Message Transportation, Message Endpoints, and System Management. The book follows the proven method presented in ´´Enterprise Integration Patterns´´ by Gregor Hohpe and Bobby Woolf, but gives solutions based on the use of Scala and Akka.
Key Features: - Clear introduction to Spark - Teaches how to ingest near real-time data - Gaining value from big data - Includes real-life case studies AUDIENCE Readers should be familiar with Java, Scala, or Python. No knowledge of Spark or streaming operations is assumed, but some acquaintance with machine learning is helpful.