Monday Apr 30, 2012

Java Magazine Wins Maggie Publishing Award

Over the weekend, Java Magazine was presented a Maggie Award for best digital publication by the Western Publishing Association. The Maggie Awards recognize excellence by publishing professionals.

The awards banquet, a black-tie affair held in Los Angeles, is considered the most prestigious publishing event in the Western United States. Senior Managing Editor Caroline Kvitka and Design Director Richard Merchan attended the event and represented the Java Magazine team. Caroline accepted award and after the obligatory thank you's, raised the Maggie up in the air and said: "Go Geeks!" 

Java Magazine is a bi-monthly online publication. It includes technical articles on the Java language and platform; Java innovations and innovators; JUG and JCP news; Java events; links to online Java communities; and videos and multimedia demos. Subscriptions are free.

Thursday Apr 26, 2012

Released: NetBeans IDE 7.1.2, Now Supporting Java SE 7u4

NetBeans IDE 7.1.2 is an update release to versions 7.1 and 7.1.1. Here's what's new:

There are two ways to get the updates:

  • To get the patches only: Launch your current installation of NetBeans IDE 7.1, and an update alert will appear. Click the notification box to install the updates. OR to perform the update manually, select Tools-->Plugins-->Reload Catalog (Updates Tab).

 What's on your mind? Join the NetBeans team on Twitter, Facebook and Google+ and let's discuss!


Five Java Update Releases

Today, the Oracle Java teams have delivered update releases for Java SE, Java FX and Java SE for Embedded.

Java SE

Java SE 7 Update 4

  • This is the first time Oracle is delivering both the JDK and JavaFX SDK for Mac OS X; the JDK (which will include the JavaFX SDK) is available for download from the Oracle Technology Network Download page.
  • Oracle has continued to work on merging JRockit and HotSpot JVMs to leverage the best features in each.
  • Java SE 7 Update 4 features includes the next-generation Garbage Collection algorithm Garbage First (G1).
  • New JVM (Java HotSpot Virtual Machine, version 23) features JRockit JVM feature convergence. Some of the value-add features of the JRockit JVM are re-implemented in the HotSpot JVM.
  • Java SE 7 Update 4 is the first consumer release of the Java 7 JRE that will be made available as the default version on Java.com. Follow Henrik Stahl's blog for the latest information.

Java SE 6 Update 32

Java SE 6u32 contains Olson time zone data version 2011l and bug fixes. For more information, see the Java SE 6 Update 32 Release NotesDownload.

Java FX

The JavaFX 2.1 release includes the JavaFX Software Development Kit (SDK) for the Windows and Mac OS X platforms. The JavaFX SDK provides the tools and technologies for developing JavaFX applications with these new features:
  • Playback support for digital media stored in the MPEG-4 multimedia container format containing H.264/AVC video and Advanced Audio Coding (AAC) audio.
  • New Webview support for JavaScript to Java method calls, which allows a user to render HTML/JavaScript and let JavaScript (in WebView) make calls to Java APIs to offload specific operations to Java.
  • The JavaFX 2.1 release adds the ability to use Windows-style LCD sub-pixel rendering. All the JavaFX UI controls will be LCD-text enabled by default on Windows, as will WebView, the Webkit-based node for rendering Web content. Applications can also opt-in to use LCD text on the low-level scenegraph text node by a new API.
  • Additional user interface enhancements in JavaFX 2.1 include: controls for combo box, stacked chart and application-wide menu bar.
  • JavaFX Scene Builder 1.0 Early Access - a visual layout tool for the JavaFX platform. The JavaFX Scene Builder enables designing UI screens by simply dragging and positioning objects.


Java SE for Embedded

Java SE for Embedded 7 Update 4 & Java SE for Embedded 6 Update 32

Java Standard Edition (Java SE) for Embedded Devices delivers a secure, optimized runtime environment that is ideal for network-based devices. Both releases includes bug fixes. Download.

Wednesday Apr 25, 2012

Java at the Bay Area Maker Faire!

Java will be on display at the Maker Faire Bay Area in San Mateo, California May 19 & 20. The Maker Faire is family-friendly festival of invention, creativity and resourcefulness, and a celebration of the Maker movement. We'll have a booth that will show you (and your kids) how to build the future with Java. Early bird tickets are on sale now until May 10.

Maker Faire is a gathering of fascinating, curious people who enjoy learning and who love sharing what they can do. It offers the opportunity for us to see ourselves as more than consumers; we are productive; we are creative. Everyone is a maker and our world is what we make it.  Sounds just like the Java Community.

Stay tuned for details!

                        Powered by Java?    

Tuesday Apr 24, 2012

Devoxx à la Française: Superbe!

Devoxx France in Paris sold out with 1,250 developers registering for the first such conference held outside of Belgium. The event doubled in size from the initial plan as conceived last November. As a result of the outpouring of community support, the organizers confirmed that they would host the conference again next year.


In an aura of collaboration and expertise. attendees chose from 133 presentations during the 3 day event with lots of technical sessions, expert speakers and great discussions. As is customary, it started with a University Day, in-depth technical sessions lead by luminaries from the Java community and industry experts. Each conference day is a great mix of 3 hour workshops and hands-on labs, Tools-in-Action sessions and the traditional Birds-of-a-Feather sessions in the evening.


JavaFX and Java 7 were the top 2 Oracle topics presented at the conference with an introduction to JavaFX and the new Scene Graph Builder, 55 functionalities of Java 7 presentations. The content will be on Parleys Java Channel


Following a Devoxx tradition, one evening was dedicated to a Meet and Greet party. In France, this evening had a French twist, serving wine and cheese instead of beer and fries.


And Devoxx always has some surprises for attendees:


A group of French developers created an application from scratch during the conference. The project was called "Code Story." The goal was to use the agile development to show best practices and one hour invited attendees to join one of their coding sessions.


Teaching programming has become a new interest in the community in Europe, especially within the Duchess network. Audrey Neveu started Programmatoo to teach programming to 6 to 10 year olds. I got great feedback with my BoF session on Learning Java with Alice and Greenfoot and talked to French professors interested in teaching with Greenfoot. Other initiatives are underway like Devoxx4Kids.


All the sessions, including ~25 interviews with developers will be available on Parleys.com



Spring to Java EE Migration – Part 4, the Finale

In a new article, now up on otn/java, titled “Spring to Java EE Migration, Part 4,” David Heffelfinger presents the final part of his series in which he demonstrates the ease of migration from the Spring Framework to Java EE. Here he compares equivalent functionality in Java EE and Spring in areas such as MVC design pattern implementation, data access, transaction management, and dependency injection.

He concludes the series with these remarks:

“In this series of articles, we developed a Java EE version of Spring’s Pet Clinic application. We saw how the advanced tooling provided by NetBeans enables us to quickly develop a Java EE application…. Once we were done building the Java EE version of the application, we compared it with the Spring version, noting that the original version has several dependencies whereas the Java EE version has none, because it takes advantage of all the services provided by the Java EE application server.

Finally, we compared how to implement similar functionality such as MVC and DAO implementation, transaction management, and dependency injection with Spring and Java EE. In every case with Spring, some XML configuration needs to be done besides adding annotations to the code. Java EE relies on convention, and in most cases, no XML configuration is needed in order to implement these services.

Although newer versions of Spring rely a lot less on explicit XML configuration than earlier versions, there are always a few little lines here and there that we need to add to an XML configuration file in order to get most of the Spring annotations to work, violating the DRY (don’t repeat yourself) principle...

Additionally, Spring applications tend to have several dependencies, because they are meant to run in a “lightweight” Servlet container such as Tomcat or Jetty and these containers don’t provide all the required functionality. In contrast, Java EE applications are meant to be deployed in a full-blown Java EE 6 application server such as Oracle GlassFish Server...

For these reasons, I always recommend Java EE over Spring for enterprise application development.”

Have a look at the article here.

Monday Apr 16, 2012

Best Practices for JavaFX 2.0 Enterprise Applications

A new article, up on otn/java, by Java Champion, Oracle Java Evangelist, and JavaFX expert Jim Weaver, titled "Best Practices for JavaFX 2.0 Enterprise Applications (Part One),” explores best practices for developing enterprise applications in JavaFX 2.0.

Weaver illustrates his points by examining a sample application named TweetBrowser which contains the following:

* “A Toolbar containing a TextField and a couple of Button controls for searching and navigating tweets obtained from the Twitter REST API.
* A ListView whose cells contain representations of the tweets. Each tweet is represented by a subclass of ListCell that contains an ImageView for the profile picture and Hyperlink controls that enable the user to navigate to screen names, hashtags, and Web links.
* A ProgressIndicator that spins when a search is performed and a WebView that displays the Web page associated with a Web link in a tweet.”

The TweetBrowser project, which Weaver invites the reader to download, contains the code for the application, portions of which he highlights throughout the article. Techniques and best practices used in the TweetBrowser application include:

    “Invoking an application via Java Web Start from the application’s home page
    Ensuring only one instance of the application is started
    Binding the UI to the model”

Weaver concludes the article by observing that, “Implementing techniques such as invoking an application via Java Web Start from the application’s home page, ensuring only one instance of the application is started, and binding the UI to the model make life easier for both the user and the developer."

Please stay tuned for Part Two of this series where Jim will explore more techniques and best practices used in the TweetBrowser example application.

You'll find Part One here.

Thursday Apr 12, 2012

JavaServer Faces 2.0 for the Cloud

A new article now up on otn/java by Deepak Vohra titled “JSF 2.0 for the Cloud, Part One,” shows how JavaServer Faces 2.0 provides features ideally suited for the virtualized computing resources of the cloud. The article focuses on @ManagedBean annotation, implicit navigation, and resource handling. Vohra illustrates how the container-based model found in Java EE 7, which allows portable applications to target single machines as well as large clusters, is well suited to the cloud architecture.

From the article--

“Cloud services might not have been a factor when JavaServer Faces 2.0 (JSF 2.0) was developed, but JSF 2.0 provides features ideally suited for the cloud, for example:
•    The path-based resource handling in JSF 2.0 makes handling virtualized resources much easier and provides scalability with composite components.
•    REST-style GET requests and bookmarkable URLs in JSF 2.0 support the cloud architecture. Representational State Transfer (REST) software architecture is based on transferring the representation of resources identified by URIs. A RESTful resource or service is made available as a URI path. Resources can be accessed in various formats, such as XML, HTML, plain text, PDF, JPEG, and JSON, among others. REST offers the advantages of being simple, lightweight, and fast.
•    Ajax support in JSF 2.0 is integrable with Software as a Service (SaaS) by providing interactive browser-based Web applications.”
In Part Two of the series, Vohra will examine features such as Ajax support, view parameters, preemptive navigation, event handling, and bookmarkable URLs.

Have a look at the article here.

Monday Apr 02, 2012

Two JavaFX Community Rock Stars Join Oracle

from Sharat Chander, Director - Java Technology Outreach:

These past 24+ months have proved momentous for Oracle's stewardship of Java.  A little over 2 years ago when Oracle completed its acquisition of Sun, a lot of community speculation arose regarding Oracle's Java commitment.  Whether the fears and concerns were legitimate or not, the only way to emphatically demonstrate Oracle's seriousness with moving Java forward was through positive action. 

In 2010, Oracle committed to putting Java back on schedule whereby large gaps between release trains would be a thing of the past.  And in 2011, that promise came true.  With the 2011 summer release of JDK 7, the Java ecosystem now had a version brought up to date.  And then in the fall of 2011, JavaFX 2.0 righted the JavaFX ship making rich internet applications a reality.

Similar progress between Oracle and the Java community continues to blossom.  New-found relationship investments between Oracle and Java User Groups are taking root.  Greater participation and content execution by the Java community in JavaOne is steadily increasing.  The road ahead is lit with bright lights and opportunities.

And now there's more good news to share.  As of April 2nd, two recognized JavaFX technology luminaries and "rock stars" speakers from the Java community are joining Oracle on a new journey. We're proud to have both Jim Weaver and Stephen Chin joining Oracle's Java Evangelist Team.  You'll start to see them involved in many community facing activities where their JavaFX expertise and passion will shine.  Stay tuned!

Welcome @JavaFXpert and @SteveonJava !

About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« April 2012 »
SunMonTueWedThuFriSat
1
3
4
5
6
7
8
9
10
11
13
14
15
17
18
19
20
21
22
23
27
28
29
     
       
Today