Wednesday Aug 28, 2013

Learn All About Java EE at JavaOne

Learn everything about the new Java EE 7 and Glassfish 4 releases at JavaOne 2013. Java EE 7 offers new features that enhance HTML5 support, increase developer productivity, and further improves how enterprise demands can be met. Developers will write less boilerplate code, have better support for the latest Web applications and frameworks, and gain access to enhanced scalability and richer, simpler functionality. 

Hear about the future of the Java EE platform in the strategy keynote as well as the upcoming features in technical keynote. This year, the keynotes will start at noon on Sunday at the Moscone North

Deep dive into Java EE 7 during JavaOne. Session topics include JAX-RS RESTful services, expression language 3.0, Batch API, Servlet 3.1, JMS 2.0, JSF 2.2, Bean Validation, Java persistence 2.1 and much more. 

Meet the Java EE 7 experts from Oracle who work on the platform and also experts from IBM, Red Hat, Sparta Systems to name a few. Join them at their conference sessions as well as at their Birds-of-a-Feather to talk about how you can leverage the Java EE platform better. 

See the new features for yourself at the demoground in the Hilton Ballroom. Oracle experts will present demos of the latest features on Monday, Tuesday and Wednesday from 9:30am to 5:00pm. 

Don't miss the User Group Forums running all day Sunday at Moscone West.  

Originally published on the JavaOne blog. Read it for all the latest about the JavaOne conference. 

Monday Aug 26, 2013

Who's Coming to JavaOne?

If you haven't registered for JavaOne yet and need a nudge, here's a chance to hear from some of the great speakers coming to the premier Java conference. Content Chair Stephen Chin is interviewing speakers to discuss what they will be presenting.

First up, Gerrit Grunwald (@hansolo_) on his eight (8!) JavaOne sessions. This interview includes a sneak peak of a slick new #JavaFX UI he is building for monitoring device sensors, and answered some questions from the live participants about the upcoming Java 8 Embedded release.

Follow @SteveOnJava to learn about upcoming interviews. All videos will be posted on the YouTube Java Channel, playlist JavaOne 13

JavaOne is the premier Java technical conference, with a focus on technical content. One previous attentee told us: "All sessions I attended were excellent.  Good technical content, absolutely no product pitches." Register today for JavaOne and save $200 off the onsite price.

New Duke Personality: Scientist Duke

Duke is the official mascot of Java technology. Each year, Oracle releases a new Duke personality. This year we offer "Scientist Duke." Much like a genius developer would with Java technologies, Scientist Duke is engaged in developing, mixing, testing the latest ingredients to create the greatest formula/product/innovation ever. 

Last year, Adventure Duke was off on a mission of adventure and discovery to find the latest Java wonders around the world.  2011 unveiled Future Tech Duke, moving Java forward into new technology and platform arenas. In 2010 it was Surfing Duke, who tagged along for the ride at the Java Road Trip: Code to Coast. In 2006, Duke was officially "open sourced” under a BSD license. Developers and designers were encouraged to play around with Duke and for the first time had access to Duke’s graphical specifications through a project at

You'll be able to have your picture taken with a living, life-size Duke at the JavaOne developer conference in San Francisco. Also, I heard that Duke can't wait for JavaOne and may be visiting some coffee shops in the Bay Area in the next few weeks!

If you don't know the history, back in the early days of Java development, the Green Project team created its first working demo—an interactive handheld home entertainment controller called the Star7. At the heart of the animated touch-screen user interface was a cartoon character named Duke (think clippy but better!). You can learn more at

Thursday Aug 22, 2013

Challenge: Raspberry Pi at JavaOne

"Now I have almost everything to build my own refrigerator that will run Linux, Java on Raspberry Pi!" explains Vinicius Senger. Vinicius, who will run the challenge, is an enthusiastic, creative, and knowledgeable developer and instructor. He has created countless embedded applications running on Raspberry Pi and other boards over the years. 

The Java Embedded Challenge for Raspberry Pi promises to be a geeky, fun, hands-on, collaborative and innovative extravaganza. You will have access to a dedicated room, training, experts and equipment. Raspberry Pi's and accessories will be provided.

You will just need to bring your laptop, teammates, ideas and maybe your own equipment. We built a flexible schedule so you can step out and go to the sessions when you want. 

JavaOne attendees can register now to reserve a space.


Tuesday Aug 20, 2013

Nanjing Java User Group Event August 24

The Nanjing Java User Group will hold their first event on Aug 24! As one of global celebration events for Java EE 7 launch, this event will focus on Java EE and related JSRs. Learn more on weibo.

Friday Aug 16, 2013

Java Magazine July/August is All About Peformance

The July/August issue of Java Magazine is all about performance. A prime example: Twitter. Learn how Twitter migrated to the JVM and now supports (at last count) 400 million tweets a day. How Oracle Team USA relies on a wireless Java system for real-time data to improve performance on the racecourse. How MapReduce allows Java developers to write programs to process, transform, and derive insights from petabyte size datasets. mag cover

Also in this issue:

  • JavaOne Preview - Get ready for JavaOne! The conference returns to San Francisco, September 22–26.
  • Understanding the Java Hotspot VM Code Cache 
  • Q&A: Java Performance Tuning - A talk with Kirk Pepperdine.
  • Java 8: Lambdas - Get to know lambda expressions with Ted Neward.
  • NetBeans IDE - Learn how to use NetBeans IDE to take advantage of Java EE 7.

Java Magazine is a FREE, 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, registration required.

Do you have feedback about Java Magazine? Send a tweet to @oraclejavamag.

Thursday Aug 15, 2013

Trying Out Lambda Expressions in the Eclipse IDE

A new article, now up on otn/java, by Deepak Vohra, titled “Trying Out Lambda Expressions in the Eclipse IDE,” demonstrates how to take advantage of lambda expressions in Java SE 8 using the Eclipse IDE and virtual extension methods.

Vohra begins with the basics:
“Lambda expressions, also called closures, are a short-form replacement for anonymous classes. Lambda expressions simplify the use of interfaces that declare a single abstract method, which are also called functional interfaces. In Java SE 7, a single method interface can be implemented with one of the following options.
* Create a class that implements the interface.
* Create an anonymous class.”

Vohra explains that while lambda expressions can be used to implement a functional interface without creating a class or an anonymous class, they can be used only with interfaces that declare a single method.

Benefits of lambda expressions include:
* Concise syntax
* Method references and constructor references
* Reduced runtime overhead compared to anonymous classes

Vohra gets under the hood to explain the basics of lambda syntax, along with the nature of functional interfaces and target types, offering copious examples. All in all, the article offers a first-rate primer on how to make use of lambda expressions and virtual extension methods using the Eclipse IDE.

Check out the story here.

Tuesday Aug 13, 2013

Java EE 7: JSRs That Make You Powerful

You've heard that Java EE 7 makes it easier to code, to create scalable, dynamic HTML 5 web apps, and much more. What does that mean, really? Here's how you can dig into details:  

1) Download the Java EE 7 SDK.

2) Watch these 15 - 20 minute technical overviews of the new JSRs. They are available on the Java EE 7 Launch Technical Breakouts playlist.

We hope this makes you feel ready to take advantage of all power that Java EE 7 provides.

Scalable, Dynamic HTML5
JSON JSON is a lightweight data exchange format used increasingly in RESTful Web services by highly visible Websites (Facebook, Twitter, Amazon, and the like). This webinar shows how JSR 353, Java API for JSON Processing, can be used to process JSON.
WebSocket 1.0 The Java API for WebSocket is a wholly new technology for the Java EE platform. This webinar looks at two core example applications - a simple Echo application with both annotated and programmatic WebSocket endpoints, and a chat application with both a browser and a Java client.
JAX-RS 2 JAX-RS is the Java API for building RESTful web services. This webinar focuses on the new and exciting features introduced in JAX-RS 2.0 including the client API, filters and entity interceptors, asynchronous processing, and hypermedia. These new features increase ease of use, reduce application development time, and increase application portability.
JSF 2.2 HTML5 and "ease of development" are two key themes of JavaEE 7. This 20 minute webinar shows how JSF 2.2 contributes to these themes. Among other things, we'll look at how HTML5 Friendly Markup allows authoring 100% compatible JSF pages that are also 100% HTML5. And how Resource Library Contracts and Faces Flows enable modularizing the appearance and functionality of the views in your JSF web application.
Servlet 3.1 Servlet technology is used to build web applications. This webinar demonstrates new features in Servlet 3.1 (JSR 340). It covers non-blocking IO, the upgrade mechanism for Web Socket, security enhancements, and other miscellaneous features.
Expression Language 3.0 JSR 341: EL 3.0 includes features that makes EL easier to user and more expressive. It supports EL in stand-alone environments, outside JavaEE. It add operators (e.g. assignment operator) and new syntax (e.g. lambda expression). It also provides good supports for collections. This session briefly describes the new features with examples.

Meeting Enterprise Demands
Batch 1.0 JSR 352, Batch Applications for the Java Platform, ushers in the world's first Java standard for building batch applications. In this short webinar you will gain a basic understanding of JSR 352, including its motivation, feature highlights, selected API overview, job scheduling language introduction, and key use cases.
Concurrency 1.0 Concurrency Utilities for Java EE is a new addition to Java EE 7 platform. It enables Java EE application developers to add asynchronous capabilities to their applications. This webinar provides an overview of what is provided in this JSR.
JMS 2 This presentation introduces the new productivity enhancing features of JMS 2.0. JMS 2.0 features a completely new "simplified" API which means fewer objects to manage, simpler methods to call and less code to write. We'll also cover some of the new messaging features which have been added to tackle real-world issues such as scalability and error handling.
JPA 2.1 The Java Persistence API is the standard API for the management of persistence and object/relational mapping for Java applications. This webinar provides an overview of new functionality added in JPA 2.1, including new query language features, converters, entity graphs, unsynchronized persistence contexts, and support for schema generation.
Admin Console GlassFish Administration Console is one of the most popular tools for managing the application server. This Webinar highlights the new features added to support new Java EE 7 components, such as Concurrency Utilities API (JSR 236) and Batch Application (JSR 352). Other enhancements covered in the webinar include "masking confidential properties,� new logger attributes, and displaying logically jndi name for resources.
EL 3.0 JSR 341, EL 3.0, includes features that makes EL easier to use and more expressive. It supports EL in stand-alone environments outside JavaEE. It adds operators (e.g. assignment operator) and new syntax (e.g. lambda expression).  It also provides good supports for collections. This webinar briefly describes the new features with examples.

Increasing Productivity
EJB 3.2 Enterprise JavaBeans is an architecture for the development and deployment of component-based business applications. This webinar provides an overview of the new features and improvements in the EJB 3.2, including changes to the stateful session and managed-driven beans, security, TimerService API, optional features, and more.
CDI 1.1 Contexts and Dependency Injection for Java EE (CDI) 1.1 focuses on improving CDI. CDI 1.0 was introduced as part of the Java EE 6 platform, and has quickly become one of the most important and popular components of the platform. In this short webinar, we introduce the major changes in CDI 1.1.
BV 1.1 Bean Validation standardizes constraint declarations and validation for the Java platform. In this webinar we explore what version 1.1 brings to the table. We will discuss via examples method-level validation, Context and Dependency Injection (CDI) integration and more.
JTA 1.2 This webinar describes and demonstrates the new features in JTA 1.2 (JSR 907). It covers the new @Transactional annotation used for transaction demarcation as well as the new @TransactionScoped annotation used to scope a CDI managed bean to the currently active transaction.
Interceptors 1.2 Interceptors are used to interpose on business method invocations and specific events, such as timeout events or lifecycle events, which occur on instances of Java EE components and other managed classes. This webinar covers changes to the Interceptor specification 1.2, including AroundConstruct interceptor, ordering interceptors using @Priority annotation, and changes to the document structure and content.

Friday Aug 09, 2013

VOTE NOW for Duke's Choice Awards

The 2013 Duke's Choice Award poll is live now at (on the right-hand column). All members of the Java community (that's you!) are encouraged to cast your vote today for the second annual Community Choice award category.  All winners will be announced at JavaOne, via press release and in Java Magazine's September/October issue.

Vote now as the poll will close Monday August 12th. 

Thursday Aug 08, 2013

Videos: Java Developer Community in China

What is the developer community like in China? I put this question to several members of the Java developer community while at JavaOne Shanghai. "Big!" "Passionate!" "They asked good technical questions." "Eager to learn." Find out what JUG leaders and Oracle had to say on this topic. You can view the entire JavaOne Shanghai playlist and lots of other videos on the Java YouTube channel

Anissa Lam, member of the Java EE team, describes her activities at JavaOne Shanghai and her thoughts about the Java developer community in China.

Jim Jiang speak to Kang Sze Lin, leader of TaiWan JUG, Leo Yu (余知权) @余知权Leo, leader of Shanghai JUG, and JianHao Mo (莫建豪) @坤谷, leader of GreenTea JUG. (In Chinese.)

View entire JavaOne Shanghai Playlist. For resources in China, visit 

Do you want to have your video listed on the YouTube Java Channel? Visit for details.


Insider News from the Java Team at Oracle!



« August 2013 »