Posts Tagged: Oracle

Common mistake when dealing with Reader in Java

Posted by & filed under , .

I’ve encountered this one a few times and came across again recently and thought it relevant to deserve its own post, so here it is. If you have done any I/O in Java you likely came across the Reader class, unlike the InputStream class(es) which deal with bytes, the Reader makes the transition into reading […]

java code

Java Dependency Injection and a Useless Annotation

Posted by & filed under , .

I’ve stepped into the Guice territory rather recently — coming from the Spring framework side of things — and I guess I had so far a similar love/hate experience as with Spring. I rely mostly on the javax.annotation standards anyway so to a certain degree whether it’s Spring or Guice I guess doesn’t make that much […]

Why You Should Use Default Methods in Java 8 Interfaces

Posted by & filed under , .

With Java 8, Oracle introduced the concept of “default methods” in interfaces (and if you really haven’t heard of this — wtf?? — you can read more here about it: This argue some is a step towards multiple inheritance and as such should be banished from the oh, so pure! Java language. Others point out […]

Using OS-level Signals in Java for Monitoring

Posted by & filed under , .

For those of you familiar to monitoring Java applications, I’m sure the first thing that springs to mind is JMX. And I agree, that is a nice framework to provide various app insights for tracking and monitoring. The trouble with JMX though, if you haven’t got a system in place already to collect this data […]

First Steps with Jolokia

Posted by & filed under , , .

In a (rather old) previous post I have talked about using Sun (ahem Oracle!) JMX/HTML bridge to manage and monitor your applications. As it happens, that agent has been discontinued and due to various licensing issues (I’m guessing) one can’t even download it normally from a maven repo, and has to rely on all sorts […]

network pc monitors

(Small) Bug with Oracle’s HTML/JMX Interface

Posted by & filed under , , .

I posted before an article about how to use Oracle’s (well, Sun’s, since it was started really before the Oracle acquisition) HTML/JMX agent to monitor your apps via JMX here. For those of you who went ahead and decided to use that interface, you probably noticed a small (but rather annoying bug) in that component […]

Sun To Be Acquired by Oracle

Posted by & filed under , , .

Wow — that’s some news that I just read about today: — Sun Microsystems is to be acquired by Oracle! Prepare for new model of licensing for Java — starting with Personal edition at £500 and ending up with Enterprise that will only run on Oracle 10g and cost around £500k! All you EJB […]