Tuesday Feb 09, 2016

Java on Mobile

Wondering how to create Java applications that you can deploy on different mobile devices? Why not use JavaFX user interface framework for cross-device development? New mobile JVM and the availability of JavaFX on iOS and Android make it possible to write applications once (in Java) and deploy them on multiple platforms.

In his ‘Java on Mobile’ session, Johan Vos will explain how developers can leverage their Java skills for today’s mobile development. He will describe the benefits of the Java platform and JavaFX for mobile user interfaces. Many open source development tools and libraries like Gluon solutions are available to facilitate Java mobile app creation and cross-deployment. 

Johan will also explain how to port Java applications to iOS, Android and Microsoft mobile and present a live demonstration showing how to deploy the same application on iOS and Android devices.   

This ‘Java on Mobile’ presentation is part of the next Virtual Technology Summit sponsored by the Oracle Technology Network. For your convenience, we offer the event in three time zones as follows: 
  • Americas - March 8th- 9:30am to 1:00 PST - Register
  • APAC - March 15th - 9:30am to 1:00pm IST - Register
  • EMEA - April 5th - 9:30am to 1:00pm BST - Register
This VTS provides two tracks on Java SE and Java EE with six hands-on sessions. Check out the full VTS agenda here

Wednesday Feb 03, 2016

Medusa: Gauges for JavaFX

Have you ever had a need for a standard gauge control? Gerrit Grunwald has, so he decided to create a library of gauges he calls Medusa. 

In his "Medusa: Gauges for JavaFX" article, he describes the standard gauge his library provides, plus he explains his FGauge control, which enables you to easily embed the Medusa standard gauge into a simple control you create that contains a frame and a background. 

The main idea of Medusa was to enable developers to use one gauge control class that contains all the properties a gauge needs. Grunwald also created several skins and a GaugeBuilder class that lets you easily set gauge parameters. To see examples and learn more, read the article.

Wednesday Jan 13, 2016

Optionals: Patterns and Good Practices

Interested in learning about elegant patterns that provide new ways to handle corner cases for data processing pipelines?

In this article, José Paumard explores several patterns that use Optional, a new Java SE 8 final class with a private constructor. This class provides alternatives for writing data processing pipelines built on streams, resulting in better and more-fluent code.

Paumard describes how to build optionals, explains why we need them, and demonstrates several patterns you can use in various scenarios. The first patterns use an optional as a wrapper object, which may or not have a value. The second patterns expose methods of the optional class. 

To learn more, read the article.

Thursday Jan 07, 2016

New Java Champion José Paumard

Congratulations to the new Java Champion: José Paumard!

José is an assistant professor at the Institut Galilée (Université Paris 13), PhD in applied mathematics from the ENS de Cachan. He has also worked as one of the lead members of the Paris JUG for 6 years, and is a co-founder of Devoxx France.

As a member of the CDI 2.0 Expert Group, he has contributed new ways of handling events, especially in the asynchronous part of the spec. He provided new patterns that have been adopted by the EG. 

José has been working as an independent programmer for 20 years and is a well-known Java / Java EE / software craftsmanship expert and trainer. His expertise includes Tomcat, JBoss, Weblogic, Websphere, Glassfish, and the most popular Java EE parts: JPA (Hibernate & Eclipselink), EJB (including version 2), JMS, JTA, the Web tier, and more.  

José speaks at conferences, including JavaOne and Devoxx; and writes technical articles for various publications including Java Magazine and Oracle Technology Network. Passionate about education, he publishes MOOC for several companies: Oracle Virtual Technology Summit, Pluralsight, Microsoft Virtual Academy and Voxxed.

His blog: blog.paumard.org/en/ Follow him @josepaumard

Java champions are an exclusive group of passionate Java technologists and community leaders who are community-nominated. Learn more about Java Champions

Thursday Dec 17, 2015

Java Books in 2015

Whether you are looking for gifts or plan to catch up on reading over the holidays, there are many Java programming books available. Most of the authors are well-known leaders in the Java Community and famous writers with several programming books under their belts 

Java: The Legend by Ben Evans
Introducing Java 8 by Raoul-Gabriel Urma
Minecraft Modding with Forge by Aditya Gupta, Arun Gupta
Java Programming 24-Hour Trainer, 2nd Edition by Yakov Fain
Pragmatic Unit Testing in Java 8 with JUnit by Jeff Langr, Andy Hunt, Dave Thomas
Beginning Java Programming by Bart Baesens, Aimee Backiel, Seppe vanden Broucke
Java EE 7 Development with NetBeans 8 By David R. Heffelfinger
Functional Programming in Java by Venkat Subramaniam 
JavaFX Essentials by Mohamed Taman

If I missed anything that you wish to recommend, please suggest additional book titles as a comment.

Wednesday Dec 16, 2015

Java on Raspberry Pi

The Raspberry Pi now comes with BlueJ and Greenfoot, two educational programming environments for 14 year olds and up.  "This is the first time a Java development environment runs directly on the Raspberry Pi", says Michael Kölling, Professor of Computer Science at the University of Kent and project leader for the BlueJ and Greenfoot projects. ‘We provide a custom-made library for the Pi; it has never been this easy to access its hardware components from any programming language.’

Designed for young developers, Greenfoot is an interface for creating games and simulations with Java. Those games can now run on Raspberry Pi using sensors and other hardware. Tutorials are available to learn the IDE and build games. The IDE and training are free. 

BlueJ is designed to teach Java basics to university students in their first year of programming.  Millions of students each year start learning with BlueJ tool. It helps them understand object-oriented concepts and get started with Java faster than with traditional teaching methods. Tutorials with BlueJ and the Raspberry Pi are available here

This makes a great holiday gift! Just buy the newest Raspberry Pi 2 which comes with BlueJ and Greenfoot. 

Useful Links:  
Programming Contest: The Greeps Are Coming!
Greenfoot.org 
 BlueJ.org

Thursday Dec 10, 2015

Certification Discount ends December 31

Get 20% off any Java certification exam until December 31! Don’t miss this great opportunity to get Java certified and show off your credentials. 

How to get started 

1. Find the Java exam that meets your skill level and experience.
2. Review exam preparation and topics.
3. Register at Pearson VUE. Use promotion code Java20 to receive the 20% discount.

This globally available offer is open until December 31, 2015. 


Thursday Dec 03, 2015

Press Your Button for Raspberry Pi

By Guest Blogger Roberto Marquez  

The Raspberry Pi is a great platform for creating your own interactive games.  Recently, I designed an application utilizing an arcade button attached to a GPIO pin.

The game uses Java Standard Edition for Embedded Devices as the implementation platform.  It uses JavaFX APIs and FXML to create the user interface which runs on the screen buffer.  This means no X windowing session is required to run the game on Raspberry Pi.  It also runs on desktops with the latest version of Java 8.

The game is similar to the TV game show ‘Press Your Luck’, but differs in several ways:
  • single or multiplayer (1-3 players)

  • winner is determined by the first player to reach a predetermined score

  • Whammys only remove half the current player's score, and not the whole thing

Here is a video demo:


Here is a wiring diagram of the project:


More assembly instructions and other details are available in the project guide.

Reach out the author:


Wednesday Oct 14, 2015

Java Champions Speaking at JavaOne 2015

Java Champions will present dozens of sessions this year again at JavaOne! They are an exclusive group of passionate Java technology and community leaders, nominated by the Java community. They are seasoned developers and architects with in-depth knowledge about development.  

These top speakers share their know-how in all the JavaOne tracks including client, core Java platform, Internet of Things, JVM languages, security, tools, server-side, cloud and methodology.  

This year, we created a dedicated page on the JavaOne site where you can easily find the sessions presented by Java Champions. You can find out about their sessions by day and read the session abstract.  JavaOne is your chance to learn from the greatest number of Java Champions! 

Wednesday Aug 12, 2015

Solving Problems Using the Stream API

Play a game while learning about Lambdas and Stream API!  Jose Paumard introduces Shakespeare Plays Scrabble game in a Java Magazine article of the same name. He shows how you can use the Stream API, which was introduced in Java SE 8, to solve a map/filter/reduce problem that is built on the Scrabble game. As Jose points out, Java SE 8 requires developers to think differently about their coding solutions. 

By following his Scrabble example, you can learn how to use the Stream API to address some common tasks in business applications--such as building histograms, comparing histograms, and handling corner cases raised by empty streams--efficiently and without using much code. 

Jose presented the same topic in a Virtual Technology Summit session. The session is now available online as a replay


About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« February 2016
SunMonTueWedThuFriSat
 
1
4
5
6
7
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
     
       
Today