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

 

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 »

Jibx Jersey2 Integration

java-interview-questions-answers

Jersey2 provides inbuilt support for Jackson and JAXB. But Jibx is not supported by default. To use Jibx in conjunction with Jersey2, we are taking the XML input as a stream and after receiving the request, we are parsing it using Jibx. But there is actually a better way of achieving the same using MessageBodyReader and MessageBodyWriter APIs. Here is ...

Read More »

Knowing the bits

software-development-2-logo

We use complex systems. My mother once said that there could be little leprechauns behind the TV screen redrawing the screen 50 times a second she could not care. (At least she new that the TV in Europe had 50 (half) screens every second.) Most of the people do not care about the electronics and the softwar around us. The ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.