Tuesday May 31, 2016

From Big Data to Insights

By Editor in Chief Andrew Binstock

Welcome to the May/June issue of Java Magazine in which we look at how big data is done today. An unusual aspect of the platforms that handle big data is that they almost all run on Java — a testimony to its suitability for enterprise-scale needs.

However, today many of the primary tools don't require enterprise size to be useful. Apache Spark, for example, can work effectively on small, human-size databases. We show how this is done with one developer's project of querying a database of first names to find one for his unborn child. But even if you run Spark in enterprise apps, you'll find that it is much easier to use than earlier tools that required extensive setup and fiddling with systems. Our lead article on Apache 101 shows just how simple it can be to work with big data and produce useful results.

We also look at handling large datasets the traditional ways in two articles: with high-volume JDBC and through enormous in-memory data structures. The latter article shows a clever way of storing tens of gigabytes in memory but off the heap.

For those readers who do unit testing on their code (almost everyone, I trust), we preview the new features coming up in JUnit 5.

The rest of the issue shows off Ceylon, a recently released JVM language from Red Hat; how to set up Java cloud apps; and, for beginners, how generics work in Java — all topped off by our famous language quiz, our no-holds-barred book review, and my editorial. Enjoy!

Note: In our quest to support more devices, we have moved away from the former Java Magazine app. Currently, the magazine is available on the web and in PDF. To get the PDF, access the web page from a laptop or desktop and use the download icon on the right side of the page.

We will shortly complete migration of our back issues. Thank you for your patience while this process completes. If you're desperate for a specific back issue, drop me a note. We'll find a way to get it to you.

Like what you see? Wish we'd cover something else? Please send along your feedback, which I read attentively. You can always reach me at javamag_us@oracle.com.

Sunday May 22, 2016

Java Community Event in Japan

JJUG CCC is the largest Java community event in Japan, held twice a year in spring and autumn. The one day event is organized by the Japan Java User Group and attracted over 1,300 attendees last Saturday. Top speakers presented sessions about all Java technologies in 7 tracks. The event closed with entertaining Ignite sessions including a blind sake tasting competition between NightHacking organizers, Sebastian and Stephen, and the community members. 

Some of the session topics were: 
  • Raspberry Pi with Java
  • Type Annotation for Static Program Analysis
  • Eclipse Collections
  • Jenkins 2.0
  • Introduction to JShell: The Java REPL Tool 
  • Java EE Web Profile
  • Python + GDB = Java
  • OpenJDK 
  • Gradle 
  • Play Framework 
  • Java Puzzlers 
  • Java EE 

Pictures of the event 


Wednesday May 18, 2016

New Java Champion Mark Heckler

Welcome New Java Champion Mark Heckler!  

Mark has worked with Java SE and Java EE since the early days of each, and has over 25 years of experience with software development in general. He has filled roles from junior programmer to architect and has been an evangelist/advocate for the past several years. 

As a longtime evangelist of Java and an accomplished developer, Mark co-authored two books on JavaFX: JavaFX 8: Introduction By Example (2014) and Mark Heckler By Example coming out soon. He has been a technical reviewer and contributor on several other books about JavaFX, Raspberry Pi development and security topics. 

He is a frequent speaker at IoT and Java conferences including JavaOne, Devoxx, Focus, JavaLand and more. He has organized many workshops, hackathons and hands-on labs. Follow him on Twitter @MkHeck 

Some of his projects on GitHub are: 
  • DialogFX & MonologFX  dialog support for JavaFX before base release availability 
  • Autonomous4j Java library for providing general autonomic capabilities for airborne drones 
  • A4jMultimode Java library that provides abstractions for autonomous operations of land/air/water drones 
  • Implement A4jMultimode PoC by building land-based drone (robot) running Java SE Embedded on onboard Raspberry Pi
  • Renewable energy monitor/control applications for IoT gateways (Java SE Embedded) and Cloud portal (Spring Boot + Cloud Foundry) 
The Java Champions are an exclusive group of passionate Java technology and community leaders who are community-nominated and selected under a project sponsored by Oracle. Learn more about Java Champions

Tuesday May 03, 2016

Java SE 8 Certification

Prepare for the Java SE 8 exam or upgrade your certification from any previous Java SE to Java SE 8.  There are resources available, whether you are getting a certification for the first time or want to upgrade your certification.

Upgrade Java SE 7 to Java SE 8 OCP Programmer | 1Z0-810
Recommended Training: Java SE 8 New Features

Upgrade to Java SE 8 OCP (Java SE 6 and all prior versions) | 1Z0-813
Exam Topics: Upgrade to Java SE 8 OCP (Java SE 6 and all prior versions)

More about Certification:



Wednesday Apr 27, 2016

Java SE Webinar Replay

Learn how improvements to the Java platform, APIs and the Java language will help you develop innovative applications using parallel programming, integration with other languages and tools, and APIs that will substantially boost your productivity. Watch three webinar sessions from the April edition of Virtual Technology Summit

Java on Mobile: Johan Vos shows how easy it is to create a highly-polished Material Design Java application, and to deploy it on an Android device and an iOS device with exactly the same code used in both deployments.

Asynchronous programming in Java 8: Jose Paumard explains how the patterns introduced by this interface and its implementing class are new to the Java platform, and how they fill the gap in the old Future patterns.

Java SE 8 for Java EE Developers: David Delabassee presents powerful Java 8 APIs such as Lambda expressions, a new Date and Time API, the Streams API, Completable Futures, Nashorn, Repeatable Annotations, String joiners, etc.

Tuesday Apr 26, 2016

2016 JavaOne Registration Now Open

The JavaOne conference brings together Java experts and enthusiasts for an exceptional week of learning and networking focused entirely on all things Java. With hundreds of sessions, you will learn from the most innovative and diverse Java content. You can't afford to miss it!

September 18 - 22, 2016, San Francisco. Register now!

With a full conference pass, you get:
 • Access to more than 500 JavaOne sessions, Birds-of-a-Feather (BOF) sessions and JavaOne Hands-on Labs (HOLs)
 • Keynote sessions for JavaOne and Oracle OpenWorld
 • Java User Group Forum
 • Exhibition Halls at JavaOne
 • Access to the Java Hub 
 • Oracle Appreciation Event

Important ways to save:
 • The call for proposals is open until May 9. If your session is accepted, you will receive a full pass
 • You will save $600 with the Super Saver rate, if you register before May 1
 • Employees of a national/federal, state, provincial, or local government entity, including public higher education institutions can benefit from government rate.

Thursday Apr 21, 2016

JavaFX Applications Across Devises

Using the new Gluon Mobile framework and some hardware from Adafruit, Gerrit Grunwald describes how to create a mobile/desktop application that can be used to control a mood light that can be turned on and off, set to a particular color, or set to a color cycling mode. His goal in the article "In the Mood: Build Your Own Mood Light and Control It with Java" is to show how easy it is to create a mobile app based on JavaFX.

The Gluon Mobile framework provides methods for achieving platform-dependent settings, which is critical when building an app for different platforms--such as mobile, embedded, and desktop devices--because the UI design is often totally different on different platforms. And, if you are building an Android app, Grundwald points out another advantage of the Gluon Mobile framework: even though Android is not capable of running Java 8, you can use Java 8 in your source code because Gluon Mobile uses retrolambda, which makes it possible to use Java 8 features (except streams) on Java 7.

Grundwald's mood light can be hooked up to the internet and controlled remotely from different devices, such as a mobile phone and a desktop computer. And, if you don't think you need a mood light, he points out another use: you can use it as a build-server status light or for other purposes.

To see how using JavaFX on mobile devices can be a real alternative to native applications--not for all use cases, but at least for some--read the article.

Tuesday Apr 19, 2016

New Release JDK 8u91 and JDK 8u92

JDK 8u91 and 8u92, two new Java 8 updates are now available. Oracle strongly recommends that most Java SE users upgrade to the latest Java 8u91 CPU release, which includes important security fixes. Java SE 8u92 is a patch-set update, including all of Java 8u91 plus additional features. You can download the latest JDK releases from Java SE Downloads page. 

For information on new features and bug fixes included in these releases, see the following release notes: 

JDK 8u92 Release Notes

Check out Java CPU and PSU Releases Explained for more details  

Wednesday Mar 30, 2016

Last Interactive Online Java Webinar with Q&A

The Virtual Technology Summit (VTS) delivers interactive Java technical content from Java Champions and Oracle experts to your desk.  

The interactive, online event, is sponsored by the Oracle Technology Network (OTN). The April 5 event is the last one in this VTS series. It features six Java technical sessions about Java EE, cloud, and Java SE API. Register now

The Java Track includes three code-heavy sessions:

Java on Mobile: Thanks to innovations in mobile JVM's and the availability of JavaFX on iOS and Android, it is now possible to write applications once (in Java) and deploy them on the major mobile platforms. In this session, we will show how easy it is to create a highly-polished Material Design Java application, and to deploy it on an Android device and an iOS device with exactly the same code used in both deployments.

Asynchronous programming in Java 8: how to use CompletableFuture: This presentation aims to explain how the patterns introduced by this interface and its implementing class are new to the Java platform, and how they fill the gap in the old Future patterns.The different models are precisely presented: how to create complex asynchronous processing pipelines, how to deal with exceptions, how to test complex code. 

Down-to-Earth Microservices with Java EE: the session explores microservices using a simple but representative example using Java EE. You'll see how the Java EE programming model and APIs like JAX-RS, WebSocket, JSON-P, Bean Validation, CDI, JPA, EJB 3, JMS 2 and JTA aligns with the concept of microservices.

Java SE 8 for Java EE Developers: Java SE 8 brings a bounty of improvements. In this session, you will learn about Lambda expressions, a new Date and Time API, the Streams API, Completable Futures, Nashorn, Repeatable Annotations, String joiners, etc.

Thinking Beyond ORM in JPA:  This session discusses native-query support in JPA along with stored procedures and result set mappings in JPA 2.1. The presented code samples illustrate the details of the API, highlighting their strengths and weaknesses. Our analysis reveals applicable use cases and most popular approaches. The summary provides guidelines on how and when to utilize native queries.

Visualizing Data in the Cloud with Oracle JET: Oracle JET is a free and open source toolkit, providing a solid basis for enterprise JavaScript applications, including built-in solutions for accessibility, modularity, and data visualization. In this code-driven session, you will learn everything you need to know to create maintainable enterprise applications in JavaScript!

Thursday Mar 24, 2016

DukeScript and Duke Sewing

 “There is no Java on some of the new devices and we wanted to change that” explains Author and JavaOne rock star Toni Epple. He describes the DukeScript project and how you can use it for cross-platform development on mobile, desktop and web browsers. Discover his new project to automatically sew a Duke design.  


About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« May 2016
SunMonTueWedThuFriSat
1
2
4
6
7
8
9
11
13
14
15
16
19
20
21
23
24
26
27
28
29
30
31    
       
Today