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 ....
I agree to the Terms and Privacy Policy

Java Memory Model – Quick overview and things to notice

In computing, a Memory model describes how threads interact through memory, or more generally specify what assumptions the compiler is allowed to make when generating code for segmented memory or paged memory platforms. It essentially describes, given a program and an execution trace of that program, whether the execution trace is a legal execution of the program. The Java memory ...

Read More »

Android XML Binding with Simple Framework Tutorial

XML is still important in the area of web services even though REST has gained significant attention lately. Exposed APIs via web services is the main reason I have to manipulate XML content in my Android applications. For that reason I need to parse XML documents even though it is a tedious procedure. In the past, I showed you how ...

Read More »

Hibernate mapped collections performance problems

First things first, this article was inspired after Burt Beckwith‘s presentation about Advanced GORM – Performance, Customization and Monitoring at SpringOne 2GX on Jan 27, 2011. In short, Burt Beckwith discusses potential performance problems using mapped collections and Hibernate 2nd-level cache in GORM, along with strategies for avoiding such performance penalties. Nevertheless the performance issues regarding mapped collections that Burt ...

Read More »

Android Animations – Quick Guide

A quick guide in the world of animations in Android from Chandan, one of our JCG partners. (NOTE: The original post has been slightly edited to improve readability) Setting animations to a layout programmatically is described below. Here we go: Create an XML file named for example “bottom_out.xml” and place it in a folder called “anim” inside the “res” folder. ...

Read More »

Best Of The Week – 2011 – W05

Hello all, I would like to introduce a new JavaCodeGeeks idea with this post. Every Sunday we are going to provide a list of useful articles and tutorials from the week that passed. They can definitely serve your Sunday morning reading over coffee! Here are some links that drew JavaCodeGeeks’ attention during the past week: * Visualizing Garbage Collection in ...

Read More »

Android JSON Parsing with Gson Tutorial

Apart from XML, JSON is a very common format used in API responses. Its simplicity has helped to gain quite the adoption in favor of the more verbose XML. Additionally, JSON can easily be combined with REST producing clear and easy to use APIs. Android includes support for JSON in its SDK as someone can find in the JSON package ...

Read More »

Cajo, the easiest way to accomplish distributed computing in Java

java-interview-questions-answers

Derived from the introductory section of Jonas Boner’s article “Distributed Computing Made Easy” posted on TheServerSide.com on May 1st 2006 : “Distributed computing is becoming increasingly important in the world of enterprise application development. Today, developers continuously need to address questions like: How do you enhance scalability by scaling the application beyond a single node? How can you guarantee high-availability, ...

Read More »

Aspect Oriented Programming with Spring AOP

spring-interview-questions-answers

Aspect Oriented Programming (AOP) refers to the programming paradigm which isolates secondary or supporting functions from the main program’s business logic. AOP is a promising technology for separating crosscutting concerns, something usually hard to do in object-oriented programming. The application’s modularity is increased in that way and its maintenance becomes significantly easier. The most prominent example of a crosscutting concern ...

Read More »

Programming Android Online Book

Yesterday I stumbled upon an Android related online book named “Programming Android“. This book is published online while being under development and uses the Open Feedback Publishing System (OFPS). With that system, early readers can provide comments next to any paragraph while reading. It is essentially a nice way to provide direct feedback. I just skimmed through the book, but ...

Read More »