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
One of the exciting things about teaching is the fact no matter how well you prepare for a class, events will always surprise you.Yesterday I was caught by surprise in the middle of a class by what seemed like a global Glassfish admin console outage.
I was teaching my Software Architecture students at IGTI how to change the default maximum thread pool size for the HTTP listener in Glassfish 3.0.1...
on Nov 10, 2010
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
Btrace is a wonderful tool for debugging complex application problems. I have used it recently to debug a strange finalizer problem in an application running on Glassfish V3. Since getting it to work with v3 wasn't very straightforward, I will share my findings here in case someone else is trying to do the same...
BTrace works as a JVM Agent, which means it gets the chance to modify classes...
on Jul 14, 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
I know what you are thinking...consulting has always been a service. But the Cloud is making it evolve.
Cloud Computing has been one of my favourite topics in the last couple of years. Coming from a sysadmin background I am frequently in awe of how easy it is nowadays to conjure up vast amounts of computing and storage resources out of thin air. Of course I know that its not "out of...
on Feb 16, 2011
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
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