Runtime type information (RTTI) refers to the correct identification of the type of your objects at run time. When you write code, it is generally desirable to do so in a way that takes advantage of OOP features like encapsulation and inheritance to make your program easily extensible, by for instance, as much as possible manipulating references to base classes and letting polymorphism work for...
on Apr 21, 2014
Java User Groups
Inaugural JavaLand in Germany
It took trains, planes, and automobiles to get there. I had heard Germany ran some great conferences, but JavaLand was promised to be outstanding. Kevin already did an interview with one of the organizers, Markus Eisele, about why JavaLand is different. (https://weblogs.java.net/blog/editor/archive/2014/03/01/java-conferences...) But, I got to see first-hand if they...
on Apr 20, 2014
This entry lists Ed’s picks for the brand new JavaLand conference. Many of the talks are in German, but there is enough English to make it worth your time. It looks like there is a lot more English content in day two. Also, the conference was endorsed by java.net editor Kevin Farnham in his blog post from Saturday, 1 March 2014.
Monday 25 March 2014
Welcome and Keynote, Fried Saacke,...
on Mar 3, 2014
In late January I considered what I'd do if I had several free months to wander Europe. A look at the Lanyard Java Conferences calendar gave me a great idea: I could wander through Europe from Java conference to Java conference, while also enjoying everything in between! My imaginary trip started in Stockholm, Sweden, with Jfokus 2014. I'm now traveling 1400 km southwest, to Brühl, Germany, for...
on Mar 1, 2014
Recently I was wandering the aisles of a Barnes and Noble bookstore (the last big chain bookstore in the United States), and I was surprised to see a selection of 6 or 7 books about the Raspberry Pi! Perhaps this shouldn't have surprised me, but it did. Just now, I went to the Barnes and Noble web site and searched for "Raspberry Pi" books, and 70 books were returned, all of them genuinely about...
on Apr 3, 2014
While parts of the cloud IT that are still being hyped are changing rapidly, the whole segment is not past the hype yet. The cloud report  that Gartner published 9 months ago still holds true today.
Reports of disillusioned customers of such solutions  are a clear sign that the hype might have reached its peak for most parts of cloud offerings, though. And while many articles discuss the...
on Mar 30, 2014
I presented this demo at DevNexus 2014 in Atlanta today. It is Reza's demo with just a pinch more Java EE thrown in. This blog entry covers how to fully internationalize an AngularJS application with just a pinch of Java EE.
Reza hosts the code for this demo on his github. The demo has a chat client and a todo list. This blog entry only looks at the chat client, and assumes basic familiarity...
on Feb 25, 2014
Java Web Services and XML
The most recently completed Java.net poll, which was submitted by Walter Nyland, asked the community about which technologies represent the future of the view layer in Java EE apps. A total of 245 votes were cast in the Java 8 poll, and two comments were posted. The exact question and results were:
What's the future of the view layer in Java EE applications?
26% (64 votes) - Java EE...
on Mar 26, 2014
It actually happened a few weeks ago already, but I simply didn't find the time to spread the word earlier -- just too much other stuff to do (see end of posting), so I tell you now: WebDAV Support for JAX-RS 1.2 is out!
What has happened since 1.1?
First of all, 1.2 is a complete internal overhaul, which not only finally is covered with unit tests rather completely (which revealed several...
on Mar 1, 2014
Hurray Java 8 is out! See for more information at http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html
on Mar 25, 2014
Nimbus is a cross-platform look and feel introduced in the Java SE 6 Update 10 (6u10) release. Based on Synth Look and Feel you can modify global properties. Properties can be simple (for example colors or dimensions) or more complex (for example Painters).
If you want to create you own painter you will probably extends AbstractRegionPainter which is used to paint a certain Region (a region...
on Mar 13, 2014
In this last part, we will define styles for our frame. These styles will be shared by our border and our title pane to give to our frame decoration a look similar to the nimbus internal frame.
There is some interesting code in the class NimbusLookAndFeel, unfortunately it's private. The inner class NimbusProperty will look up for standard key names. The class is usually used to easily populate...
on Mar 2, 2014
Nimbus is a cross-platform look and feel introduced in the Java SE 6 Update 10 (6u10) release. It's not a perfect look and feel for several reasons but it has great potential. One of these reasons is the lack of window decorations support (Bug JDK-6675399).
You can check the window decorations support of a look and feel by simply call the method getSupportsWindowDecorations on it....
on Feb 26, 2014
The official launch of Java 8 is now less than a week away. The Java 8 Launch Webcast will take place at 10:00 AM Pacific Standard Time (PST) on Tuesday, March 25. The launch event will include a welcome and overview by Mark Reinhold, a panel discussion on Java SE 8 new features and enhancements, a chat with Twitter CIO Adam Messinger, discussion by Java community leaders, a Java ME 8 overview,...
on Mar 18, 2014
In this post, I try to give a reasonable account of Java's error handling system being as it is that the handling of errors is a concern that any reasonable programming language must find some way to contend with. Java's error handling methodology is based on an idea of exceptions.
An exception is a condition that prevents your program from further executing along the current path. It signifies...
on Mar 5, 2014
If you have followed previous posts, you might begin to perceive a pattern in the semantics of the Java programming language. If not, it might help to go over previous posts as I tend to return to expand on previous topics or add clearer examples as time permits. Inner classes might at first seem like a whole new language to the uninitiated but they are a nice feature in Java that allow you to...
on Feb 20, 2014
In the most recently completed Java.net poll, the community selected Jenkins as its preferred Continuous Integration (CI) server. This was the third in a series of Java.net polls related to Java tools. A total of 260 votes were cast in the poll.
The exact question and results were:
Which Continuous Integration (CI) server do you prefer?
7% (17 votes) - Bamboo
1% (2 votes) - Continuum
on Mar 9, 2014
The past three Java.net polls have been related to Java tools. We've run two polls related to Integrated Development Environments (IDEs), and our current poll asks Which Continuous Integration (CI) server do you prefer? That poll will be ending on Friday. After that, we'll run one more poll related to Java tools. What class of tool would you like that poll to be about? This is your last chance (...
on Mar 5, 2014
In the last-completed Java.net poll, the Java/JVM developer community indicated that, despite rumors that "the desktop" is disappearing into "the cloud," when it comes to hammering out code they prefer to work using a desktop-based Integrated Development Environment (IDE), and hope that the mid-term future evolution of IDEs is desktop-centric. The desktop may be becoming more specialized, used...
on Feb 23, 2014
You may notice that our current Java.net poll and our last Java.net poll are both related to Java IDEs. The current poll ends this Friday, February 21, and I'd like the next several polls to remain on the topic of Java tools. So, here's your opportunity to help!
We've already covered IDEs, so now it's time to move into different categories of tools. For example, there could be a poll about...
on Feb 18, 2014