• Home
  • RSS Feed
  • Log in

Posts Tagged ‘Scala’

Jeroen van Wilgenburg

Scala ORM with Squeryl – A simple getting started guide
Posted by Jeroen van Wilgenburg in the early evening: June 25th, 2011

Since my pet project (I will eventually blog about that) is in desperate need of a database and I’m doing enough Java on my day job I decided to give a Scala ORM framework a shot.
I have to warn you that I’m kind of a Scala hacker. I abuse it like a scripting language and usually grab some examples, put them together and wait for my colleagues to say “You don’t want that” or “You’re doing it wrong”. So don’t hesitate to correct me, maybe I’ll learn something too ;-)

(more…)

Share

Tags: orm, sbt, Scala, sql, squeryl
Filed under Scala | No Comments »

Jan Vermeir

Getting the Java out of your Scala
Posted by Jan Vermeir mid-afternoon: April 3rd, 2011

To get some grip on the configuration of the Weblogic domains and servers at my current client, I created a tool that reads domain config files and translates them in a graph. I decided to solve this problem in Scala, mainly because I read about its powerful native XML parsing capabilities. Parsing XML turned out to be a total no-brainer, but I managed to learn something about how to solve problems the Scala way, so this is a story about Scala rather than parsing XML in Scala.
(more…)

Share

Tags: Scala
Filed under Scala | 8 Comments »

Jeroen van Wilgenburg

Annoyed by traffic lights? – Solve it with a gps logger, Scala, GeoTools and qGis
Posted by Jeroen van Wilgenburg around lunchtime: February 2nd, 2011

I live in Utrecht, a city where it seems the municipality tries to annoy car drivers as much as possible. Public transport isn’t an option, even despite the traffic jams it’s slower, less reliable and don’t get me started on the attitude of bus drivers. When you want to travel from one place in Utrecht to another it’s often a good idea to find the nearest highway, it might be much longer, but often much quicker. Instead of complaining (which will stop now ;) ) there might be a solution. I have a theory that a trip is much faster when you avoid traffic lights and use the highway as much as possible. To prove that theory, test my new (Android 2.2) phone, fresh up my Scala knowledge and have a cool pet project I started logging my trips.

In this article I will show you how to collect the data, parse and convert it to a usable format and show it on a map. This is just a first prototype and proving my theory will probably take a lot more time which I don’t have because I’m in traffic jams all the time ;) .
If you don’t like all the technical mumbo jumbo, just scroll to the maps, they’re cool to look at.
(more…)

Share

Tags: geotools, GIS, openstreetmap, qgis, Scala
Filed under Java | 3 Comments »

Wilfred Springer

Workers of the Scala World, Unite!
Posted by Wilfred Springer mid-afternoon: April 20th, 2010

If there is anything that made Java popular during the last decade, then it must be the community. This may sound like a paradox at first: popularity does sort of imply the existence of a community. But it’s really not just the existence or even the size of the community. It’s the vibe that counts.
(more…)

Share

Tags: Scala
Filed under Java | No Comments »

Jeroen van Wilgenburg

Unleashing the power of geospatial indexing with Scala and MongoDB
Posted by Jeroen van Wilgenburg in the late afternoon: March 28th, 2010

Right now I’m following some geospatial tweets and came across an interesting one about a new option to add a geospatial index to a MongoDB. Since I’ve done some stuff with Scala recently I decided to insert the data into MongoDB with Scala using scamongo. Unfortunately the scamongo Scala driver for MongoDB gave me too much trouble, so I switched to the java driver.

(more…)

Share

Tags: geohash, geospatial, GIS, index, mongodb, Scala, spatial
Filed under General | 2 Comments »

Sjors Grijpink

Scala Labs at the Dutch Java Users Group J-Fall meeting
Posted by Sjors Grijpink at around evening time: November 25th, 2009

Scala Labs at the J-Fall conference was the first in a series of public events in which we want to show the power and fun of Scala to a broad audience of developers.

ScalaLabs at work Before I tell you about our experience at the JFall, I would like to explain how Scala Labs got started. This relatively new upcoming language on the Java Virtual Machine has been drawing more and more attention and many of our developers have started playing with over the last couple of months. In August some of us decided to organize an internal technology day, so all of our developers could get a better understanding of this new language and discover its merits. Because everyone was very enthousiastic about the entire day we figured that it would be a nice to organize something similar outside of Xebia as well. The exercises from that day became the basis of the Scala Labs exercises that we used at the JFall.
(more…)

Share

Tags: Scala
Filed under General | No Comments »


Poster Presentations at the Dutch Java Users Group J-Fall meeting
Posted by Erik Rozendaal in the early morning: November 18th, 2009

Besides organizing a Scala workshop at the J-Fall meeting we also presented five technical posters to serve as discussion points for anyone interested (or just walking by). Unlike traditional meeting sessions we could interact directly, somewhat similar to open space sessions.
(more…)

Share

Tags: Domain Driven Design, fitnesse, Frameworks, GIT, Scala
Filed under Architecture, Java | 1 Comment »


Scala actors for the enterprise: introducing the Akka framework
Posted by Arjan Blokzijl just before lunchtime: October 22nd, 2009

Last week me and some of my colleagues had the pleasure of being on the receiving end of an excellent training given by Jonas Bonér. The topic was his new pet project: the Akka framework. Perhaps you’ve played around with Scala lately, and also have taken the first steps in using its Actor library. Simply stated, an Actor is a unit of execution that (usually asynchronously) processes messages and encapsulate their state. An actor does not expose its state, and messages are processed sequentially. The Actor model has been around for quite some time, but today the best-known Actor implementation is Erlang.
The Actor model has been implemented in the standard Scala library by Philipp Haller (for the interested reader, a solid reference is for instance this article explaining how actors in Scala work). In most Actor examples written in Scala, it is not uncommon to find only EchoActors, PingPongActors, and FibonacciSolvingActors. Nice examples, but perhaps you might wonder if they are of any use in enterprise Scala at all. Next to this, if you’re interested in concurrent, message passing processing models, STM’s, NoSQL data stores, and occasionally wonder what the future in enterprise computing might bring, than Akka might be just the framework you’re looking for. This blog is intended to provide a brief introduction into one feature of this framework: Akka’s supervisor Actors. It is mostly based on the knowledge extracted from Jonas during the training, and I hope to whet your appetite for it.

(more…)

Share

Tags: akka, Akka, Scala
Filed under General | 12 Comments »

Jan Vermeir

Parsing Text with Scala
Posted by Jan Vermeir in the late afternoon: October 21st, 2009

In my efforts to teach myself Scala, I tried solving a problem I’ve tackled in various languages, 6510 assembly code (didn’t get far…), pl/sql, Java (with and without Drools) and Groovy among them. Usually I get bogged down in some detail of the language so I never get to reap any actual benefits of my efforts in daily life. The plus side of this never ending task is that by now I don’t have to spend effort on defining a problem but instead can start coding right away.
So this story is about how to parse text in Scala and is part of THE software package that will automagically generate a menu for a week and the shopping list for that menu together with whatever else my family will need that week and send it to www.albert.nl and have the groceries delivered to my door.
(more…)

Share

Tags: Scala
Filed under General | 9 Comments »


Google Code Jam 2009 – Qualification
Posted by Jeroen van Erp terribly early in the morning: September 4th, 2009

Aliens sending messages, Water flowing over a map and finding the hidden Welcome message in a String… Yes, Google Code Jam has returned for the 2009 edition! I participated in the Qualification Round and managed to solve all but 1 input set….
(more…)

Share

Tags: Functional Programming, Google, google code jam, Scala
Filed under General, Java | 5 Comments »

← Older posts

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • Xebia Sweden

Categories

  • Java (311)
  • Agile (181)
  • General (136)
  • Scrum (67)
  • Architecture (64)
  • Testing (59)
  • Performance (46)
  • Middleware (56)
    • Deployment (38)
  • Xebia Labs (39)
  • SOA (31)
  • Podcast (31)
  • Project Management (28)
  • Tools (26)
  • Uncategorized (20)
  • lean architecture (20)
  • Quality Assurance (17)
  • Articles (13)
  • Requirements Management (13)
  • Virtualization (19)

Tag Cloud

    Flex Ajax Architecture Groovy Maven Xebia TDD lean architectuur Oracle Lean JPA Frameworks agile architectuur Agile JPA implementation patterns Eclipse Moving to India Grails Scrum product owner Scala XML Spring ACT Javascript SOA Hibernate Java lean architecture Concurrency Control

Archives

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
Avatars by Sterling Adventures