Wednesday Jun 22, 2016

A Two-Wheel Self-Balancing Robot: JBalancePI

Create a two-wheeled, self-balancing robot using Raspberry Pi 2 Model B with GPIO and I2C interfaces and Java 8 in part I of this new series by Jose Cruz. To control the robot's movement and balance, he uses three modules: a sensor that contains a three-axis gyroscope and an accelerometer, a pulse width modulation (PWM) servo driver, and a motor driver. These modules create a feedback control loop that balances the robot and automatically corrects its position. 

As Cruz explains, balancing a robot is an example of the classic inverted pendulum problem, in which a large mass is placed at the end of a pole. He provides an explanation of the mathematics that make this solution possible, and then he shows how to create the necessary Java ME 8 classes for controlling the robot. To learn more, read the article

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 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.

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.  


Wednesday Mar 23, 2016

New Java SE Releases

Java SE 8 update 77 (Java SE 8u77) and Java SE Embedded 8 Update 77 are now available. Oracle strongly recommends that most Java SE users upgrade to the latest Java 8 update 77, which includes important security fixes. You can download the latest releases from Java SE and Java SE Embedded pages. 


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

Thursday Mar 10, 2016

New Java Champion Marcus Lagergren

Welcome the new Java Champion Marcus Lagergren!

Marcus Lagergren has been involved with the Java platform since the alpha versions. He worked at Appeal Virtual Machines, a performance-oriented start-up offering alternatives to byte code interpretation, slow-running thread implementations and non-native code. As one of the principal architects of the JRockit JVM, Marcus helped make sure that Java became a good alternative to writing programs in native languages. 

Marcus contributed to virtual implementations of Java on hypervisors, when virtualization was still in its infancy, and demonstrated with the JRockit VE project that virtual solutions are good alternatives to physical platforms.  

Marcus worked as a member of the Java language team implementing Java 8. He worked on improving support for dynamic languages on the JVM. Being a performance engineer at heart, Marcus demonstrated that dynamic languages, thanks to invokedynamic, achieve similar performance on the JVM compared to languages with a static type system. 

Marcus has co-authored a book on JVM internals, “Oracle JRockit - The Definitive Guide”. He is also a frequent speaker at Java conferences. Follow him @lagergren

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

Wednesday Mar 09, 2016

CompletableFuture in Java 8

Suppose you want to execute some code that queries a database so the code is executed in a separate thread and then trigger the printing of the query result when it is available. Using a well-known pattern introduced in Java 5, you could wrap the task to be executed in a Callable, and submit this object to an ExecutorService. But the only way to get the result is to use a blocking method: the get() method of the Future object returned by the submission of the Callable. Paumard shows how to use CompletionStage instead, which results in no more thread blocking. 

In this article "CompletableFuture for Asynchronous Programming in Java 8", José Paumard describes several elegant patterns that enable you to chain and compose tasks in a very rich way, as well as control which thread executes each task. To see examples of how to use CompletionStage and CompletableFuture to fine-tune asynchronous data processing pipelines that suit the needs of your applications, check out the article.

Wednesday Mar 02, 2016

The Story of Traits

“Java does not permit multiple implementation inheritance, but the problem is not gone,” explains Venkat Subramaniam. In his session, you will learn about solutions in Java 8 and previous versions. The presentation also explores the options available in Scala and Groovy.

Tuesday Mar 01, 2016

New Java Champion Mario Fusco

Welcome the new Java Champion Mario Fusco!

Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He has years of experience as Java developer working on enterprise projects in industries ranging from media to the financial sectors.

He is passionate about functional programming and Domain Specific Languages and developed the open source library lambdaj which provides an internal Java DSL for manipulating collections and introduced functional programming in Java before the introduction of lambdas. 

Mario is a frequent speaker at major Java conferences such JavaOne, Devoxx, LambdaWorld, and Voxxed. He authored a number of articles about parallel programming on InfoQ and Dzone websites. He is the co-author of Java 8 in Action published by Manning. Follow him on Twitter @mariofusco

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

About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« June 2016
SunMonTueWedThuFriSat
   
3
4
5
6
9
10
11
12
13
17
18
19
20
23
24
25
26
27
28
29
30
  
       
Today