Monday, April 29, 2013

Snippets moved to Gist GitHub

Hello all!
Do you remember my posts with pom.xml snippets? So I moved and unified the snippet in these posts: ...into GitHub Gist
Now contribution are more simple than ever and this is the reason of because I choose to use Gist GitHub to share that snippets and any future snippet.
Follow me and contribute on GitHub Gist .

Thursday, April 25, 2013

Openfire Room Service plugin

Hi all!
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.
I shared a little plugin for Openfire that allows you to manage chat rooms via http requests. The plugin, named Room Service Plugin, is inspired to the User Service plugin version 1.3.2. Full source code available on GitHub .

That plugin has been developed for Openfire 3.7.1 and I don't know if it works with Openfire 3.8.1.

Tuesday, April 23, 2013

Contribution to Spring Data Mongo

It's time to share with you my first little little little little contribution to SpringSource/spring-data-mongodb
If you don't know spring-data-mongodb, the abstract is:
Provide support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
Here is the contribution .
That's all!

Sunday, April 21, 2013

Less invasive configuration for Lucene AppEngine

I'm glad to announce a new configuration for Lucene AppEngine project.
If you used Lucene AppEngine maybe you've encountered this error java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Yes! I've already solved that problem but in an invasive and unfunny way; but now...

Just add this into your appengine-web.xml and everything will be fine.

    
        
    


What's new in LAE examples and in Live Demo:
  • Updated with latest gae-sdk library
  • Updated look and feel with Bootstrap.
  • Updated with new simplified configuration of LAE;

Enjoy!


Saturday, April 20, 2013

Eclipse: Convert to if-!-return

Yes I use Eclipse and I'm excited for the new feature 'Convert to if-!-return' that is coming with Eclipse 4.3 Kepler. Whoever has read my previous post Coding: Why I hate "single line else" can understand why I'm so happy!

Here the Eclipse description of 'Convert to if-!-return' Quick Assist:
Ever encountered a long if statement that can be safely inverted to an early return, so that you can ignore the code that follows, and make it easier to understand? Now, you can just use a Quick Assist (Ctrl+1) on the if statement to do this refactoring



Related posts: