Tuesday, April 15, 2014

Java 8 - what's new!

Hello!


I want only to share with you what I think to be a very good article useful to check what's new in Java 8.


I think that this overview is balanced, I mean that is not verbose and not shallow.


I wrote too many words, let's check this guide https://leanpub.com/whatsnewinjava8/read.
Enjoy!

Related posts:

Sunday, April 13, 2014

New LuceneAppEngine 1.0, 1.1, 1.2 out!

After a while, I'm glad to announce the release of new versions of the LAE project.
I've been busy and this has delayed the release. But the waiting is now over.
What's new in LAE project? A lot!:
  • LAE new LAE official site https://code.google.com/p/luceneappengine;
  • LAE 1.2.x compatible with Lucene 4.7.x;
  • LAE 1.1.x compatible with Lucene 4.6.x;
  • LAE 1.0.x compatible with Lucene 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x;
  • Objectify updated to 4.1 (released to maven central);
  • Artifacts released into Maven Central (no longer need to add specific repository into your pom.xml)
  • Source code moved to GitHub (for easier contributions
  • LAE no longer compatible with Lucene 3.x, if you need it refer to the previous lucene-appengine site (discontinued).

What's new in LAE examples and in Live Demo:
  • Aligned LAE Examples to the latest new LAE 1.2.0 version;
  • Live Demo up and running with the latest new LAE 1.2.0 version.


Migration instructions any older lucene-appengine to the new luceneappengine artifacts:
  1. Remove any previous repository reference (lucene-appengine and objectify) from your pom.xml
  2. Remove any dependency of older lucene-appengine artifact and add the following to your pom.xml:
            
            
            
                    com.googlecode.luceneappengine
                    luceneappengine
                    1.2.0
            
            
                    org.apache.lucene
                    lucene-core
                    4.7.1
            
            
                    org.apache.lucene
                    lucene-analyzers-common
                    4.7.1
            
    ....
    
        
    refer to this page for detailed Lucene compatibility matrix;
  3. Change your WEB-INF/appengine-web.xml removing the "-", no more present in new LAE artifacts:
    
    ...
        
            
        
    ...
        
            ...
            
            
        
    
    
  4. Add to your WEB-INF/web.xml
            
            ...
                
                    ObjectifyFilter
                    com.googlecode.objectify.ObjectifyFilter
                
                
                    ObjectifyFilter
                    /*
                
            ...
            
        
    see objectify documentation for details and alternatives.


Enjoy!