Skip to content

Java

How to set NLS for SQL Developer

By Franck Pachot . I’m using Oracle SQL Developer 4.1 Early Adopter for a while and I like it. That version comes with a command line (in beta) which goal is to be fully compatible with sqlplus but running in java, and having a lot more features. Becuse it’s connecting with thin java driver by default, it doesn’t use NLS_LANG.… 

Exception from executeScript in Alfresco Share

I didn’t have the opportunity to post a new entry about Alfresco in this blog for a long time now, so I will fix this! In this blog entry, I will talk about a bug I encountered a few months ago. I resolved it but I, so far, not had the time to share my knowledge with you. I. Description… 

Java get Class names from package String in classpath

As a Java developer you probably used to know about reflexion. However, in order to keep your software architecture flexible, some functionalities are sometimes not provided out of the box by the JVM. In my particular case, I needed to find out every Class and Sub-Classes inside a package, thus reparteed within several Jars. Internet has lots of solution, but… 

Oracle EM agent 12c thread leak on RAC

By Franck Pachot . In a previous post about nproc limit, I wrote that I had to investigate the nproc limit with the number of threads because my Oracle 12c EM agent was having thousands of threads. This post is a short feedback about this issue and the way I have found the root cause. It concerns the enterprise manager… 

Java Mission Control 5.2 (7u40) deserves your attention

Recently, some new versions of java were made available. Most people think Java updates are boring and only security-oriented. But one of the last updates (7u40) includes a feature which deserves attention. I mean Java Mission Control 5.2. Hotspot incoming If you know the Oracle JRockit JVM a little bit, you might have heard about JMC, which was called JRockit… 

Understanding JVM Java memory leaks

Lots of people think that Java is free of memory management as the JVM uses a Garbage Collector. The goal of this collector is to free objects that are no longer used in the program without the developer being forced to declare that the object can be collected. Everything is automatic. It’s really helpful and it avoids wasting time in… 

Oracle Java EE 7 – an overview

After announcing the availability of Oracle Java Enterprise Edition 7 (Java EE 7 or JEE7), Oracle organized a web event for the launch, covering topics such as the new features and the java community as well as showing some examples of the new APIs. This blog post summarizes some key points of this event. The show was driven by the… 

A comparison of Java Virtual Machines: Hotspot JVM vs JRockit JVM

You might know that there are many JVMs available today, but do you know the difference between them? In this blog I will not state all JVMs as it will take too much time 🙂 But I will talk about Hotspot and JRockit, because they are pretty used and because they will eventually merge in Java 8! That’s what they… 

Ceylon: a new language inspired from Java

On 26 February I went to the University of Bern with my colleague Arnaud Berbier to follow an introductory conference on Ceylon, a new language inspired from Java. Unfortunately not presented by Gavin King, the leading developer of Ceylon at Red Hat, the project still was well introduced by Stéphane Epardaud. He is a long-time open source user and contributor,…