This page is no longer maintained — Please continue to the home page at

Java to Scala with the Help of Experts

Java to Scala with the Help of Experts

Many leading experts in the industry have recognised the importance of Scala and are enthusiastic to help others appreciate the language. They have written excellent reviews and teaching materials that range from broad evaluations of the language to detailed cook-books on how to use the scala language. Each one comes from a different programming background and quite likely you will find one like your own. At times we all get stuck on learning a specific topic, just don't seem to get it. We need to take a look from a fresh point of view to gain the insight we need. Here are some people who can help you do just that.
There are lots of other experts in the Scala community and Scala user groups that are there ready to help you too. For example, there is a community web site for Scala, the Scala Wiki, where you will find information and advice from many other programmers. There you will find programming tips and links to other useful sites.
There is a growing list of books on programming in Scala too.  

If you find other material helpful as you moved from Java to Scala or from other languages please let us know so we can share it with other first time Scala programmers. Now some experts:-

You will find some introductory material but mostly more advanced material written by the research team of EPFL here.

Dean Wampler (Object Mentor) Aspect Research Associates

Dean Wampler gives a practical introduction to the Scala programming language from the view of an experienced programmer moving from Java to Scala. You will find an excellent summary of the main capabilities of the language in his series “The Seductions of Scala”. The series is in three parts and he introduces in the following way:-
“I decided to learn Scala … because it is a JVM language that combines object-oriented and functional programming in one language. At ~13 years of age, Java is a bit dated. Scala has the potential of replacing Java as the principle language of the JVM, an extraordinary piece of engineering that is arguably now more valuable than the language itself.”
He presents key concepts clearly and then gives examples of the typical code you may write. You will find it a fun way to get started on Scala.

The Seductions of Scala


Bill Venners  Artima

Is President of Artima and one of the co-athors of the "Programming Scala" book. He is a respected expert on the topic of Java and Scala.

In “First Steps to Scala” you will be shown how you can quickly use the Scala interpreter to try out small scala programs. If you are familiar with Java it is an excellent place to start. If you are already a frequent user of one of the Java IDEs (e.g. Eclipse, NetBeans or Intellij) then you may prefer to use the development tools here.
This is how Bill introduces gets you started with the interpreter:
An easy way to get started with Scala is by using the Scala interpreter, which is an interactive “shell” for writing Scala expressions and programs. Simply type an expression into the interpreter and it will evaluate the expression and print the resulting value. The interactive shell for Scala is simply called scala. You use it like this: 
$ scala
This is an interpreter for Scala.
Type in expressions to have them evaluated.
Type :help for more information.
After you type an expression, such as 1 + 2, and hit return: 
scala> 1 + 2
The interpreter will print: 
unnamed0: Int = 3
You will find the complete article, First Steps to Scala, here.

Daniel Spiewak

Is an experienced software developer who has worked with Java, Ruby, Scala, SQL, C, C++, ML, and other languages.

Scala for Java Refugees

In this series of articles Daniel Spiewak takes a Java programmer through a carefully thought out tour of the Scala language. The journey takes you through first steps to writing sophisticated programs. Then you are taken into the fun and rewarding parts of the Scala language. The tour finishes with a thorough exploration of the unrivalled interoperability of Scala and Java. You see how to leverage existing Java libraries and switch smoothly between Java and Scala in your applications.   
Some aspects have changed in the year since his first articles appeared. Tools like, Eclipse for example, have undergone major revision work adding features and stability. Frameworks such as Lift have appeared on the scene to provide significant productivity gains.    

Ted Neward Neward & Associates

Ted Neward is the principal of Neward & Associates, where he consults, mentors, teaches, and presents on Java, Scala, .NET, XML Services, and other platforms.(ted [at] tedneward [dot] com),
In his series of articles on, “The busy Java developer’s guide to Scala”, Ted Neward shows you why he has moved on from Java, his first love, to Scala. In this series of articles he compares the traditional Java code style with what he now finds the much more concise and expressive Scala language.
What you will enjoy is the way he shows examples of everyday Java code alongside their equivalent in Scala. He will take you all the way from first steps to the hot problems of concurrency. Following him you too will see why he has found a new soul-mate in Scala.
The busy Java developer’s guide to Scala

Mario Gleichmann blog Brain Driven Development

Mario gives a systematic introduction to the Scala programming language for beginners who have some programming experience. You will find a good tour of the basic language features with emphasis on the functional programming style. There are seven articles in the series.

Functional Scala


A. Sundararajan Weblog

Here you will find a very useful reference for Java programmers moving to Scala. He provides a very practical mapping from Java language structures to Scala ones. In his own words it provides a “Head-Start” for anyone making the transition. As you know it normally takes a little while to become fluent in the syntax of a new language. This handy list of mappings provides a quick way to remind you of the specific syntax for equivalent language features in Java and Scala.
You will find the mapping table here

Joakim Ohlrogge

In a series of posts Joakim, a Scala programmer in Sweden, shares his experiences, both the frustrating ones and the joys of discovering Scala. In the process he gives many tips and examples that are valuable to anyone learning Scala.   
Phasing over from Java to Scala, his experience.
In his posts Joakim also provides tips for using the Scala “nuggets”: 

Dave Orme

Builds on the work of Joakim to 'radically' simplify the use of SWT. In the last step of this transformation he introduces a new domain-specific language (DSL) written in Scala called XScalaWT, which is a successor to the XML-based XSWT project. 

James Iry

James Iry provides a lighthearted yet provocative context to think about some advanced topics and the deeper parts
of Scala.

   Monads are Elephants (An introduction to monads in Scala.)


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland