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 ....

 

Exception Handling for REST with Spring 3.2

spring-interview-questions-answers

1. Overview This article will focus on how to implement Exception Handling with Spring for a REST API. We’ll look at the older solutions available before Spring 3.2 and then at the new Spring 3.2 support. The main goal of this article is to show how to best map Exceptions in the application to HTTP Status Codes. Which status codes ...

Read More »

Increased compile-time safety with phantom types

java-logo

Introduction Using phantom types is a very simple technique that can be used to increase the compile-time safety of code. There are a lot of potential use cases with different levels of complexity, but even a very lightweight usage of phantom types can significantly increase the compile-time safety. A phantom type is simply a parameterized type with an unused type ...

Read More »

Internationalization vs Localization (i18n vs l10n)

software-development-2-logo

I always had a trouble how to explain this subject to other people. That’s why I’ve decided to collect the main definitions (and explanations) of internationalization and localization in one place. W3C explain this concept pretty well: Internationalization is the design and development of a product, application or document content that enables easy localization for target audiences that vary in ...

Read More »

JQuery DataTables And Java Integration

java-logo

Jquery DataTables is a open source plugin for creating tables in browser. It has many features like sorting,server side processing, JQUERY UI theme rolling. The download link for this plugin: http://www.datatables.net/download/ In this demo we have shown integration of data table with java.The Data table will load the data by making an Ajax call to load all the data. The ...

Read More »

Creating DataTable From RSS Feed And YQL

java-interview-questions-answers

                    Yahoo Query Language(YQL ) is a query language like SQL. Using YQL we can query, filter, and join data across Web services. YQL can also read RSS feed too. The Response can be JSON or XML. Yahoo provides a YQL console for debugging , testing and diagnostics the YQL statements. ...

Read More »

Don’t rely on unit tests alone

junit-logo

When you are building a complex system, barely testing components in isolation is not enough. It’s crucial, but not enough. Imagine a car factory that manufactures and imports highest quality parts, but after assembling the vehicle never starts the engine. If your test case suite consists barely of unit tests, you can never be sure that the system as a ...

Read More »

Using twitter4j with Scala to access streaming tweets

scala-logo

Introduction My previous post provided a walk-through for using the Twitter streaming API from the command line, but tweets can be more flexibly obtained and processed using an API for accessing Twitter using your programming language of choice. In this tutorial, I walk-through basic setup and some simple uses of the twitter4j library with Scala. Much of what I show ...

Read More »

Spring Bean names

spring-interview-questions-answers

Spring bean names are straightforward, except for cases where names are not explicitly specified. To start with, Spring bean names for an xml based bean definition is specified this way:                 <bean name='sampleService1' class='mvcsample.beanname.SampleService'> <constructor-arg> <bean class='mvcsample.beanname.SampleDao'></bean> </constructor-arg> </bean> For a Java @Configuration based bean definition, the method name of the @Bean annotated ...

Read More »

AndEngine for Android Game Development Cookbook Giveaway

jcg-logo

Fellow geeks, We are pleased to announce that we have once again teamed up with Packt Publishing and we are organizing another Android book giveaway just for you! As you have noticed, we love Android programming and of course Android game development here at Java Code Geeks. So, we are thrilled to have some Andengine books to give you! Andengine ...

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