InfoQ Homepage Scala Content on InfoQ
-
ActiveJPA – Active Record Pattern for JPA
ActiveJPA is a Java implementation of Martin Fowler’s Active Record pattern that wraps around JPA and provides useful abstractions to simplify data access. With ActiveJPA, models themselves act as a DAO and interact with the database without requiring additional code for the DAL. In this article the primary committer discusses ActiveJPA and provides plenty of usage examples.
-
Creating Resilient Software with Akka
Akka Tech Lead Dr. Roland Kuhn offers a behind the scenes look at Akka, showing what the driving forces behind the development of its guiding principles are.
-
Introduction to Interface-Driven Development Using Swagger and Scalatra
Since it began life a little over three years ago, the Scalatra web micro-framework has evolved into a lightweight but full-featured MVC framework with a lively community behind it. Scalatra started out as a port of Ruby's Sinatra to the Scala language. Since then the two systems have evolved independently, with Scalatra gaining capabilities such as an Atmosphere integration and Akka support.
-
Java 8 vs Scala: a Feature Comparison
This article explores some of Java 8’s new features, using both Java’s proposed syntax and Scala. We cover lambda expressions, higher-order functions, parallel collections and virtual extension methods aka traits. Besides this, we will provide insights into the new paradigms integrated in Java 8, such as functional programming.
-
Benchmarking JVM Concurrency Options for Java, Scala and Akka
Michael Slinn examines how to benchmark JVM concurrency options for JVM-based langauges including Java and Scala.
-
Scala or Java? Exploring myths and facts
The popularization of the Scala programming language and the comparisons with other languages has greatly increased the amount of posts in blogs and social nets, many of those containing many claims that can be outdated, superficial or biased. This article explains the common issues about the language and its environment, favoring a more accurate and balanced assessment.
-
Martin Odersky on Typesafe Stack and the Future of Scala
In this interview with InfoQ's Editor in Chief, Michael Floyd, Martin Odersky draws the comparisons between F# and Scala, discusses the future of Scala, and addresses once and for all the question of breaking binary compatibility. He also discusses his current work on the implementation of the value class proposal, how Java might support functional programming and the new Typesafe Stack 2.0.
-
David Pollak and Dick Wall Discuss Barriers to Scala Adoption
David Pollak, famous Scala advocate, blog posted, "Yes, Virginia, Scala is hard", causing a brouhaha. Scala use is increasing, yet the post claims that Scala tries to do too much, has poor IDE support, and more. InfoQ catches up with David Pollak and Dick Wall to comment on the complaints in the post, as well as the future of Scala. David has things to say about Groovy, Ceylon and Lambdas too.
-
Scala.Net and Scala with Martin Odersky
Scala.Net will be a version of Scala that supports the .NET ecosystem. We talked with Martin Odersky, Chairman and Chief Architect as well as co-founder of Typesafe, about Scala.Net, the version of Scala that support .Net as well as about Scala in general.
-
An Introduction to Scala for Java Developers
Scala combines the object-oriented and functional programming paradigms, using a concise syntax that is fully compatible with Java and runs on the JVM. This article provides an introduction to Scala.
-
Twitter Shifting More Code to JVM, Citing Performance and Encapsulation As Primary Drivers
While it almost certainly remains the largest Ruby on Rails based site in the world, Twitter has gradually been moving more and more of its stack to the JVM. Last year the company announced that its back-end message queue had been re-written in Scala, and more recently it moved the search stack to Java, making Twitter search around three times faster.
-
Guardian.co.uk Switching from Java to Scala
Citing a need to be able to respond faster to events, and disappointment in the feature set and timeframe for Java 7, the team behind guardian.co.uk is using Scala as an alternative to Java for their new projects. InfoQ spoke to Web Platform Development Team Lead Graham Tackley about their current stack, the reasons behind the move, and the experience of using Scala in large-scale development.