Tuesday Dec 27, 2011

End of the Year Review: Moving Java Forward in 2011

The end of the year is the time we reflect on the successes for Java in 2011. First, the Oracle Technology Network would like to thank all of the members of the Java community for your honesty, perseverance and dedication in moving both Java and the community forward. An amazing amount of progress has taken place this year:
  •     the release of Java SE 7
  •     approval of Java EE 7 JSR
  •     moving to OpenJDK as the official Java SE 7 Reference Implementation
  •     the first Java SE update release based on open source (JDK 7 update 2)
  •     the release JavaFX 2.0
  •     open sourcing JavaFX
  •     advancements in openness and transparency in the JCP
  •     improvements in JavaOne San Francisco
  •     regional JavaOnes in Russia, India, and Latin America
  •     expansion of JDuchess across the globe
  •     delivery of the new Java digital magazine
  •     launch of the "Adopt-a-JSR" program

and many other milestones - it's obvious that a true renaissance is taking place in the Java ecosystem.  Kirk Pepperdine commented, "The commitment to Java is clear in the increased rate of checkins to openjdk. It used to be easy to keep up on bug fixes and the progress of new features but now, step out for a day and you can get lost pretty quickly. Yet with this increase in rate of checkins you can still see a strong commitment to making sure that every single code change is thoroughly discussed, reviewed, and tested."

For all of you who have played and will continue to play a critical role in this new found invigoration throughout the Java ecosystem, we want to say, "THANK YOU!" We look forward to the opportunities in 2012 when we can work together to make Java the premier technology platform for the future.

And finally, Holiday Greetings from 96 Java Community members in 12 languages from over 15 countries, brought to you by from the Java Spotlight Podcast team. Enjoy!

Wednesday Dec 21, 2011

Updating Java ME Applications

A new article up on otn/java, by Java ME expert Vikram Goyal, titled “Updating Java ME Applications,” demonstrates how easy it is to update the text, images, and source code for Java ME applications. Goyal explains that updating a Java ME application includes updating static data, such as text and images, as well as code components of the application. In the article, he develops a sample app that illustrates how to update an application.

As Goyal explains, “The article starts with the basics—updating simple text strings—and then moves to updating images. Finally, the article shows the easiest way to update the core application files, which Java ME makes quite easy. However, this ease can come at a price in terms of extra network traffic.”

Goyal concludes the article with some basic advice:

“If you don’t need to update the entire source code for your application, use the connection classes provided within the javax.io package, such as ContentConnection and HttpConnection, to update static data, such as text and images.

On the other hand, if you need to provide a mechanism for updating the entire source code, make sure you follow a valid update process on the server, and use platformRequest(String) with a URL that ends in jad to provide the updates. The device’s interface will then make sure the updates are applied by removing the old MIDlet and installing the new updated version.”

Read the complete article here.

Friday Dec 16, 2011

Spring to Java EE Migration, Part 2 (technical article)

In part two of a four-part article series on otn/java, “Spring to Java EE Migration, Part 2,” CTO and Java EE expert David Heffelfinger elaborates further on how easy it is to develop the data layer of an application using Java EE, JPA, and the NetBeans IDE instead of the Spring Framework.

Part 1 began with a Java EE rewrite of Spring's Pet Clinic sample application and developed the persistence layer of the application using Java Persistence API (JPA) 2.0, using NetBeans to generate most of the persistence layer from an existing database schema. Heffelfinger analyzed the generated code, which employed advanced JPA features.

In part 2, he continues this process by developing Enterprise JavaBeans (EJB) 3.1 session beans that act as Data Access Objects (DAOs), as well as JavaServer Faces (JSF) 2.0 managed beans and pages. Readers get to see the generated code in action and are given a look under the hood to see what’s going on.

Heffelfinger concludes Part 2 with a look ahead to Part 3:

“In the next installment of this series, we will modify the generated code to make it a bit more user friendly and we will compare the Java EE and Spring versions of the Pet Clinic application.”

Read the complete article here.

Main Our Most Popular Tech Articles of 2011

You can stop holding your breath now. We have determined the Top 20 (meaning: most popular) Tech Articles Published by OTN in 2011!

What conclusions can we draw from this list? Well, for one: Traditionally, we publish a "Top 10" list at the end of the calendar year. But in 2011, there were so many popular articles published that this ceiling was too limiting.

Other conclusions:

  • Java developers love reading articles. Total domination of the page view numbers this year.
  • Adam Bien is not only a Java Champion, but a Page Views Champion as well. Neither Brittany Spears nor George Clooney would have been more helpful to us in that department.
  • You all seem fairly curious about Java 7, Java EE, and JavaFX.
  • If you have your own observations, let's see them in comments.

 Without further delay, here's the list:

  1. Fork and Join: Java Can Excel at Painless Parallel Programming Too! (Julien Ponge)
  2. Taking Your First Steps with Oracle Solaris 11 (Brian Leonard & Glynn Foster)
  3. Contexts and Dependency Injection in Java EE 6 (Adam Bien)
  4. Unit Testing for Java EE (Adam Bien)
  5. Neural Networks on the NetBeans Platform (Zoran Sevarac)
  6. Oracle Senior VP Steve Harris on Oracle’s Vision of Java (Janice J. Heiss)
  7. Oracle Database 11g Express Edition Quick Tour (Przemyslaw Piotrowski)
  8. Looking Ahead to Java SE 7 and 8: A Discussion with Oracle’s Java Language Architect, Brian Goetz (Janice J. Heiss)
  9. Working with Java SE 7 Exception Changes (Manfred Riem)
  10. Client-Side Improvements in Java 6 and Java 7 (Josh Marinacci)
  11. How I Simplified Oracle Database Installation on Oracle Linux (Ginny Henningsen)
  12. The DBA’s Guide to Setting Up Oracle RAC One Node and Oracle Data Guard (Martin Bach)
  13. Integration Testing for Java EE (Adam Bien)
  14. Build a .NET Application on the Oracle Database with Microsoft Visual Studio 2010 (John Paul Cook)
  15. Templating with JSF 2.0 Facelets (Deepak Vohra)
  16. Using Adobe Flex and JavaFX with JavaServer Faces 2.0 (Re Lai)
  17. Series: Oracle Exadata Command Reference (Arup Nanda)
  18. Better Resource Management with Java SE 7: Beyond Syntactic Sugar (Julien Ponge)
  19. Using Transitions for Animation in Oracle's JavaFX 2.0 (James L. Weaver)
  20. Scaling a PHP MySQL Web Application, Part 1 (Eli White)

Want to see your name on this list for 2012? We're always looking for good writers. Looking forward to seeing your proposals!

Originally posted on blogs.oracle.com/otn  by Justin Kestelyn 

Photo: Preetam Rai

Wednesday Dec 14, 2011

Six Releases Just in Time for the Holidays

Duke and his elves have been busy in Redwood Shores and throughout the world to bring you five new updates to Java and a special product release:

Java SE for Embedded 6u30
Java Standard Edition (Java SE) for Embedded Devices delivers a secure, optimized runtime environment that is ideal for network-based devices. This release includes numerous bug fixes.
Learn more 

Java SE for Embedded 7u2
This update release includes support for the PowerPC-based processor platform (for e500v2 and e600) as well as additional optimizations for ARM-based processors (Server JIT for ARM v7). Also, starting with 7u2, the native library libattach.so is included with the Java SE for Embedded JRE. This addition enables the troubleshooting tools jmap and jstack for embedded.
Learn more

JavaFX 2.0.2
The JavaFX 2.0.2 release adds redistribution rights, a support plan, and SWT/JavaFX integration. Also, starting with Java SE 7 Update 2, the JDK includes the JavaFX SDK for your convenience. The JavaFX SDK includes the JavaFX libraries, the JavaFX Runtime and project files you need to get started.
Learn more

Java SE 6u30

This release includes improved performance and stability, support for Red Hat Enterprise 6, and many security fixes.
Learn more

Java SE 7u2
This update release contains functionality enhancements for Java applications: new JVM (Java HotSpot Virtual Machine, version 22) that improves reliability and performance, support for Oracle Solaris 11, support for Firefox 5 and later, JavaFX included with Java SE, and many security fixes.
Learn more

Oracle WebLogic Server 12c
Oracle WebLogic Server provides full support for the latest Java EE specification, Java EE 6. It features better developer productivity and much higher performance.
Download (zip installer)
Learn more (replay from online launch event + developer deep dive) 

Tuesday Dec 13, 2011

JavaOne Latin America: Videos and Podcasts

JavaOne Latin America was last week and there were lots of videos and podcasts recorded there. Here are some of the highlights (add your favorites in the comments, please):

The JavaOne Community Keynote

The JavaOne Community Keynote was informative and funny. (Thanks to Loiane Groner for taping it!) The discussion ranged from the top 5 developments in Java in 2012, to women in technology, to how to brew coffee with Java (done on stage), to the announcement of jDuchessBR for Brazilian women using Java, to what developers do when they aren't coding. (in Brazilian Portuguese). Don't miss  the video used to conclude the keynote, an improvement of the "Code Hard" video entitled "The Real Java Developers."

OTN Interviews
I interviewed Java Experts, including Fabiane Nardon (Java EE), Loiane Groner (Java and Javascript), Jim Weaver (JavaFX) and Geertjan Weilenga (NetBeans). Yara Senger also interviewed her 80 year-old grandmother about her use of Java as a physicist. Those videos are now on Youtube/Java (look under Recent Activity). Another nice video from the OTN Lounge is this short discussion on why and how Juliano Viana works on Java EE 6 with LogicStyle's customers and how he uses GlassFish.

Java Spotlight Podcasts

The Java Spotlight Podcast Episode 60: Live from Java One Latin America includes an interview with Yara and Vinicius Senger on Global Code's 10th Anniversary, and with Mike Lehmann, Oracle senior director of product management, providing insight on the Weblogic 12c release. If you like your podcasts deeply technical, listen to this Java Spotlight Podcast with Alan Bateman on NIO2 APIs in JDK 7. There's nothing like the engineer working on a project to get into the technical details.

Thanks to all the developers in Latin America that made JavaOne Latin America such a success!

Wednesday Dec 07, 2011

JavaOne Latin America is Show de Bola!

Things are exciting at JavaOne Latin America. Even with bigger rooms, some sessions are standing room only. The interest in JavaFX is very high. Stephen Chin and Arun Gupta's session on JavaFX client and Java EE server development was standing room only, with a line of developers wanting to get in. They plan on repeating their session so everyone can see it.

George Saab, VP of development, Java platform, said in the opening keynote "Last year at JavaOne Latin America, Oracle was full of promises. This year we can say Oracle delivered on those promises: Java SE 7, JavaFX 2.0, and increasing transparency in the JCP."

The OTN Lounge is the perfect place to sit, relax and charge up your laptop. In addition to Java Champions and Oracle ACEs dropping by for informal chats, JUG leaders and members discussed upcoming events and ways to energize their local Java communities.

Everyone is looking forward to the community keynote Thursday, which is rumored to be full of special effects and surprises. Loiane Groner, JUG leader for CampinasJUG and EsJUG says "We think that everyone will like it!"

Sunday Dec 04, 2011

Java Community Bike Ride in São Paulo

In true community spirit, Fabiane Nardon and other SouJava members put together a Java Community Bike Ride this morning in São Paulo, just before JavaOne Latin America. Affectionately called the Geek Bike Ride, it had just the right combination of exercise, technology and fun.


We had 26 riders, slightly overcast and cool weather, and a wonderful route through São Paulo, thanks to Sunday lane closures for just for bike riders.

Everyone in group looked great in our fabulous Duke bike jerseys. The route was 12 miles/22 kilometers, but don't take my word for it, because what geek bike ride would be complete without GPS documentation and full redundancy? We rode at a leisurely pace, and it gave everyone time to chat and meet some new friends. We visited two parks and a street fair along the way. We even had "bike angels" to make sure no one was left behind (thank you Fabiane, Fernando and Claudio!). And our bike angels weren't just bike enthusiasts: Fabiane is well known Java Champion and Java EE expert, Claudio is one of the best known Agile speakers in Brazil, and Fernando is responsible for the architecture and development of some of the most popular web sites in Brazil. A little geek talk with your bike ride? Bring it on!

It was so much fun, some riders from California talked about arranging a community ride before the Oracle User Group/JUG leader summit in January. Stay tuned for details about the next #geekbikeride - or start your own! (Here's a template to get you started.)


Insider News from the Java Team at Oracle!



« December 2011 »