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

 

 

Open Source Java Libraries and Frameworks – Benefits and Dangers

Everyone in the Java world seems to use various open source libraries and frameworks… and why not, there are hundreds available covering virtually every type of programming problem you’re likely to come across in today’s programming landscape. This blog takes a quick look at the reasons for using open source artifacts and examines what could go wrong… The first reason ...

Read More »

Use java.util.prefs.Preferences instead of java.util.Properties

A typical installer for an application needs to ask the user a couple of options and some of these are configuration questions e.g. the port on which the application should run, how it should run etc. The application has to remember these options and use them in every run. Standard manner of solving such a problem is to write these ...

Read More »

GPGPU Java Programming

In one of our previous posts we discussed the General Processing on the Graphics Processing Unit (GPGPU) concepts and architecture. For C/C++ programmers this is all great but for Java Programmers writing C/C++ instead of Java is to say the least an inconvenience. So what tools are out there for Java programmers? Before we dive into coding some background. There are ...

Read More »

Java Micro-Benchmarking: How to write correct benchmarks

Several months ago, I wrote an article to compare the performances of short indexes for loops. I asked myself of the performances using shorts as loop indexes for loop with few iterations. In Java language, all the operations on integers are made in int. Thus, if we use a short as loop index, at each iterations, a typecasting will be ...

Read More »

Scala Tutorial – Tuples, Lists, methods on Lists and Strings

Preface This is the second in a planned series of tutorials on programming in Scala for first-time programmers, with specific reference to my Fall 2011 course Introduction to Computational Linguistics. You can see the other tutorials here on this blog; they are also listed on the course’s links page. This tutorial focuses on Tuples and Lists, which are two constructs ...

Read More »

JBoss Modules Example – Modular Web Application

Recently I read Why there is no standard for developing real modular web applications? by Patroklos Papapetrou (also featured in Java Code Geeks). Inspired by this article I decided to check JBoss Modules in action. This post describes my experiment step by step. I’ve started with the following goal in mind – to create a web application using some service ...

Read More »

Scala Tutorial – Scala REPL, expressions, variables, basic types, simple functions, saving and running programs, comments

Preface The is the first of several Scala tutorials I’m creating for my Fall 2011 graduate Introduction to Computational Linguistics course at UT Austin, loosely based on similar tutorials that Katrin Erk created for teaching Python in a similar course. These tutorials assume no previous programming background, an assumption which is unfortunately still quite rare in the help-folks-learn-Scala universe, and ...

Read More »

Best Of The Week – 2011 – W39

Hello guys, Time for the “Best Of The Week” links for the week that just passed. Here are some links that drew JavaCodeGeeks attention: * Big Iron Returns with BigMemory: Greg Luck (Founder and CTO of Ehcache) offers some thoughts on the Java Heap/GC Problem, the benefits of Vertical Scale and how BigMemory can provide a tiered memory solution. * ...

Read More »