Thursday Jan 31, 2013

Jfokus: Java and Java Embedded


Next week is Jfokus Java Developer Conference in Stockholm, Sweden.  Jfokus is the largest annual conference for everyone who works with Java in the area, with over 2000 attendees. Jfokus is arranged together with Javaforum Stockholm. Javaforum is a Swedish developer community and an official Java User Group (JUG) with the purpose to support Swedish developers. This year, JFokus will include Jfokus Embedded, a new sub-conference about the Internet of Things. As a testament to the Nordic technical community and JavaForum's ability to put on great conferences, both are sold sold out. 

Georges Saab, vice president of development for the Java Platform group at Oracle, will give the Jfokus opening keynote, titled "Making the Future Java…Together." Saab will discuss how Java's positive future is being made together between Oracle and the community at large, from the continued refinement of the Java Community Process, the increased transparency in the OpenJDK project to influence the future direction of Java, to greater ecosystem-driven efforts such as the Adopt-a-JSR project to drive broader developer participation.

jfokus embeddedThe Jfokus Embedded Keynote is titled "Taking Development to the Edge" and will be presented by Sharat Chander, group director of Java technology outreach at Oracle and Henrik Ståhl, senior director of Java product management at Oracle. The next frontier known as the "Internet of Things" is the millions, if not billions, of smart devices all connected through intelligent systems that will offer the world new solutions, opportunities and scale for greater productivity. The keynote will discuss this expanding frontier and how Java can enable developers to participate and build solutions for the ever-growing "Internet of Things" marketplace. The embedded sub-conference is comprised of several business and technical embedded-focused sessions, from noted companies such as Gemalto/Cinterion, Sierra Wireless, and Elvaco AB.   

If you are attending Jfokus, be sure to visit the Oracle booth. You can talk to very knowledgable Java Evangelists. You can see demos, such as Java Embedded/Raspberry Pi managing a remote solar array. Make sure you enter the raffle to win one of 10 Raspberry Pi devices!

Wednesday Jan 30, 2013

Nashorn, the JavaScript Implementation in Java 8

In this Interview, Marcus Lagergren, who works on the dynamic language team at Oracle, discussed the Nashorn project.  "Nashorn is the JavaScript runtime based on InvokeDynamic for the Java Virtual Machine (JVM)" he explains. The Nashorn project is now part of the OpenJDK

The performance is much better than its predecessor Rhino. "We totally blow it out of the water now that we have specific tools to run other things than Java on the JVM." Marcus commented. "The pluggability between JavaScript and Java is another good thing" he added.

His Devoxx talk about Nashorn is now freely accessible at Nashorn - implementing dynamic languages on the JVM
Marcus Lagergren's twitter handle is @lagergren. Nashorn blog has the latest on the project

A Rising VM Lifts All Boats: Bay Area Scala Meeting

Join the Bay Area Scala Enthusiasts Feb. 14th in Santa Clara, California to hear how Scala and the JVM work well together. Ever wonder what goes on below the arrows, double colons, and tildes of Scala's syntax? What changes must be made to the JVM and compiler to allow for higher order functions, Actors, and pattern matching? What low level engineering feats will be required for Scala and Java to truly interoperate? Come hear two speakers very close to the thinking and understanding of what goes in to making powerful functional programming features a reality on the JVM. 

JVM Evolution for Higher-Order Languages
Alex Buckley, Specification Lead, Java Language & VM, Oracle.

A Rising VM Lifts All Boats
Paul Phillips is the most prolific contributor to the Scala compiler and a co-founder of Typesafe.

JVM Evolution for Scala @ Oracle Santa Clara
(You need to go to the Bay Area Scala Enthusiasts page to register!) 

Thursday, February 14, 2013
   6:30 to 9:00 pm
Oracle Santa Clara Campus Auditorium

4030 George Sellon Circle (Building 3)
Santa Clara, CA (map)

Scala Resources
OTN Article: Java Champion Dick Wall on the Virtues of Scala 
OTN Article: Java Champion Jonas Bonér Explains the Akka Platform

Monday Jan 28, 2013

Jan/Feb Java Magazine: Java Embedded

The age of embedded computing is here. Analysts predict that within this decade, we’ll see tens of billions of embedded computational devices entering our daily lives. And the possibilities for these “smart” devices are literally endless: connected vehicles, appliances, utility meters, medical devices, industrial controllers, and even a contraption that monitors how much alcohol your local bartender pours into your cocktail.

The Jan/Feb issue of Java Magazine is focused on embedded, and we explore why Java is the best language choice for embedded development. It includes:mag cover

Java Nation
 - Get the news from JavaOne Brazil, Devoxx, and more.

Embedded Everywhere
 - Terrence Barr talks about Java and the Internet of Things.

Top Ten Reasons for Using Java in Embedded Apps - Simon Ritter explains why Java is the best language for embedded development.

Java Arrives on a $25 Board - Meet Raspberry Pi Foundation Cofounder Eben Upton. 

JCP Executive Q&A - Credit Suisse Susanne Cech Previtali and Victor Grazi share Credit Suisse’s distinctive perspective.

Demystifying invokedynamic -Julien Ponge shows you how to use invokedynamic in your code. 

Integrating Web and Java Client Applications with Social Media - Johan Vos gives you the scoop on integrating your applications with social media.

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.

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

Nordic Nighthacking Schedule

Java Evangelist Stephen Chin has started his Nighthacking Tour across the Nordic region. From Jan 25th to Feb 7th, he will be visiting Java User Groups, interviewing developers, live streaming and posting video along the way. Catch the events live or afterwards at


Date Central
Tuesday, Jan 29  17:00 Javaforum NightHacking with Niclas Nilsson
Wednesday, Jan 30  17:30 FooCafe NightHacking with Par and Martin
Thursday, Jan 31  17:00 NightHacking with Werner Keil
Friday, Feb 1   15:30 Hacking at ZeroTurnaround with Jevgeni and Anton

Monday, Feb 4 


NightHacking at Vaadin with Joonas, Artur, Sampsa, and Martijn

Tuesday, Feb 5 




JFokus Interviews: TBD

James Gosling : Robots and Oceans with Liquid Robotics 

Java Posse Live! 

Wednesday, Feb 6   11:30 More JFokus Interviews: TBD

You can join Stephen for the journey by watching the live stream in 3 easy steps:

  1. Follow @steveonjava on Twitter to find out when the broadcast is live.

  2. Come to the NightHacking UStream Channel to watch the free live feed.

  3. Interact with Stephen Chin and folks he is hacking with via twitter using hashtag#nighthacking.

Thursday Jan 24, 2013

OpenJDK, Adopt-A-JSR and Adopt OpenJDK Projects!

In two interviews, Martijn Verburg, leaders of the London Java user group and Cecilia Borg, Project Manager at Oracle explain the OpenJDK and two community projects Adopt-a-JSR and Adopt OpenJDK.  

"The Java Platform is huge and, to a lot of people, it is too big" explained Cecilia. "OpenJDK is divided into 22 different groups and 40 different projects to make it easy to participate." She recommends starting small by "subscribing to one of the mailing lists at" and contributing small bug fixes, for example.  It is important that contributors learn as much as possible and pick a project that feels right for them.

"The idea of Adopt-a-JSR is to have ordinary Java developers get involved with the creation of standards" indicates Martijn.  "Adopt-a-JSR is about Java EE and ME standards."  "The work on the Java language and the JVM is done as part of OpenJDK and Adopt OpenJDK projects," Verburg continues. He outlines how to start on those projects. Contributors can be individuals but also JUG leaders, who organize coding events to work on Java standards. 

Coding on Crete with Java Specialist Heinz Kabutz

In a new article, now up on otn/java by yours truly, titled “Coding on Crete: An Interview with Java Specialist Heinz Kabutz,” noted Java commentator and consultant Dr. Heinz Kabutz shares insights about the Java platform and talks about his exotic life working as a developer on the island of Crete. Kabutz is well known as the author of the Java Specialists’ Newsletter which reaches some 70,000 developers worldwide.

In a previous 2007 interview, Kabutz lamented the large number of developers who do not engage in unit testing. He offered an update on this:

“The one place where unit testing is sorely lacking is with concurrent code. There are some tools that help find race conditions and deadlocks, but they typically find about a dozen faults per line of code. With such an amount of false positives, discovering a real problem is impossible.

Did you know that there is not a single—not even one—unit test for the Java Memory Model (JMM)? We have to just accept that it works on the Java Virtual Machine (JVM) we are running on. The theory is that if we write our Java code according to the JMM, the code will run correctly on any certified JVM. Unfortunately, the certification does not test the JMM thoroughly. Apparently, there are some tests for the java.util.concurrent classes, and so they assume that if these work, then the JMM must also be correct for that JVM.”

When asked about the greatest performance issues he remarked:

“The biggest performance issue today is still that we often cannot pinpoint the bottlenecks. Customers usually approach us with problems that they have not been able to solve, no matter how many man-months they've thrown at them. The most recent issue I looked at boiled down to a simple race condition. If two threads insert an entry into a shared HashMap at the same time, and the key's hash code points to the same entry in the table, then the HashMap can be corrupted and you might get two entries pointing to each other. This means that whenever you try to call contains() on the map, you risk getting an infinite loop.”

Check out the article.

Nordic Nighthacking Tour

From Jan 25th to Feb 7th,  Java Evangelist Stephen Chin will be traveling across the Nordic countries and doing live video streaming of the journey. Along the way he will visit user groups, interview interesting folks, and hack on open source projects. The last stop will be at Jfokus 2013.

You can join Stephen for the journey by watching the live stream in 3 easy steps:

  1. Follow @steveonjava on Twitter to find out when the broadcast is live.

  2. Come to the NightHacking UStream Channel to watch the free live feed.

  3. Interact with Stephen Chin and folks he is hacking with via twitter using hashtag #nighthacking.

Wednesday Jan 16, 2013

Oracle User Group Leaders' Summit

Several Java User Group (JUG) leaders participated in the Oracle User Group Leaders' Summit this week at Oracle HQ. The International Oracle User Group Community (IOUC) is a community of leaders representing Oracle users groups worldwide. Members include leaders from over 900 Oracle user groups, and leaders from communities focused on Java, MySQL and Solaris. Over 100 User Group leaders came to User Group Leaders' Summit for three days to learn about Oracle products and technologies, provide feedback to product groups, network, share best practices, and enjoy the brisk California weather.

User Group Summit Picture In the dedicated Java track, Oracle Java experts presented the current state and roadmaps for Java SE, JavaFX, Java EE, Java ME, and Java Embedded. Java Evangelist Arun Gupta discussed the features in the upcoming Java EE 7 release. Mike Lehman, Senior Director of Product Management, gave an overview of Oracle's Java Cloud offering and gave a demo.  There were also sessions on, OTN, and Java Magazine. Throughout the sessions, JUG leaders were encouraged to provide feedback, and they weren't shy! They gave several suggestions about features, processes, and programs.

At the session on the JCP, JCP Executive Committee member and long-time Java community member Bruno Souza spoke about the Adopt a JSR program. "The biggest job in Adopt a JSR is education. Many people say, "I want to help…what's the JCP?"" He said that even small actions can have a big impact, and contributors don't have to be experts. "Just reading a spec can make a difference. The more people who read and comment on a spec, the better it is," Bruno explained. JCP Executive Committee member and leader of the London Java Community (LJC) Ben Evans discussed Adopt OpenJDK [Editor's Note: Stay tuned to this blog for more information about Adopt OpenJDK].

Jim Bethancourt, Houston JUG leader, was at the Summit for the first time. "This has been a great experience," he said, "I've got a lot of good information to take back to my JUG and also my company."  (He has already posted the slides on his JUG's website!) Bert Ertman, leader of the Netherlands JUG, comes to the summit as much for the networking as the sessions. "It's great to spend time with other JUG leaders and share ideas about fostering community growth and participation" he said.

JavaFX and Java EE with Johan Vos!

Johan Vos is the co-founder and CTO of LodgOn, a company focused on “Java software for enabling communities.” In an interview, he shares his experience creating applications with JavaFX for the front-end and Java EE in the back-end. For one of clients, he created a badge-based rewarding system, which tracks user participation in social media and at events.

He sees a wealth of opportunities with JavaFX as client development platform and with Java EE as a back-end.  The challenge lies in “how you can connect the back-end servers with small devices like tablets, phones and embedded devices.” The opportunity is that “they have one thing in common which is Java”

A member of the GlassFish community, he considers JAX-RS 2.0 as an essential technology and standard. “REST interfaces and the JAX-RS API provide a standard that allows back-end applications to connect with any front-end clients”. He created the open-source project DataFX, “a JavaFX client that connects to any REST based back-end” and the open-source framework DaliCore that manages social media resources in Java EE applications. 

Watch the video interview


Insider News from the Java Team at Oracle!



« January 2013 »