- Java 8 Launch Webcast
- JavaOne 2014 Call for Papers Now Open!
- See Java in Action at SXSW
- Compete in the IoT Developer Challenge!
- Java EE 8 Community Survey: The Next Phase
- Vert.x: A Project to Watch
- Develop Java Applications Using a Raspberry Pi
- Java ME Embedded 8 Early Access 2
- NightHacking: Program a Robot
- Register today for the Oracle Java ME Embedded MOOC!
Friday Sep 13, 2013
By Janice J. Heiss on Sep 13, 2013
By Janice J. Heiss on Sep 13, 2013
Friday Sep 06, 2013
By Janice J. Heiss on Sep 06, 2013
Java Champions are developers who have made important contributions to the Java community; JavaOne Rock Stars are developers who have given highly rated sessions at JavaOne. Adam Bien is both – and one of the most distinguished Java developers in the community. He is an Expert Group member for the Java EE 6/7, EJB 3.X, JAX-RS and JPA 2.X JSRs and is an architect and developer for Java SE and Java EE projects. He has edited several books about JavaFX, J2EE, and Java EE, and is the author of Real World Java EE Patterns—Rethinking Best Practices, and Real World Java EE Night Hacks.
Bien is a Top Java Ambassador 2012, and JavaOne 2009, 2011, 2012
Rock Star. If all this were not enough, he was, in 2010, named Oracle
Magazine’s Java Developer of the Year.
His 2013 sessions include:
CON2196: “Lean and Opinionated Java EE 7 Applications”
CON2229: “Architecting Enterprise JavaFX 8 Applications”
CON2230: “Unit Tests Don’t Break: Stress-Testing Java EE Applications”
CON2231: “Demystifying Java EE”
UGF10369: “Cool NetBeans Tips and Tricks for Java EE 7 Development”
Q: Tell us about your JavaOne sessions.
Bien: In “Cool NetBeans Tips and Tricks for Java EE 7 Development,” I will introduce my favorite NetBeans features. I think I may surprise some attendees with NetBean's productivity and effectiveness.
In “Architecting Enterprise JavaFX 8 Applications,” I would like to introduce a Model View Presenter Architecture with Dependency Injection based on a "framework," only containing two classes. I would also like to highlight the interaction with SceneBuilder, the JavaFX WYSIWYG editor, without being too heavily dependent on it.
In the session "Demystifying Java EE," I will discuss some recurring misconceptions about the concepts and inner workings of Java EE. There is no magic in Java EE – Java EE 7 is very effective, if you follow some rules.
In “Lean and Opinionated Java EE 7 Applications,” I will introduce opinionated approaches and best practices for the design and implementation of Java EE 7 applications. I'm probably going to shock some architects, but the developers should like this session.
In “Unit Tests Don’t Break: Stress-Testing Java EE Applications,” I plan to stress test a Java EE 7 application and monitor the results in real time. Stress testing is incredibly important and sometimes not even a part of the development cycle.
Q: In addition to your sessions, what do you have planned for JavaOne?
Bien: JavaOne is one of the few conferences where I attend other sessions -- from dawn to dusk. In recent years there was not always time to pick lunch. At NetBeans/GlassFish days before JavaOne I will probably meet some Java friends, while at the actual JavaOne I’ve never managed to do that. The technical content is too good and there is not enough time between the sessions.
Q: Tell us about what’s happening with Enterprise JavaFX 8 apps.
Bien: In the recent edition of airhacks.com I started with HTML 5, but most of the attendees waited for Java FX 8 news. There are a lot of Swing applications out there. Migration from Swing to JavaFX is one of the FAQs. Also JavaFX is "just" Java. You can develop now from the User Interface to the back end using the same language, tools, and environments. You can use the same debugger, profiler or memory analyzer for all of your application tiers and layers. JavaFX suits perfectly enterprise application needs.
Q: What have you been working on lately?
Bien: I’ve helped my customers implement Java EE 7 and JavaFX applications. Also, I ported lightfish.adam-bien.com to Java EE 7 and GlassFish v4 and was even able to simplify the code. I also ported Apache FTP Mina to JavaEE7: http://e2ftp.adam-bien.com
Q: What are your expectations for Java EE 7? For Java SE 8?
Bien: I was already very happy with Java EE 6, so Java EE 7 can only exceed my expectations. I'm using daily builds of JavaFX coming with JDK 1.8 for my "leisure" activities. Here I would expect more stability and even better performance.
Q: How do you assess the state of Java today?
Bien: Java is more interesting for building apps, than ever. And the interest is huge. This year there is an increased tendency to sell out workshops, sessions and conferences. Java 8 together with Java EE 7 and JavaFX 8 will make it even more interesting.
Java has only one problem: its age. We tend to forget how performant, scalable, ubiquitous, and "cutting edge" the Java ecosystem actually is.
Q: What should Java developers understand about unit testing?
Bien: Don't overdo it. Statistics do not matter. Test complex stuff first -- and there is no difference between writing tests for Java SE and Java EE applications
Q: Tell us about ways NetBeans can be used for Java EE 7 development?
A: With NetBeans I'm still able to surprise seasoned developers with productivity without any magic. As a contractor/freelancer I really don't like to spend any time with IDE maintenance and setup. With NetBeans I'm able to set up my full Java EE environment in about a minute on Linux, Windows or Mac. Without any plugins, configurations or restarts. For that reason, I'm using NetBeans daily builds without any friction. What I like the most: NetBeans supports me with integrated code completion, JavaDoc, hints and occasional helpers on demand (like, e.g., creation of beans.xml or persistence.xml) without excessive code generation or opaque wizards. You can achieve 80% with two shortcuts: ctrl + space and alt + enter.
Adam Bien’s Blog
By Janice J. Heiss on Sep 06, 2013
Thursday Aug 15, 2013
By Janice J. Heiss on Aug 15, 2013
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.
Wednesday Jul 03, 2013
By Yolande Poirier on Jul 03, 2013
The biggest Java conference in Europe is taking place in Antwerp, Belgium from November 11 to 15, 2013. The conference is designed by developers for developers and attracts renowned international speakers.
The review committee looks for passionate speakers who are technically knowledgeable and not afraid to speak in front of a full room of Devoxxians.
The speakers can increase CFP acceptance rate by submitting one or more talks for Tools in Action, Quickie, BOF, University session, Conference and Hands On Labs sessions.
Friday May 31, 2013
By Yolande Poirier on May 31, 2013
In a detailed blog, Nandini Ramani, Vice President of Software Development, summarizes Oracle steps to address security issues on the Java platform. Amongst the most recent changes, she explains that "it is now possible to run signed applets without allowing them to run outside the sandbox, and users can prevent the execution of any applets if they are not signed". She lists the impacts of those changes and mentioned for example that "Oracle urges organizations whose sites currently contain unsigned Java Applets to sign those Applets according to the documented recommendations."
She also explains that "Oracle has found that the public coverage of the recently published vulnerabilities impacting Java in the browser has caused concern to organizations committed to Java applications running on servers. As a result, Oracle is taking steps to address the security implications of the wide Java distribution model, by further dissociating client/browser use of Java (e.g., affecting home users) and server use (e.g., affecting enterprise deployments). With Java 7 update 21, Oracle has introduced a new type of Java distribution: “Server JRE.”"
She added that "starting in October 2013, Java security fixes will be released under the Oracle Critical Patch Update schedule along with all other Oracle products. In other words, Java will now issue four annual security releases."
Check out her original blog
Monday Apr 15, 2013
By Janice J. Heiss on Apr 15, 2013
A new article, up on otn/java, by yours truly, titled “The Advent of Kotlin: A Conversation with JetBrains' Andrey Breslav,” explores the new statically typed language, Kotlin, which was named Language of the Month in the January 2012 issue of Dr. Dobb's Journal. Kotlin is a product of the highly lauded Czech software development company, JetBrains, maker of the Java IDE IntelliJ IDEA. Project Kotlin aspires to create for developers a general-purpose language that can serve as a useful tool that is safe, concise, flexible, and 100 percent Java-compatible. Both the compiler and the IntelliJ IDEA plug-in are open source under the Apache 2 license, with source code available through GitHub.
Breslav, the lead language designer for Kotlin, discusses Kotlin's features in the interview. Here are some things he points out:
* “Extension functions and properties in Kotlin can be added to any class/type without altering the definition of the class. This enables us to beautify even existing Java libraries so that the good old JDK looks nice and shiny.
* Higher-order functions (passing code around as values) are a lot more convenient, because Kotlin supports proper function types (as opposed to Java 8's SAM conversions that make you create a new interface every time you need a new function signature to be passed around).
* Declaration-site variance, and variant collections in particular, make common data processing much more natural by eliminating the need for ubiquitous wildcards in generic types.”
Breslav says that Kotlin promotes null safety, through nullable types and “offers control over data modification through read-only collections and data classes and enables safer runtime checks through smart casts.”
He states that Java developers who are in search of a new language will enjoy Kotlin’s clean abstractions, concise syntax, and type safety. Breslav encourages developers to download the compiler and/or a plug-in for IntelliJ IDEA, and start writing their own applications. Any feedback about what developers like and dislike, what they find difficult to understand, and how they are making use of Kotlin will be much appreciated.
Check out the article here.
Sunday Mar 24, 2013
By Yolande Poirier on Mar 24, 2013
Oracle experts are giving a number of sessions about the future of Java technologies:
- Arun Gupta and David Delabassee, Getting started with WebSocket and server sent events using Java
- Attila Szegedi, project Nashorn
- Milton Smith, securing the future with Java
- Simon Ritter, 55 new features in Java SE 8
- Angela Caicedo, beyond Beauty: JavaFX, parallax, touch, gyroscopes and much more
- Simon Ritter and Steven Chin, the Mocha Rapberry Pi Lab
- Angela Caicedo, opening the hidden door: JavaFX deployment everywhere
- Patrick Curran and Heather Vancura, JCP & Adopt-a-JSR workshop
- Patrick Curran and Heather Vancura, How to participate in the future of Java
- Arun Gupta, teaching Java to a 10 year old
Come by the Oracle booth to talk to Oracle experts and staff members, hang out and win Raspberry Pis. Experts will demo Java SE, JavaFX, Java EE, Java ME and Embedded. Open seating area is available for anyone to hang out, meeting fellow developers and network. We will raffle Raspberry Pis (RPis) at the end of every day. At Devoxx UK, winners of 4 RPis will be announced at 7pm on Tuesday and at 3:45pm on Wednesday. At Devoxx France, winners of 3 RPis will be announced every day at 4:45pm.