Archive for scala

Article: Clojure vs Scala, Part 2

Clojure vs Scala, Part 2 by Stephan Schmidt

There are two languages stirring up the Java World: Clojure and Scala. Clojure a Lisp dialect on the JVM, powerful and pure and the Scala language a tight integration of object and functional programming. Which should you learn?

Comments

Article: What’s New In Scala 2.8

What's New In Scala 2.8 from Bay-Area Scala Enthusiasts (BASE) Meeting by Dean Wampler

This week is JavaOne in San Francisco. The Bay-Area Scala Enthusiasts (BASE) held their monthly meeting. Martin Odersky, the creator of Scala, was the special guest. He discussed what’s new In Scala 2.8, followed by Q&A. We met at Twitter HQ.

Comments

Article: Enterprise Scala Beans

Enterprise Scala Beans by Julian Exenberger

This is a "hello world" tutorial to show how to get a Scala class configured to run as an EJB 3.0 inside a JEE app server, in this case Glassfish V2.

Comments

Article: Java Integration with Groovy, JRuby and Scala

Java Integration with Groovy, JRuby and Scala by Tiago Fernandez

In my opinion, Scala is currently the most suited to the enterprise world. Maybe we'll get better results from JRuby if it could generate Java types from Ruby code, but I'm afraid it's too soon.

Comments

Article: OSGi With Scala, Java, Groovy, Maven and PAX

OSGi With Scala, Java, Groovy, Maven and PAX by Brian Murphy

walk you through the setup of an OSGi project that is comprised of three OSGi bundles; one for Java, one for Groovy and one for Scala.

Comments

Article: The Book Of JOSH Scala In The Enterprise

The Book Of JOSH Scala In The Enterprise from The Grey Lens Man's View

Fast forward… Currently a very small team and myself are near completion of the first major functional component on the JOSH stack.

All of the development talent on the team are experienced Java developers. And they have been effective from Day 1.

No real discussions of covariance and contravariance was required. We did discuss HOF, anonymous lamba, closures, cut syntax, maps, folds, reduces. And strangely their heads did not explode. We did discuss the evil of mutable state, and referentially transparent functions.

They were enthralled.

Comments

Slide: Pragmatic Real-World Scala

Comments

Article: Real-World Scala: Dependency Injection (DI)

Real-World Scala: Dependency Injection (DI) by Jonas Bonér

Scala is a very rich and deep language that gives you several ways of doing DI solely based on language constructs, but nothing prevents you from using existing Java DI frameworks, if that is preferred.

Comments

Article: Prance with the Horses, Skittr with the Mice

Prance with the Horses, Skittr with the Mice by David Pollak

How hard is it to build a highly scalable social messaging system? Not hard if you use the right tools. Over the last week and a half, in my spare time, I wrote a Twitter clone in Scala and lift. It's 884 'wc -l' lines of code including comments. It can handle 1M+ users on a two Intel Core 2 Duo boxes (one as the web front end and the other as the message broker.) With a weeks of full-time coding, it could be modified to scale linearly with the number of boxes in the system.

Comments

Article: Scala Idioms, Step 1, Lists and Maps

Scala Idioms, Step 1, Lists and Maps by David Pollak

This installment discusses Scala's Lists (the most commonly used of Scala's many collections classes) as well as Maps and touches on Tuples.

Comments

« Previous Entries