The possibility to develop code in Scala and seamlessly integrate it as part of code written in Java allows us to enjoy the power of Scala without throwing away software systems that were already developed in Java. In addition, once specific modules are written in Scala we can at any time compile those modules into .net intermediate language and enjoy them in our software systems version for the .net platform.

The following video clip shows how to integrate a simple class written in Java into code written in Scala.

The following clip shows how to develop a simple class in Scala and use it within code written in Java.

The source code shown in these two video clips can be found inside the Scala Fundamentals course, available for free personal and academic usage at www.abelski.com. The slides that explain how to integrate between Java and Scala have just been updated. You can download them direclty at http://www.abelski.com/courses/scala/javaintegration.pdf.

Leave a Reply

Your email address will not be published. Required fields are marked *