As a test, I re-created the HRSystem application as described in the tutorial Developing Rich Web Applications With Oracle ADF. It's more than your basic Hello World application. For starters, the HR system application accesses a database. It also takes advantage of some sophisticated ADF features, such as graphs, page flows, auto-suggest, menu options to export to Excel and display in...
on Jan 23, 2013
In my last blog post, I explained how to add versioning capability to templates. Being able to create, view and restore different versions of templates is great, but sometimes it's not so easy to see what has actually changed. And we might not be as lucky as having comments about the change from the author, or they might be cryptic to the point of being useless.
So let's try and add the diff and...
on Jan 22, 2013
Many of the Oracle Java development tutorials that access a database do so against the Oracle HR sample schema. See, for example, Developing Rich Web Applications With Oracle ADF. There are several approaches you can take to getting the sample schema installed in the Oracle Cloud, such as Using SQL Developer or JDeveloper as demonstrated in Shay's blog. In my case, we're going to run the SQL...
on Jan 17, 2013
On January 2nd I received a New Year's gift, my "Welcome to Oracle Cloud" email. I had requested a 30-day free trial back on October 17, when the Oracle Cloud was first announced, and had basically forgotten all about it. If you haven't already, request a trial account for yourself:
The Oracle Cloud integrates very nicely with Eclipse, NetBeans and JDeveloper, where you can develop and...
on Jan 16, 2013
Servlet 3.1 is in Public Review now.
New features in Servlet 3.1 and changes since the EDR are listed below:
support Non Blocking IO ReadListener, WriteListener are added to handle the non-blocking IO. And the corresponding setters are added to ServletInputStream and ServletOutputStream respectively. Futhermore, ServletInputStream#isFinished, #isReady and ServletOutputStream#isReady are added....
on Jan 11, 2013
The recently completed Java EE 7 community survey indicates that most developers generally agree with the direction current Java EE 7 development is taken. While the survey was not scientific, many of the more than 1,100 participants took the time to submit well-thought-out comments in addition to making selections on the specific questions. These comoments generally back up the consensus that...
on Dec 27, 2012
Whenever the JSF runtime needs to perform a conversion it uses a Converter to do so. As explained in previous blog entries you have the ability to implement your own Converter. But does that mean you need to implement it for simple conversions? No, you do not, the default JSF converters come to the rescue!
<b>Java Datatype</b> ...
on Dec 26, 2012
The following blog articles are part of the JSF State Saving series
Introduction to JSF State Saving
The JSF State Saving APIs
The JSF StateHolder API
The JSF PartialStateHolder API
The StateHelper API
on Dec 19, 2012
I introduced myself to Konstantin Shvachko after hearing him speak in the Duke's Choice Awards BOF session at JavaOne 2012 (Hadoop was a 2012 award winner). Konstantin happened to be sitting right next to me in the audience, so before we exited the session, I asked him if we could arrange a chat before JavaOne ended.
You've probably heard of Hadoop, but a great many likely don't know much...
on Dec 16, 2012
To facilitate component developers a convenience API was introduced to make it easier to implement the state saving requirements. Access to this API is made available through UIComponent.getStateHelper().
The API defines the following methods:
void add(Serializable key, Object value) Object eval(Serializable key) Object eval(Serializable key, Object defaultValue) ...
on Dec 15, 2012
In last week was born the SouJavaLivre in Brazil, its main objective is disseminating and help to envolve the java free and the OpenJDK in country. For does that there are some sub-projects:
Support to Adopt OpenJDK : With list in Portuguese also some tutorial in Portuguese to help the people to adopt the JVM's reference, but helping and with integration...
on Jan 22, 2013
JDK Enhancement Proposals (JEPs) are a public record of proposals for updating and enhancing the OpenJDK. JEP 1, the JDK Enhancement-Proposal and Roadmap Process, created in 2011, describes the "process for collecting, reviewing, sorting, and recording the results of proposals for enhancements to the JDK and for related efforts, such as process and infrastructure improvements." If you're...
on Jan 20, 2013
A quick, hopefully readable analysis of this week's security exploit and fix over at my new blog
on Jan 15, 2013
After days work with my Raspberry PI, and a silly stuff happen here (for days i cannot install the .img to my SD Card, because the white button in my SD Extender in write protected mode).. Yes, now working well.. I tought I got the unworking Raspberry PI.. hahaha.
Now I am working with Java on ARM anyway.
But I got Zero JVM for ARM... (Still working to install in my wheezy environment, there is a...
on Jan 12, 2013
What is SPARQL?
by David Wood, Marsha Zaidman, Luke Ruth, and Michael Hausenblas, authors of Linked Data
SPARQL is the query language for RDF and Linked Data. SPARQL is to RDF data as the Structured Query Language (SQL) is to a relational database. SPARQL's name is nicely pronounceable and sounds interesting and fresh. SPARQL is interesting and fresh. This article, based on chapter 5 from...
on Dec 20, 2012
Six Ways You're Using Responsive Design Wrong
by Matthew Carver, author of The Responsive Web
Staying on the cutting edge of of web design can be tough, and oftentimes you only learn from making mistakes. Making mistakes is sometimes the best way to know that you are breaking new ground. In this article, Matthew Carver, the author of The Responsive Web, gives a few tips that his experience in...
on Dec 19, 2012
Java User Groups
by Chris Buckett, author of Dart in Action
Overloading happens when you provide a new implementation customized to your particular class, which allows you to overload the common operators such as > (greater than) and < (less than). In this article, based on chapter 8 of Dart in Action, author Chris Buckett explains how this function helps you create truly self-...
on Jan 11, 2013
Toward the end of JavaOne 2012, the Java.net editorial team spent an hour or so in the very windy Taylor Street Cafe (a closed street block with umbrellas, tables and chairs, coffee, etc.) with Oracle Ace Director Markus Eisele (@myfear). Markus is a technology consultant, architect, developer, author, and conference speaker. He's also active in communities including Java User Groups, the JBoss...
on Jan 7, 2013
Java Web Services and XML
The Belgian Java User Group (BeJUG) has decided to adopt JSR 356: Java API for WebSocket. In late November, Johan Vos posted a message to the Java.net Adopt-a-JSR Members mailing list stating some of the reasoning behind the group's decision to adopt this particular JSR:
Bejug plans to adopt JSR 356 - the Java API for WebSocket. We will create a dedicated page for this soon. This JSR currently...
on Jan 2, 2013
Some time ago, I had the impression that everywhere I stepped in the endless Java universe, I came across rather outdated technology. Things that were hyped years back, but for some reason had been left behind by mankind in the course of time. Disenchantedly roaming that programming desert I almost went depressive looking at all the rusty wrecks of former featured APIs laying around all along....
on Jan 1, 2013