Some Wicket goodies for my JavaOne talk.
If you go to my JavaOne 2011 talk "Productively Fun Web Development with Apache Wicket and Java EE 6" you will see a demo where Bean Validation is used in conjunction with Apache Wicket.
In order to accomplish that, all that you need is a single Java class that bridges the Wicket validation framework and the JSR 303 validation engine.
on Oct 5, 2011
I had originally planned to write a blog post per day during JavaOne 2010. That being my first JavaOne I was of course completely unprepared for the hectic routine of sessions, meetings, parties and more sessions. I wrote blog posts in the first two days and disappeared ever since.
I am alive, well, and back to Brazil. I had a terrific time in San Francisco where I got to meet a lot of...
on Oct 7, 2010
It was my first day at JavaOne 2010 today. And what a day!
The kick off for me was the Glassfish community event. The room was packed with Glassfish users and developers. It was nice meeting in person people I have been reading and interacting with online for such a long time.
There was a presentation on the Glassfish product roadmap and a break out for discussion of many Glassfish-related topics...
on Sep 20, 2010
Heroku, the PaaS cloud owned by salesforce.com, announced a few days ago support for the Java language. In the process they declared Java EE to be irrelevant in the cloud world. Is that so?
I try to embrace anything that helps me develop, test or deploy code faster. Cloud Computing has the potential to bring radical improvements to all these areas, hence I have been following its...
on Aug 29, 2011
Next week I will be presenting a free webinar about Java EE 6 and Glassfish 3.1.
The title can be translated to English as: "Java EE 6 and Glassfish 3.1: Simplicity + Ligthness = Productivity". The reason the title is in Portuguese is because this will be a webinar targeted at Brazilian Java EE and Glassfish users - as far as I know it will be the first webinar in Portuguese on these...
on Jun 14, 2011
I have been a Java developer since the 1.02 days. It has been a long and fun ride, and in spite of what people said over the years, the Java language and Java platform didn't die and are in fact stronger than ever. But sometimes I wish it would evolve faster.
Java EE has come a long way, to the point Java EE 6 can be considered a lightweight development platform. When Glassfish v3 was...
on Aug 23, 2010
CDI (Contexts and Dependency Injection for the Java EE platform) is defined in JSR-299 and enhances support for dependency injection in Java EE 6. The more I use CDI the more I like it...However, I couldn't find a simple example of how to configure your application with CDI by reading configuration attributes from a file. Here is an example of how it can be done:
Specifying injection points...
on May 18, 2010
In this post I will share my recent findings about Container Dependency Injection in Java EE 6, in particular how to decouple the processing threads of event producers and event consumers.
Java EE 6 introduces a very nice dependency injection framework (CDI) that has superb support for the Observer pattern in the form of event broadcasting.
An Event in CDI is just a regular POJO:
on Apr 14, 2010
Apache maven is supposed to solve the classpath hell; or so I´ve been told...
Started using maven 2 in a multi-pom project. One of the requirements is to be able to deploy EAR files to Weblogic.
After looking around it seemed like the most stable way of doing this with maven and Weblogic 10.x is to use the Weblogic Ant task. Not ideal since we are migrating away from Ant, but still okay.
on Dec 14, 2010
Automated functional tests are key to ensure the quality of large applications in incremental development processes. In contrast with unit tests where each test is supposed to be independent from the outside environment, functional tests are really integration tests: in order for them to run properly the process must start from a well known state.
The majority of enterprise applications use a...
on Oct 14, 2010
A big part of my current company work is related to managing infrastructure hosted in cloud computing environments. I have recently released an open source project (Rain Toolkit) to help ease the management of Amazon EC2 objects. It is a set of command-line tools for performing day-to-day administration tasks.
Since Rain Toolkit deals with the management of EC2 resources, it seemed only...
on Mar 16, 2010
One of the not-so-great things about developing Java web applications is the fact that, after a few redeployments, sooner or later the web container JVM needs to be restarted due to Out Of Memory errors. This has been true in every combination of development environment and web server I have used so far, and until last week Netbeans 6.8 + Glassfish 3.0.1 was no exception.
The cause of Out Of...
on Jun 10, 2010
Have you ever got into the situation where you feel like you need to stretch the limits of HTTP form processing?
Sometimes when developing complex web applications you end up with a form that has just too many features on it. This situation is particularly common when the application uses Ajax forms, as these forms often end up accumulating an enormous amount of funcionality - different actions...
on Mar 30, 2010
I woke up the other day and realized its 2010. When I was a kid, year 2000 was far, far away (well not quite, but hey when you are 7 years old 13 years is a long time).
In 2001 we were supposed to be colonyzing the moon. In 2010, Jupiter would be within our reach. And there are reliable reports indicating that 9 years from now flying cars and aritificial life forms...
on Mar 1, 2010
Hi, my name is Juliano Viana, I'm a software consultant and developer based in Brazil, and I've been honored with the opportunity to blog in Java.net! Hope I can contribute something to this great community resource.
For my first blog post at Java.net I've choosen to write about my web framework of choice, Apache Wicket.
A designer and developer friendly framework
Wicket is a great web...
on Feb 9, 2010