Juggling with many JDK and Scala versions under OS X

I’m always trying to be up-to-date with my developing environment, but often I need to use an older version of some particular component.
In this blogpost I’ll show you not only how to juggle with many versions of Scala and JDK, but also how to do this quickly and without any headaches.

Continue reading


SecureScial & Memcached – never that easy!

Few months ago I wrote about how to use securesocial and play2-memcached plugins together.

In the meantime, few things changed and combining SecureSocial with play2-memcached becomes really straightforward.
I want to show you how this new solution was born and how you can use it.
Continue reading

PostgreSQL on OS X Mavericks

Few days ago my company computer was upgraded. I waved goodbye to ~3,5 years old 5400rpm HDD and said hello to the brand new SSD.

Because replacing hard drive in my case signifies system installation I decided to migrate from (not so fresh..) Snow Leopard to the latest OS X release.

In this post I’ll show you how to install & run PostgreSQL 9.x on the fresh OS X 10.9 Mavericks instance.

Continue reading

M101J: MongoDB for Java Developers

M101J: MongoDB for Java Developers

Today, my co-worker Kamil (big thanks for him!) told me about interesting MongoDB University’s on-line offering which started a few days ago.

The class is under way and first lectures are already available but registration is still open and if you register now, you will be able to done the first assignments before the deadline (which due date is this monday, 14th Oct at 21:00 EDT).

What’s worth to be mentioned – whole course is free of charge and you will be able to pass the final exam and get certified from 10gen (less formaly also know as MongoDB Inc.) 🙂

See you in the class!

Typesafe Config & HOCON in examples

Few months ago I’ve started my journey with Play Framework and Akka. I loved their configuration syntax, the HOCON – Human-Optimized Config Object Notation.

If you don’t know what I’am talking writing about, you have to follow these links below to see what the word “awesome” means 😉



I want to show you how easily HOCON can be adopted into your (JVM-based) projects.

Continue reading

SecureSocial & Memcached

As I promised earlier there will be some news from battlefield 😉

SecureSocial is a plugin for Play! Framework which provides support for authentication and authorization (through both classic user/pass and OAuth providers).
It requires presence of CacheAPI implementation plugin but don’t worry – Play comes with default implementation based on Ehcache, which works very well.

But we want to try also alternative solution – Memcached, a distributed memory object caching system.
Maciej add play2-memcached plugin to project dependencies and configure it. I also have to install memcached daemon on my local machines.

Application starts without any warnings and everything goes as expected until I fire secured action.
This was a point where the problems begins 😦
Continue reading

A couple of changes..

First change: Language

I decide to follow the rule which is saying: “if you don’t like something because you can’t do it perfectly – start do it more often”.

Also I would like to reach out to a wider group of people, especially those ones from github with whom I collaborate at open-source projects on github – I count on your comments and suggestions!

I’m aware that my english isn’t very well so don’t hesitate you to correct me in a comment if I make some ugly grammar mistakes – I’ll be grateful. I hope someday my english will be fluent..

Continue reading