Wednesday Sep 26, 2012

JavaOne 2012: Camel, Twitter, Coherence, Wicket and GlassFish

Before joining Oracle as Product Manager for WebLogic and GlassFish for Latin America, at the beggining of this year I proposed two talks to JavaOne USA that I had been presenting in Brazil for quite a while. One of them I presented last year at ApacheCon in Vancouver, Canada as well in JavaOne Brazil. In June I got the news that they were accepted as Alternate Sessions. Surprisingly enough, few weeks later and at the same time I joined Oracle, I received the news that they were officially accepted and put on schedule.

Tomorrow I'll be flying to San Francisco, to my first JavaOne in the United States, and I wanted to share with you what I'm going to present there.
My two sessions are these ones:

  1. Wed, 10/03, 4:30pm - CON2989 Leverage Enterprise Integration Patterns with Apache Camel and Twitter

    On this one, you will be introducted to the Apache Camel framework that I had been talking about in Brazil at conferences, before joining Oracle, and to a component I contributed to integrate with Twitter. Also, you will have a preview of a new component I've been working on to integrate Camel with the Oracle Coherence distributed cache.

  2. Thu, 10/04, 3:30pm - CON3395 How Scala, Wicket, and Java EE Can Improve Web Development

    This one I've been working on for quite a while. It was based on an idea to have an architecture that could be as agile as frameworks and technologies such as Ruby on Rails, PHP or Python, for rapid web development. You will be introduced to the Apache Wicket framework, another Apache project I enjoy working with and gave lots of talks at Brazilian conferences, including JavaOne Brazil, JustJava, QCon SP, and The Developers Conference. You will also be introduced to the Scala language and how to create nice DSLs to boost productiveness. And last but not least, the Java EE 6 platform, that offers an awesome improvement from previous versions with its CDI, JPA, EJB3 and JAX-RS features for web development.

Other events I will be participating during my stay in SF:

  1. Geeks Bike Ride
  2. GlassFish Community Event
  3. GlassFish and Friends Party 


If you have any other event to suggest, please do suggest! It's my first JavaOne and I'm really looking forward to enjoying everything.

See you guys in a few days!!

Monday Sep 17, 2012

WebLogic Application Server: free for developers!

Great news! Oracle WebLogic Server is now free for developers! What does this mean for you? That you as a developer are permited to:

"[...] deploy the programs only on your single developer desktop computer (of any type, including physical, virtual or remote virtual), to be used and accessed by only (1) named developer."

But the most interesting part of the license change is this one:

"You may continue to develop, test, prototype and demonstrate your application with the programs under this license after you have deployed the application for any internal data processing, commercial or production purposes" (Read the full license agreement here)

If you want to take advantage of this licensing change and start developing Java EE applications with the #1 Application Server in the world, read now the previous post, How To Install WebLogic Zip on Linux!

Monday Sep 03, 2012

How to Install WebLogic 12c ZIP on Linux

I knew that WebLogic had this small ZIP distribution, of only 184M, but what I didn't know was that it is so easy to install it on Linux machines, specially for development purposes, that I thought I had to blog about it.

You may want to check this blog, where I found the missing part on this how to, but I'm blogging this again because I wanted to put it in a simpler way, straight to the point. And if you are looking for a how to for Mac, check Arun Gupta's post.

 So, here's the step-by-step:

1 - Download the ZIP distribution (don't worry if your system is x86_64)
Don't forget to accept the OTN Free Developer License Agreement!

2 - Choose where to install your WebLogic server and your domain, and set as your MW_HOME environment variable
I will use /opt/middleware/weblogic for this how to

export MW_HOME=/opt/middleware/weblogic
Make sure this path exists in your system. 'mydomains' will be used to keep your WebLogic domain.
mkdir -p $MW_HOME/mydomain

3 - If you don't have your JAVA_HOME environment variable still configured, do it. Point it to where your JDK is installed.

export JAVA_HOME=/usr/lib/jvm/default-java

4 - Unzip the downloaded file into MW_HOME

unzip -d $MW_HOME

5 - Go to that directory and run


6 - Call the script

. $MW_HOME/wlserver/server/bin/

7 - Create your development domain. It will ask you for username and password. I like to use weblogic / welcome1

cd $MW_HOME/mydomain $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m \ weblogic.Server

8 - Start WebLogic and access its web console

(sh &); sleep 10; firefox http://localhost:7001/console

Usually, it takes only 10 seconds to start a domain, and 5 more to deploy the Administration Console (on my laptop). :-)



Bruno has been having fun working with Java since 2000 and now helps Oracle on sharing the technology accross all Latin America. Also plays videogames, does trekking and loves beer.

Follow me on Twitter! @brunoborges


« September 2012 »