Choose your language:

France
Germany
Hong Kong

India
Ireland
Japan
Malaysia
Netherlands
New Zealand

Singapore

Sweden
United Kingdom
United States
Course Code

IN1272

Duration

4 Days

Java developers wanting to move to a Scala development project.

This four day course offers participants an introduction to Scala Programming, an overview of the key features of the Scala Language, and basic programming in Scala.
This course is designed for individuals who are developers.

Upon completion of this course, participants will understand:

  • Key features of the Scala Language 
  • Basic programming in Scala 
  • OO development in Scala 
  • Functional programming in Scala 
  • Pattern matching in Depth 
  • Test driven development in Scala 
  • XML manipulation 
  • Writing concurrent Apps
Introduction to Scala
A brief history of the Java platform to date
Distinguishing between the Java language and platform
Pain points when using Java for software development
Possible criteria for an improved version of Java
How and why the Scala language was created

Key Features of the Scala Language
Everything is an object
Class declarations
Data typing
Operators and methods
Pattern matching
Functions
Anonymous and nested functions
Traits

Basic Programming in Scala
Built in types, literals and operators
Testing for equality of state and reference
Conditionals, simple matching and external iteration
Working with lists, arrays, sets and maps
Throwing and catching exceptions
Adding annotations to your code
Using standard Java libraries

OO Development in Scala
A minimal class declaration
Understanding primary constructors
Specifying alternative constructors
Declaring and overriding methods
Creating base classes and class hierarchies
Creating traits and mixing them into classes
How a Scala inheritance tree is linearized

Functional Programming in Scala
Advanced uses of for expressions
Understanding function values and closures
Using closures to create internal iterators
Creating and using higher order functions
Practical examples of higher order functions
Currying and partially applied functions
Creating your own Domain Specific Languages (DSL's)

Pattern Matching in Depth
Using the match keyword to return a value
Using case classes for pattern matching
Adding pattern guards to match conditions
Partially specifying matches with wildcards
Deep matching using case constructors
Matching against collections of items
Using extractors instead of case classes

Test Driven Development in Scala
Writing standard JUnit tests in Scala
Conventional TDD using the ScalaTest tool
Behavior Driven Development using ScalaTest
Using functional concepts in TDD

XML Manipulating in Scala
Working with XML literals in code
Embedding XPath like expressions
Using Pattern Matching to process XML data
Serializing and deserializing to and from XML

Writing Concurrent Apps
Issues with conventional approaches to multi-threading
How an actor-based approach helps you write thread safe code
The Scala architecture for creating actor based systems
Different coding styles supported by the actor model
Send Us a Message
First Name
*
Last Name
*
Company
*
Email
*
Address Line 1
*
Address Line 2
City
*
*
Zip Code
Telephone
*
*
Choose one
*
Comments