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
Java User Groups
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
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
Java Web Services and XML
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
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
I've been blessed with the opportunity to speak at DevNexus 2014. This is my first time speaking at a DevNexus event and I'm excited at the opportunity to meet and learn from many top-name speakers currently practicing today. As I planned out my time here are the sessions I've added to my calendar.
Day 1: Monday 24 February
09:00 Welcome and Sven Peters Keynote, Hall A
From the buzz around...
on Feb 18, 2014
This blog entry describes an unsupported process for overwriting the version of Mojarra that comes bundled in WLS 12.1.2 and beyond with an arbitrary version (from groupId org.glassfish artifactId javax.faces). Sometimes it is necessary to upgrade the version of Mojarra that comes bundled in WebLogic Server with a different version, either newer or older. One such usage: the Mojarra team at...
on Feb 14, 2014
In every JSF application view state is kept either on the client or on the server. How do you make sure this state is smaller?
The 'com.sun.faces.compressViewState' comes in handy here. It makes it so that the Mojarra runtime will Gzip compress the view state. Note the context-param is set by default to true, so only if you want to turn it off you will need to do something.
In your web.xml file...
on Feb 12, 2014
Today we are covering what the "com.sun.faces.sendPoweredByHeader" context-param does.
Historically the JSF runtime would send the "X-Powered-By" servlet response header that would tell what the backing engine was (for Mojarra 2.2.x it would show "JSF/2.2"). To make it possible to turn this on or off this context-param was introduced. From a security perspective it would be smart to keep it off...
on Feb 11, 2014
The "com.sun.faces.validateXml" context-param makes it possible for you to have the Mojarra JSF runtime verify your configuration files against the faces-config.xml schema. If an error is found you will immediately be made aware as deployment will fail until you fix the problem.
Note when you are ready to go to production the "com.sun.faces.validateXml" context-param should be set to "false".
on Feb 7, 2014
By convention in Faces Flows the page that is the start node has the same name as the flow, but is it possible to change that? It sure is, read on!
We'll dive into the Faces configuration file that will make this work.
<faces-config version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/javaee"...
on Feb 6, 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 normal course of solving a general programming problem, it is almost certain that you will become compelled to create, and identify useful ways by which to hold any number of objects within your program. In Java, you are normally inclined toward the array as the natural choice for holding a group of primitives, but this has the obvious limitation of being of a fixed size, whereas, under...
on Feb 12, 2014
Global Education and Learning
There is so much potential in extracting, processing and synthesizing the the multi faceted, realtime data that can be mined from social sites.
Mining the Social Web by Mathew A. Rusell covers these topics scrupulously. Here is my detailed review of the book
Chapter 1: Mining Twitter, Exploring Trending topics, Discovering what users are talking about
This is an informative chapter which...
on Feb 17, 2014
What is Java?
Java is an high-level programming language created by James Gosling from Sun Microsystems on 1991, released on 1995. Nowadays, Oracle Corporation has the steermanship for Java. Its license is GNU General Public License (GPL).
Is executed on more than 850 millions of devices on all over the world. Java applications are compiled to bytecode that can run on any Java Virtual Machine (...
on Jan 30, 2014
The new version of Easy-Cassandra, the version 2.0.1, have launched, some news are:
Refactoring constructor on Session Factory
QueryBuilder (InsertBuilder, UpdateBuilder, DeleteBuilder, SelectBuilder and BatchBuilder)
Go faster both write and read
More supports to Spring-Data
As have an easier the configuration a Session Factory, it was made the ClustInformation, this...
on Feb 13, 2014