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

 

Java EE7 and Maven project for newbies – part 1 – a simple maven project structure – the parent pom

apache-maven-logo

Why ? Many times, I am trying to resolve several basic or complex Maven /  Java EE  project structure issues, on my day work. In order to provide the solutions,  I often end up   experimenting with the project structure, test my deployment on different application servers and fine grain my configuration. Maven can have a steep learning curve for ...

Read More »

Tracking Exceptions – Part 5 – Scheduling With Spring

spring-interview-questions-answers

It seems that I’m finally getting close to the end of this series of blogs on Error Tracking using Spring and for those who haven’t read any blogs in the series I’m writing a simple, but almost industrial strength, Spring application that scans for exceptions in log files and then generates a report. From the first blog in the series, ...

Read More »

Working with the Array Data Type in a Table

java-interview-questions-answers

In this post I would like to follow up on my previous article about Oracle collection data types and I am going to focus on working with oracle.jbo.domain.Array attributes in af:table component. So, in my database I have the following SQL type:           create or replace type varchar2_array_type as table of varchar2(200)   And I’ve got the ...

Read More »

How to Convert Byte Array to InputStream and OutputStream in Java

java-logo

Are you stuck with your coding because you have a byte array and next method in chain needs an InputStream? don’t worry Java has solution for that, You can use ByteArrayInputStream to convert byte array to InputStream in Java. This class takes a byte array as source and since it’s a sub-class of InputStream, you can easily pass this to ...

Read More »

Flexy Pool, reactive connection pooling

software-development-2-logo

Introduction When I started working on enterprise projects we were using J2EE and the pooling data source was provided by the application server. Scaling up meant buying more powerful hardware to support the increasing request demand. The vertical scaling meant that for supporting more requests we would have to increase the connection pool size accordingly. Horizontal scaling Our recent architectures ...

Read More »

Introducing JCG Academy – Get schooled by the Java Code Geeks

jcg-logo

Dear fellow geeks, it is with great honour that we announce the launch of JCG Academy. JCG Academy is a subscription based site that will work complementary with our existing main site (which of course remains free). It is appealing to serious developers that wish to achieve top notch technical education. JCG Academy hosts a number of courses on the ...

Read More »

Using Http Session with Spring based web applications

spring-interview-questions-answers

There are multiple ways to get hold of and use an Http session with a Spring based web application. This is a summarization based on an experience with a recent project. Approach 1 Just inject in HttpSession where it is required.         @Service public class ShoppingCartService { @Autowired private HttpSession httpSession; ... } Though surprising, since the ...

Read More »

Playing with Java 8 – Lambdas and Concurrency

java-logo

So Java 8 was released a while back, with a ton of features and changes. All us Java zealots have been waiting for this for ages, all the way back to from when they originally announced all the great features that will be in Java 7, which ended up being pulled. I have just recently had the time to actually ...

Read More »

Storm event processor – GC log file per worker

java-interview-questions-answers

In the last three months, I am working with a new team building a product for Big Data analytics on Telecom domain. Storm event processor is one of the main frameworks we use and it is really great. You can read more details on its official documentation (which has been improved). Storm uses Workers to do your job, where each ...

Read More »

Development “Methodologies”

software-development-2-logo

Below are several development “methodologies” that are popular and even industry-standard: Hype-Driven Development – you are either a startup, or you are given the freedom to choose whatever technology you like for your new cool-cutting-edge-distrupting-innovative-did-I-say-cool project. What technologies to use? The recently overhyped ones, of course. Let’s do it in Node.js, and you have to make it reactive, and do ...

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