Home » Java (page 603)

Java

Oracle Propels JavaFX Forward by Enlisting Weaver and Chin

I put out an April Fools’ post yesterday about joining NASA to help with exploration of the big red planet. That post was not far from the truth… all the details about technologies developed by NASA were 100% accurate. Heck, even the fact that I quit my job was the truth! The only part that was not true was the ...

Read More »

Introduction to mutation testing with PIT and TestNG

Mutation testing is a technique which allows to discover which parts of our code are not covered by tests. It is similar to a code coverage, but mutation testing is not limited to the fact that a given line was executed during tests. The idea is to modify the production code (introduce mutations) which should change its behavior (produce different ...

Read More »

Java 7 – Project Coin Decompiled

Hi all, it’s time to start writing in 2012. As you may have seen already in other blogs, there are a few changes that can make your developer life a lot easier when programming in Java: diamond operator, Strings in Switch, try with resources, multi catch, etc. In this post (PART I) we are going to see some of the ...

Read More »

Java Heap Space – JRockit and IBM VM

This article will provide you with an overview of the JRockit Java Heap Space vs. the HotSpot VM. It will also provide you some background on Oracle future plans regarding JRockit & HotSpot. Oracle JRockit VM Java Heap: 2 different memory spaces  -The Java Heap (YoungGen and OldGen)  -The Native memory space (Classes pool, C-Heap, Threads…) Where is the PermGen ...

Read More »

How to use SPDY with Jetty

SPDY is a new protocol proposed by Google as a new protocol for the web. SPDY is compatible with HTTP but tries to reduce web page loading by using compression, mulitplexing and prioritization.To be more precise, the goals for speedy are: (http://dev.chromium.org/spdy/spdy-whitepaper).The SPDY project defines and implements an application-layer protocol for the web which greatly reduces latency. The high-level goals ...

Read More »

JVM: How to analyze Thread Dump

This article will teach you how to analyze a JVM Thread Dump and pinpoint the root cause of your problem(s). From my perspective, Thread Dump analysis is the most important skillset to master for any individual involved in Java EE production support. The amount of information that you can derive from Thread Dump snapshots is often much beyond than what ...

Read More »

Twitter4j and Esper: Tracking user sentiments on Twitter

For new comers to Complex Event Processing  and Twitter API, I hope this serves as a short tutorial and helps them get off the ground quickly. Managing big data and mining useful information from it is the hottest discussion topic in technology right now. Explosion of growth in semi-structured data flowing from social networks like Twitter, Facebook and Linkedin is ...

Read More »

Spring & JSF integration: MVC Nuts and Bolts

I have attempted to integrate JSF with Spring MVC in the past, and whilst my first attempt worked, it was far from ideal. This time around I decided to take a few key decisions to help focus my efforts: Drop backwards compatibility. There is just too much work involved with supporting JSF 1.2 and too much good stuff coming up ...

Read More »

Apache Mahout: Build a spam filter server

Something quite interesting has happened with Lucene. It started as a library, then its developers began adding new projects based on it. They developed another open source project that would add crawling features (among others features) to Lucene. Nutch is in fact a full featured web serach engine that anyone can use or modify. Inspired in some famous papers from ...

Read More »