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

 

 

Why I distrust wildcards and why we need them anyway

java-logo

In any programming language that combines subtype polymorphism (object orientation) with parametric polymorphism (generics), the question ofvariance arises. Suppose I have a list of strings, type List<String>. Can I pass that to a function which accepts List<Object>? Let’s start with this definition:             interface List<T> { void add(T element); Iterator<T> iterator(); ... } Broken covariance Intuitively, we might ...

Read More »

HawtIO on JBoss Wildfly 8.1

jboss-wildfly-logo

HawtIO gives awesome eye candy to your JVM based middleware. It’s a unifying console for applications that would otherwise have to build out their own crappy web console; and let’s be honest, they’re all built differently, differing technology, different UX, and all around a terrible way to try to manage middleware in QA/PROD environments… I can hear the operations folks ...

Read More »

Top 10 Very Very VERY Important Topics to Discuss

software-development-2-logo

Some things are just very very very VERY very important. Such as John Cleese. The same is true for Whitespace:                 Yes. 1080 Reddit Karma points (so urgently needed!) in only 23 hours. That’s several orders of magnitudes better than any of our – what we wrongfully thought to be – very deep ...

Read More »

Code is NOT poetry, it is just code

software-development-2-logo

One can read in the footer of WordPress.org: Code is Poetry. This is quite a bold statement and whoever believes in that slogan, he would be made to think that some kind of extraordinary portion of code must reside in the WordPress repositories. I took the time to look at a random “quote” of the WordPress poem, i.e. a single ...

Read More »

Testing code for excessively large inputs

java-logo

When writing unit tests we mostly focus on business correctness. We do our best to exercise happy path and all edge cases. We sometimes microbenchmark and measure throughput. But one aspect that is often missed is how our code behaves when the input is excessively large? We test how we handle normal input files, malformed files, empty files, missing files… ...

Read More »

My Exprience using ElasticSearch NodeJS and ExpressJS

javascript-logo

General requirement Part of a system I am currently working on is manipulating raw data. The data being sent from multiple client devices (Android/Iphone devices, etc..) ~ 100,000 requests per day. The raw data needs to be collected and ready for later use. It gotta be searchable and aggregated for calculations. I had little experience with Solr but this time ...

Read More »

AWS Speed Test: What are the Fastest EC2 and S3 Regions?

devops-logo

How do different AWS regions compare to one another? A benchmark of transferring data from EC2 instances to S3 buckets Many developers choose to host their data and code in the Amazon Web Services cloud, but when it comes to choosing a region it’s not that clear how to choose between the different options. To help shed some light on this, ...

Read More »

Using Oracle AQ in Java Won’t Get Any Easier Than This

software-development-2-logo

As recently announced in our newsletter, the upcoming jOOQ 3.5 will include an awesome new feature for those of you using the Oracle database: Native support for Oracle AQ! And your client code will be so easy to write, you’ll be putting those AQs all over your database immediately. How does it work? jOOQ rationale The biggest reason why many ...

Read More »

How to Load Resources from Classpath in Java with Example

java-logo

Classpath in Java is not only used to load .class files, but also can be used to load resources e.g. properties file, images, icons, thumbnails, or any binary content. Java provides API to read these resources as InputStream or URL. Suppose, you have a properties file inside config folder of your project, and you want to load that properties file, ...

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:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials