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

 

 

Make Your Groovy Objects More Bullet-Proof

Groovy has the Immutable annotation which allows to create immutable classes, which is a prerequisite for creating value objects. Unfortunately, when a class has been annotated with Immutable it’s no longer possible to add your own constructor to verify if provided parameters are not null, which would make our value objects really bullet-proof. @groovy.transform.Immutable class Money { BigDecimal amount } ...

Read More »

Documentation is another deliverable and 7 other rules

We (the programmers) had documentation coming out our ears. Architecture documents, design documents, user guides, functional specifications, program specifications, and much much more. Most of the documentation was worse than useless because it gave the illusion that everything was recorded and anyone could learn (almost) anything any time. Some of the documentation was just out of date. The worst was ...

Read More »

noException in stream operation

This article is about some simple coding practice. Nothing really fancy. It is also discussed on StackOverflow. You just refactored a huge and complex loop to a more readable stream expression forgetting that some of the method calls throw exception. The method containing this code throws this exception, it is declared in the method head. You do not want to ...

Read More »

How Java 9 Incubator Modules Will Change the Future of Java

What are Incubator Modules, how will they work and why should we care? Find out more ways Project Jigsaw will change how we use Java. We’ve been waiting a long time for Project Jigsaw’s arrival. Now that it’s almost here, we have even more to look forward to with talented developers in the Java community proposing a new feature that ...

Read More »

What are JAX-RS Annotations? (Part 3)

java-interview-questions-answers

Overview of JAX-RS Annotations (Part 3) This is a three-part series looking at the annotation that is used to implement REST endpoints. In part two of JAX-RS annotations you learnt about: The @Path Annotation and @PathParam The @QueryParamter Annotation The @Produces Annotation The @Consumes Annotation In this part, you will learn more about JAX-RS annotations. Are you ready? let’s get started. ...

Read More »

IoT Project: Integrate Arduino with Yahoo! using Temboo – Updated

This IoT project explores how to integrate Arduino with Yahoo! Weather. Internet of things (IoT project) is the next big thing in the near feature. This technology is growing fast and there are many objects that begin talking each other using internet. Prototyping platforms like Arduino and Raspberry PI are supporting these innovations and help many developers to create interesting Internet ...

Read More »

Java Command-Line Interfaces (Part 13): JArgs

JArgs 1.0 has the distinction of being the subject of the 13th post of my series on parsing command line arguments in Java. JArgs is an open source (BSD license) library that has been primarily supported by different contributors including Steve Purcell and Ewan Mellor. It turns out that this can lead to some confusion when first using JArgs because ...

Read More »

What does the InternalResourceViewResolver do in Spring MVC?

java-interview-questions-answers

The InternalResourceViewResolver is an implementation of ViewResolver in Spring MVC framework which resolves logical view name e.g. "hello" to internal physical resources e.g. Servlet and JSP files e.g. jsp files placed under WEB-INF folder. It is a subclass of UrlBasedViewResolver, which uses "prefix" and "suffix" to convert a logical view name returned from Spring controller to map to actual, physical ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns