Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

 

Spring Data Solr Tutorial: Configuration

apache-solr-logo

In the previous part of my Spring Data Solr tutorial, we learned that Solr provides a REST-like HTTP API which can be used to add information to Solr index and execute queries against indexed data. The problem is that running a separate Solr instance in a development environment is a bit cumbersome. However, not all hope is lost because Solr ...

Read More »

How could Scala do a merge sort?

scala-logo

Merge sort is a classical “divide and conquer” sorting algorithm. You should have to never write one because you’d be silly to do that when a standard library class already will already do it for you. But, it is useful to demonstrate a few characteristics of programming techniques in Scala. Firstly a quick recap on the merge sort. It is ...

Read More »

Running Solr with Maven

apache-solr-logo

Running Solr with Maven Solr is an open source search server which is built by using the indexing and search capabilities of Lucene Core, and it can be used for implementing scalable search engines with almost any programming language. Even though Solr has many advantages, setting up a a development environment is not one of them. This blog entry describes ...

Read More »

Secure Web Application in Java EE6 using LDAP

java-interview-questions-answers

In our previous article we have explained on how to protect the data while it is in transit through Transport Layer Security (TLS)/Secured Socket Layer (SSL). Now let us try to understand how to apply security mechanism for a JEE 6 based web application using LDAP server for authentication. Objective: •    Configure a LDAP realm in the JEE Application Server ...

Read More »

Five advanced Java Synchronizers you probably don’t know

java-logo

Besides the common synchronize which is based in the lock bit that every Java object has, you have more sophisticated synchronizers in java, such as: Semaphore – Use the concept of a permit to indicate a max number of allowed threads in a place. When you use the value 1, the behavior its similar to synchronize, also called binary semaphore. There is however a big difference ...

Read More »

Grails AJAX Examples

grails-logo

Early on, newcomers to Grails encounter a lack of working samples accompanying the framework.  Good places for examples and documentation include the Grails documentation and bloggers. Ajax is one of the features with built-in support by Grails.   Once people get their “head around” the Grails basics, they generally want to move onto more interesting features like Ajax.  This usually ...

Read More »

JUnit and Mockito cooperation

mockito-logo

This time I want to make an overview of testing framework Mockito. Definitely this is one of the most popular tools for the testing of java code. I have already made the overview of the Mockito’s competitor – EasyMock. This post will be based on the sample application from the post about EasyMock. I mean classes which represent coffee machine ...

Read More »

Some Java based AI Frameworks: Encog, JavaML, Weka

java-logo

While working through I am working through Programming Collection Intelligence I found myself sending a lot of time translating the Python code to java, being typically impatient at my slow progress, I went searching for alternatives. I found 3: Encog – Heaton Research JavaML Weka This is by no means an in-depth investigation, I simply downloaded what the relevant projects had ...

Read More »

ElasticSearch on EC2 in Less Than 60 Seconds

java-interview-questions-answers

Curious to see what all the ElasticSearch hubbub is about? Wanna see it in action without a lot of elbow grease? Then look no further, friend – in less than 60 seconds, I’ll show you how to install ElasticSearch on an AWS AMI. You’ll first need an AWS account along with an SSH key pair. If you don’t already have ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close