Blog: blog.m1key.me

Indian temples - my photos

This time some pictures of Indian temples. ...

Wyświetlenia 713

OK 0

NOK 0

Lightroom Preset: Retro

This is my Retro look Lightroom preset that I used for some pictures in my Slums gallery. Download now!...

Wyświetlenia 400

OK 0

NOK 0

Gradle Book (update)

I have previously mentioned the book I did the technical review for - Gradle Effective Implementation Guide. Here's the link to the book directly from the publisher....

Wyświetlenia 453

OK 0

NOK 0

Gradle Book

Hi, recently this book on Gradle has been published: Gradle Effective Implementation Guide, and I am advertising the fact because I did the technical review for it. It's a decent introduction to Grad...

Wyświetlenia 528

OK 0

NOK 0

Spring Data MongoDB on Cloud Foundry tutorial Part 1

Hi, in this tutorial I will show you how to develop a Spring powered MongoDB project, with Gradle as dependency management, and how to deploy it on Cloud Foundry. The app will be a web app deployed on...

Wyświetlenia 404

OK 0

NOK 0

Made in Medina

Have a minute to see more photos from Fez, Morocco? ...

Wyświetlenia 343

OK 0

NOK 0

CDI @Produces not working?

I deployed my application to JBoss AS 7.1.1.Final and realised that my @Produces annotations were not really producing... But they were working fine with Arquillian. It was my programming error. Thi...

Wyświetlenia 399

OK 0

NOK 0

Photos from Fez, Morocco

Have a minute to see my photos from Fez, Morocco? ...

Wyświetlenia 349

OK 0

NOK 0

Arquillian and @Asynchronous

I have just learnt that Arquillian does not support @Asynchronous calls. So if you have @Asynchronous EJBs, then they might run fine on JBoss 7 (provided it's full profile and not just web profile, as...

Wyświetlenia 361

OK 0

NOK 0

Morphia and semicolons

I noticed a strange behaviour from Morphia when writing MongoDb group by equivalents. It doesn't seem to like semicolons in your queries. Please see the following example. db.MongoDbSong.group( ...

Wyświetlenia 299

OK 0

NOK 0

Search in Git

Hi, I will show you how to: search in git commits (the actual code committed), and search in commit messages. Search in committed code git log -S "whatever you are looking for" Search in...

Wyświetlenia 316

OK 0

NOK 0

MongoDB with Morphia (and Scala)

I've been working on my Scala application that connects to MySQL on one end (using EclipseLink and JPA), and MongoDB on the other (using Morphia). The source code is available on GitHub. In this post...

Wyświetlenia 450

OK 0

NOK 0

No-args constructor in Scala for Morphia

Morphia (like Hibernate) requires a no-args constructor for instantiating objects. Here's how to do it in Scala, while keeping your proper constructor with arguments. import com.google.code.morphia....

Wyświetlenia 388

OK 0

NOK 0

GROUP BY with MongoDB (and Scala and Morphia)

This is an example of how to run a query similar to GROUP BY from the SQL world, but in MongoDB. MongoDB doesn't have GROUP BY, but it has a very similar group command. In my example I want to retu...

Wyświetlenia 413

OK 0

NOK 0

Unique compound index with Morphia (MongoDb) and Scala

Hi, here's how to create a unique compound index with Morphia and Scala. The example is from my Gradle + Scala + MongoDb application Also, here's Part 1 of my tutorial on building a Scala + Gradle + ...

Wyświetlenia 425

OK 0

NOK 0

Scala + Guice + Gradle: Integration tests (Part 5)

Previously I showed you how to add to your Scala + Guice project JPA 2 implemented by EclipseLink. In this article I will show you how to integration test it using the specs library. build.gradle Bel...

Wyświetlenia 402

OK 0

NOK 0

Scala + Guice + Gradle: JPA 2 & EclipseLink (Part 4)

Previously I showed you how to create a Singleton in Guice powered Scala project. In this article I will show you how you can (JPA 2) EclipseLink support. This sample app is a console app, so we have...

Wyświetlenia 432

OK 0

NOK 0

Scala + Gradle + Guice: Singleton (Part 3)

In the previous part of this tutorial I explained how to use Guice in your Gradle + Scala project. In this short post I will build up on that and show you how to create a singleton scoped instance, a...

Wyświetlenia 379

OK 0

NOK 0

Scala + Guice + Gradle (Part 2)

In Part 1 of this tutorial I showed you how to create a Gradle based Scala project. Now I will show you how to use Guice. Basic example The abstraction that defines the contract: package me.m1key.au...

Wyświetlenia 381

OK 0

NOK 0

Scala + Guice + Gradle Tutorial (Part 1)

Hi, in this tutorial I will show you how to create a Gradle based Scala project that uses Guice for dependency injection. Create Gradle project in IDE from existing Gradle sources If you already have...

Wyświetlenia 514

OK 0

NOK 0

Polskie blogi o JAVIE

                                                                                                                                       

dailylog

Wpisów: 34

Ostatni (2014-10-06):
PageLogic

    

jdn.pl

Wpisów: 163

Ostatni (2015-01-09):
Chamberconf