Tuesday Jul 14, 2015

Develop Non-Blocking Web Applications in Java

As Re Lai explains in this article, web applications have traditionally processed requests synchronously on the server side. Asynchronous programming is generally used on the client side. However, due to the advent of social networking, mobile devices, and the Internet of Things, non-blocking request processing on the server side has taken off as an important technique for meeting ever-more-daunting performance demands.

Lai's article explores the asynchronous support provided in several popular web frameworks--Servlet, JAX-RS, Spring MVC, Vert.x, and the Play Framework--for implementing non-blocking server-side request processing. He also discusses a sample application, todosapp, to show how to implement non-blocking web applications in these frameworks. Read Lai's article

Friday Jul 10, 2015

3D Printing Meets Raspberry Pi

Create a robot from scratch with 3D printed and electronic parts! In the next Virtual Technology Summit, Michael Hoffer will walk you through the design and production of 3D printed parts for the robot.  “The most fascinating aspect of 3D printing is that it is astonishingly easy to customize the robot” he explains. He built this remote controlled robot with only a Raspberry Pi, 2 server motors, a bread board and a battery. 

VTS is free! You just need to register and choose an event in your time zone:

  • Americas - July 14th - 9am to 12:30 PST - Register
  • EMEA - July 15th - 9am to 12:30pm BST - Register
  • APAC - July 23rd - 3pm to 6:30pm AU/SYD - Register

Get Started with Lambdas and Streams

Want to finally get hands-on training on Java 8 Lambdas? Join the JDK 8 MOOC on Lambdas and Streams! The course starts on July 14th and runs for 3 weeks. Take this online course at your own pace. You will be able to interact with your peers and the instructor panel on a dedicated forum. 

In this course, you will learn: 
  • Apply Lambdas to everyday problems
  • Convert anonymous classes to Lambda expressions
  • Apply the Streams API to solve problems of sorting, identifying the most and least, and reducing duplicates
  • Determine when to apply Lambdas (and when not to!)
  • Use Collectors
  • Improve performance with parallel streams
  • Debug Lambda expressions

This course is free.Register Today

Wednesday Jul 08, 2015

Java ME 8 Tutorial Series

In Part 1 of his series on using Java ME 8 to control Internet of Things (IOT) devices--such as LEDs, relays, LCDs, sensors, motors, and switches--connected to a Raspberry Pi, Jose Cruz explained how to work with devices that use a simple general-purpose input/output (GPIO) interface. GPIO devices can be used as either a digital input or digital output, can be disabled or enabled, and can be used to drive interrupt lines. Part 1 explored how to connect and control a flame sensor, a movement sensor, and a motion sensor.

In Part 2 of his series, Cruz described how to connect and control devices that use an inter-integrated circuit bus (I2C) interface. 

Now, in Part 3 of the series, Cruz demonstrates how to use universal asynchronous receiver/transmitter (UART) interfaces to connect devices that read latitude, longitude, altitude, and time from a GPS receiver engine board and provide the information via spoken voice in English and Spanish.

As before, you will see how to develop Java ME 8 classes that allow you to gather data and control these devices. The code for the classes is very similar, so once you understand it, you will be able to create new classes that control additional UART devices to create your own IoT world.

Customize Your JavaOne Experience

By David Lopez

Looking for the perfect way to experience this year's JavaOne conference? With a variety of packages, add-ons, and deals, JavaOne 2015 has something for everyone.

The full conference pass gives you the most access. With the pass, you have access to over 450 JavaOne sessions and events, keynote speakers and exhibition halls at both JavaOne and Oracle OpenWorld (Check out our great keynote lineup here), the Oracle Users' Forum, the rockin' appreciation event, and so much more. If you're looking to bring a guest along who isn't looking for the full experience, check out our guest add-on. With access to key networking events, exhibition halls, keynotes, and the appreciation event, your guest will get a taste of JavaOne.

If you're looking for a lighter JavaOne experience, be sure to check out the Discover package. Discover offers access to keynotes, exhibit halls, and more at an early bird price of just $50.

There are plenty of other ways to save at JavaOne. Registering for full conference with a group? You can save up to 28% off. Or maybe you're just registering for one. Early bird discounts are still in effect, so register soon and save up to $600. We also offer special government rates for government employees, including higher education institutions.
Take advantage of these deals and be sure to register today! The party starts soon!

Tuesday Jul 07, 2015

Start Testing with Java 9

Learn about some of the changes in the upcoming Java 9 release, expected in Fall 2016. The release is currently in an early stage and a list of features compiled from the list of JEPs is available online. This is a starting point for testing whether Java 9 will affect your code. Make sure to check the list of added, changed, removed functionalities. There are suggestions about how to best test your code against Java 9.

Check out how you can be more involved and participate in Adopt OpenJDK. This community program will get you started whether you want to attend an OpenJDK testing workshop, run your own event, just learn more about the technology or provide feedback. Visit Adopt OpenJDK.

Wednesday Jul 01, 2015

Java 8 Lambdas and Streams Online Training

Want to sharpen your functional programming skills and solve a programming problem with lambdas and streams? In the next Virtual Technology Summit, you will learn how lambdas and streams can be used to solve a Scrabble game problem. With the Scrabble dictionary, the list of the words used by Shakespeare, and the Stream API in hand you will find out the three best words Shakespeare could have played.

VTS is free! You just need to register and choose an event in your time zone:

Americas - July 14th - 9am to 12:30 PST - Register
EMEA - July 15th - 9am to 12:30pm BST - Register
APAC - July 23rd - 3pm to 6:30pm AU/SYD - Register


At the last VTS, Simon Ritter presented “how to think functional with JDK 8”. He described the functional style in detail. Watch the replay and get ready to solve the Scrabble problem!

Tuesday Jun 30, 2015

JavaOne Latin America Highlights

Well-attended by developers, JavaOne Latin America took place last week in São Paulo Brazil.  Amongst the myriad sessions, meetings, entertainment and parties, here are some highlights. 

The community keynote was themed with 20 years of Java and organized by two Java Champions Fabiane Nardon and Bruno Souza. They chronicled the deep involvement of the Brazilian community throughout the history of Java. Bruno Souza, a.k.a JavaMan, founded the Brazilian Java user group SouJava in 1999. Juggy, the Java Finch mascot, was born in 2004.   Fabiane Narbon with her team won the Duke’s Choice Award for Healthcare Information System in 2005. SouJava became the first Java user group member on the JCP executive committee in 2011. 

NightHacking interviews took central stage at the Java Hub. The interviews are being rolled out during the next two weeks. Now available are interviews about Java TV with Bruno Gualda and Thiago Silva, Java and IoT with Vinicius Senger, Java Embedded with Leonardo Lima and Java IoT Cloud with Marco Maciel 

The strategy keynote was packed to hear Vice President of Java SE Platform Georges Saab discuss Java 9 modularity. He encouraged developers to download and test the pre-release builds. “JUGs around the world have helped shape the future of Java EE by participating in the JCP and the Adopt-a-JSR program” explained Senior Director of Software Development Robert Clark. 

Tuesday Jun 23, 2015

Asynchronous Processing

In this interview, Tomasz Nurkiewicz discusses asynchronous processing topics including CompletableFuture, parallelStream(), actors, agents, software transactional memory, Groovy GPars, shared distributed memory, RPC leaky abstraction, and debugging and monitoring asynchronous code. 

Tomasz is a developer who has been programming in Java for the last 8 years in the financial sector. He loves back-end, and passionate about alternative JVM languages.  He is interested in charting, data analysis and reporting. He is DZone’s Most Valuable Blogger (http://nurkiewicz.com)  and used to be very active on StackOverflow.

Sunday Jun 21, 2015

NightHacking at JavaOne Brazil

Watch the interviews live on the NightHacking home page from Tuesday to Thursday during JavaOne next week: http://nighthacking.com/

Nighthacking interviews will take place at Java Hub in the exhibit hall of JavaOne and Oracle OpenWorld at the Transamerica Expo Center in São Paulo, Brazil  

Here is the full interview schedule (all times in São Paulo, Brazil Time          or -3 hours UTC) 


Insider News from the Java Team at Oracle!



« September 2015