Wednesday Mar 26, 2014

Hacking with Raspberry Pi and Java

Two new videos about Raspberry Pi GPIO with Java are now available. This hands-on training  is part of the IoT Developer Challenge and will help you to create a winning project to submit. This is a great opportunity to win a trip to JavaOne 2014! Submissions are accepted until May 30, 2014

In the first video, you will learn about the Raspberry Pi set up and the installation of Java SE Embedded and JavaFX. In the second video below, expert Vinicius Senger explains the Raspberry Pi GPIO and protocols as well as how to use the Pi4J project, a set of libraries enabling the access of the Raspberry Pi with Java. Vinicius also gives several demonstrations using a camera, LED lights, buttons and a relay board to connect to appliances. You can download the code of his demonstrations, including Pi4J Helloworld, PiPicture, Twitter4Pi and Lcdl2C

Tuesday Mar 25, 2014

Java Magazine: Java SE 8

The March/April issue of Java Magazine jam-packed with information to get you started with Java SE 8, a revolutionary release of the world’s #1 development platform. 

The biggest change in Java SE 8—what some have called the most significant upgrade to the Java programming language ever—is lambda expressions, or closures. “Lambda expressions are anonymous methods that provide developers with a simple and compact means for representing behavior as data,” explains Brian Goetz, Java language architect at Oracle. “In a few years, developers will wonder how they ever lived without [them].”

In “Java 8: Explore the Possibilities,” we give you an overview of lambdas, the Nashorn JavaScript engine, Compact Profiles, the new date and time API, the role of community, and more. We also explore the new features that make Java ME 8 a comprehensive platform for connected devices and show you how to get started with embedded development. There are also articles on processing data with Java SE 8 Streams and the benefits of type annotations. Get started with Java 8 today with this issue of Java Magazine.

Java Magazine is a FREE, bi-monthly, online publication. It includes technical articles on the Java language and platform; Java innovations and innovators; JUG and JCP news; Java events; links to online Java communities; and videos and multimedia demos. Subscriptions are free, registration required.

Do you have feedback about Java Magazine? Send a tweet to @oraclejavamag.

Java SE 8 Launch Webcast TODAY

Want to learn about the single largest upgrade ever to the Java programming model, with coordinated core code evolution of the virtual machine, core language, and libraries? The Java SE 8 Java 8 Launch webcast is today, March 25. You'll hear from the people who build Java 8, and why the new features are important. Join us for a look at this revolutionary release of the world’s #1 development platform. Register now for the Java 8 keynote address and more than 35 deep-dive technical sessions. 

Prep work:

Download Java JDK 8.

Use #Java8QA to tweet questions for the Oracle Java Architect Team in advance of and during the webcast.

Join the discussion on the OTN Java 8 Questions Forum.


Monday Mar 24, 2014

The Future of Application Development Tools at Oracle

Last week we met with Chris Tonas, Vice President of Mobility and Application Development Tools at Oracle, to hear his take on the latest in the world of Java tooling and development frameworks. 

Q: Can you tell us a little bit about your role at Oracle as it relates to development tools? 

A: I lead the organization that is working on Oracle’s software development tools and frameworks, specifically, the teams that build our offerings for Java developers - whether in NetBeans, Eclipse or JDeveloper. Our team also builds the tools and frameworks that are used by developers working with Oracle’s cloud and mobile platforms.

Q: This week saw the release of JDK8 and NetBeans 8 along with it. How do you view this release? 

A: The release of JDK 8 and NetBeans 8 this week represents a big step forward for both Oracle and the Java Community. A lot of hard work and collaboration went into this milestone and I’d like to take a moment to thank everyone who contributed to this achievement. 

Q: With the new NetBeans 8.0 out, what are the plans for NetBeans going forward? 

A: In the short term, an update release of NetBeans 8 is underway to align with Java ME 8. Additional NetBeans 8 releases that target specific bugs are anticipated to be released after that. Longer term, Oracle is committed to the continued success of both Java and NetBeans. Work on JDK 9 is now underway and we’re planning a NetBeans 9 release to go along with it, as usual. 

Q: As you mentioned Oracle supports more than just the NetBeans IDE. What’s the thinking behind that? 

A: Oracle recognizes that developer tools aren’t a one-size-fits-all proposition. Oracle is a significant contributor to the Eclipse project and we are continuing to extend the capabilities of our Eclipse-based solutions as well. We offer JDeveloper for those who want the tightest alignment with the Oracle Fusion Middleware stack. In addition, we recognize that many JavaScript developers want to use light weight tools, and we are planning to address those needs as well.

Q: What are some of the key trends you see in the software development space right now? 

A: It’s clear that several significant trends are shaping software development and tools. Oracle is at the forefront of these changes and a leader in almost every aspect. We see three main changes happening right now:
  • Java remains the industry standard for server-side development, but we see growing demand to support developers using the combination of JavaScript and HTML5 for the presentation layer. We see JavaScript starting to gain ground for some server side use cases as well.
  • The shift to cloud-based deployment is now mainstream. Development for the cloud presents a new set of challenges and demands a fresh approach.
  • The third shift is the move to mobile. Mobile development must be integrated across the enterprise from the design phase throughout the lifecycle.

As the providers of tools for developers, these changes require an evolution of the tooling and infrastructure used to design and develop applications. 

Q:  So what is Oracle doing to address these developments? 

A: Some of the work has already happened. For example, NetBeans has supported the Java and JavaScript combination for a few releases now. Looking forward, Oracle has several new and innovative browser-based, cloud-centric and mobile initiatives underway that we will be sharing with the community over the next several months.

We are leveraging skills and technology from across our current developer tools organization to develop these new capabilities. We see the new generation of developer tools as complimentary to the tools that developers use and love today. The first of these initiatives that you’ll be able to use will be the forthcoming Oracle Developer Cloud Service – bringing your ALM and team collaboration work to the cloud. You can read more about it at http://cloud.oracle.com/developer 

Q: Where can developers learn more about these new tools? 

A: Just like every year, Oracle’s full vision for the future of software development will be shared at JavaOne and Oracle OpenWorld later this year. Our team is looking forward to sharing what we are working on with the development community.

Q: Thank you for your time, Chris. 

A: You're welcome.

Friday Mar 21, 2014

Java 8 is Revolutionary! Want Proof?

Java SE 8 is a revolutionary release of the world’s #1 development platform. It is the single largest upgrade ever to the programming model, with coordinated core code evolution of the virtual machine, core language, and libraries. With Java SE 8, you are uniquely positioned to extend innovation through the largest, open, standards-based, community-driven platform. Want proof? Attend the Java 8 Launch webcast for all the authentication you need!

Download Java JDK 8.

Register now for the Java 8 keynote address and more than 35 deep-dive technical sessions.

Use #Java8QA to tweet questions for the Oracle Java Architect Team in advance of and during the webcast.

Join the discussion on the OTN Java 8 Questions Forum.


Thursday Mar 20, 2014

Java 8, Eclipse, and the Future

Sometimes the planets just align. It was great that the Java 8 Day was at EclipseCon the day Java 8 launched.  That all the major IDEs provided Java 8 support on the day Java 8 launched was another great alignment -- thanks to everyone in the Java community that made it happen! 

Java 8 Day at EclipseCon was standing room only. Georges Saab opened the day with explaining how the Java 8 supports the basic definition of Java: it is simple, stable, fast, scalable and easy to read. Alex Buckley, Spec Lead for the Java Language & VM, described lambda expressions as "perhaps the biggest upgrade ever to the Java programming model." But Java 8 is much more than lambdas. He mentioned the new Stream API. Buckley said "The jump from Collections to Streams is larger than the jump from anonymous classes to lambda expressions." Thomas Schindl discussed JavaFX 8. Hinkmond Wong gave a great explanation of Java SE Embedded 8 Compact Profiles (slides here, stay tuned for future Java Magazine article). 

Executive Director of Eclipse Foundation, Mike Milinkovich (@mmilinkov) gave the EclipseCon keynote "Eclipse: The Next Ten Years." After discussing the history and success of Eclipse, Milinkovich provided the caveat that he does not have the power to dictate what projects will occur in the Eclipse community. "I think of my title as Chief Eclipse Cheerleader," he said. "It's a very Darwinian, bottom up process. What survives is what works," he explained.

Milinkovich talked about the trends he sees that will have an impact on developers and IDEs, and they apply to Java and the open source community as well:

Trend #1: Software is Eating the World
With a nod to Marc Andreesson, Milinkovich said that software is becoming ever more important and has an effect on everything, including how companies are valued. He gave the example of the Airbus Aircraft: the amount of software code used onboard on class of aircraft grew four times larger in three years. So should Airbus think of themselves of an airplane company or a software company? Not only is the codebase huge, but the lifespan of applications can span generations. "Would you program differently if your granddaughter will have to maintain your code?" Milinkovich asked with a smile.

Trend #2: Thing Internet of Things
What is the size of the IoT market? Is IoT a $14 Trillion market or is that hype? Whatever the number, IoT is big and will continue to grow. Most importantly, Milinkovich said, we need OPEN IoT. Eclipse has 14 projects in the IoT space, and he expects more to come. There was lots of interest in the IoT sessions at EclipseCon.

Trend #3: The Cloud
Evans Data predicts that by 2019, 65% of developers will primarily develop for cloud. Does that mean all the functionality from current desktop IDEs should be moved to the cloud? Milinkovich introduced a demo of Project Flux, showing how to connect an Eclipse project to the cloud. There were multiple sessions on developing in the cloud throughout EclipseCon. 

Java and Eclipse have both enjoyed years of great community, great technology and significant impact in the software industry. That comes from lots communication, lots of hard work, and favorable planetary alignment. 

Wednesday Mar 19, 2014

Free IoT and Java Training!

Our latest training is about Raspberry Pi, Java Embedded and IoT. This training is to help you, developers, to build a Java embedded application and submit it to the IoT Developer Challenge by May 30th.  The winners will receive a trip to JavaOne 2014.


On top of new video training being available every week, you can ask technical expert Vinicius Senger about any technical issues you face with your project during the weekly webinar. Register for the next webinar on Monday, March 24, 2014


Can't attend the webinar? Ask your questions on the Challenge dedicated support forums.

Tuesday Mar 18, 2014

Java SE Embedded 8 is Now Available

Java SE Embedded 8 

In addition to Java SE 8, Oracle has also announced the General Availability of Oracle Java SE Embedded 8. It provides a development platform for embedded devices and the Internet of Things, with all of the flexibility, portability and robust features available in the Java SE Platform.

Download Oracle Java SE Embedded 8

Oracle Java SE Embedded 8 Documentation

The 
Java SE 8 Central Resource page (for both SE 8 and Embedded)

Join us on March 25 for the Online Launch

Java SE Embedded 8 and Compact Profiles

Java SE Embedded 8 is a new release of Java SE technology that for the first time has the feature of Compact Profiles.  There are three new Compact Profiles that represent three new, smaller Java SE Runtimes that are compatible subsets of the full Java SE 8 API specification. The Compact Profiles feature is useful in small devices, can be used to shorten the time to download an application from a download server, and makes for more compact deployment of Java applications that bundle the JRE. A JRE can be configured with a compact profile, reducing its footprint for deployment along with a compact profile application. Java SE Embedded 8 enables developers to create customized JREs using the JRECreate tool. Starting with Java SE Embedded 8, individual JRE downloads for embedded platforms are no longer provided. To get started, download an eJDK bundle suitable for your target platform and follow instructions to create a JRE that suits your application's needs.

Technical Articles

Java SE Embedded 8 Compact Profiles Overview

Java SE Embedded 8 vs. Java ME CDC Comparison 

Java Flight Recorder and Java Mission Control on Java SE Embedded 8

With Java Embedded technologies, you can create highly functional, reliable, portable, and secure solutions for small to large embedded devices in the Internet of Things (IoT). Reduce costs, improve product quality, speed time to market and have fun with Java! 

Java SE 8 is Now Available


Java Platform, Standard Edition 8 (Java SE 8) is a major feature release and is now generally available. It contains new features and enhancements in many functional areas. Java SE 8 delivers enhanced developer productivity and significant application performance increases through reduced boilerplate code, improved collections and annotations, simpler parallel programming models and more efficient use of modern, multi-core processors. See What's New in JDK 8 for more details.



Download Java SE 8: JDK 8 (Java Developer Kit) 

Java SE 8 Documentation

The 
Java SE 8 Central Resource page

Join us on March 25 for the Online Launch

Java SE 8 Features

Features and enhancements in Java SE 8 and in JDK 8, Oracle's implementation of Java SE 8 include:

• Lambda Expressions (JSR 335) - a new language feature introduced in Java SE 8. Lambdas enable you to treat functions as method arguments or code as data.

• Nashorn - a lightweight high-performance JavaScript runtime in 100% pure Java, native on the JVM, that enables Java developers to embed JavaScript in Java applications.

• Compact Profiles - predefined subsets of the Java SE platform that enable applications that do not require the entire Platform to be deployed and run on small devices.

• Stream API - Classes in the new java.util.stream package provide a Stream API to support functional-style (e.g. Filter/Map/Reduce) operations on streams of elements. The Stream API is integrated into the Collections API, which enables bulk operations on collections, such as sequential or parallel map-reduce transformations.

• Date & Time API (JSR 310) - a new set of packages that provide a comprehensive date-time model.

• Type Annotations (JSR 308) - provides the ability to apply an annotation anywhere a type is used, not just on a declaration. Used with a pluggable type system, this feature enables improved type checking of your code.

• Java Mission Control 5.3 –usability improvements to allow Java administrators and developers to more easily gather detailed low level information about how the Java Virtual Machine (JVM) and the Java application are behaving; support for Java SE Embedded 8 (Full JRE Profile)

• JavaFX – features and enhancements include an embedded specific graphics stack, new UI controls, a Modena theme, functionality to enable developers to embed Swing content into JavaFX applications, new 3D graphics features, and additional HTML 5 support.

• Security Features and Enhancements

• … and much more.

Download Oracle JDK 8 from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Java SE Embedded 8 

Oracle has also announced today the general availability of Oracle Java SE Embedded 8. It provides a development platform for embedded devices and the Internet of Things, with all of the flexibility, portability and robust features available in the Java SE Platform.

Download Oracle Java SE Embedded 8

Oracle Java SE Embedded 8 Documentation

Learn more about Java SE Embedded 8

Friday Mar 14, 2014

Video: Is It a Car? Is It a Computer? No, It’s a Raspberry Pi Java Carputer

Most of us sit inside the Internet of Things without even knowing it. Today's cars have onboard computers that generate lots of data. A self-described "petrol-head," Oracle Technology Evangelist Simon Ritter combined his love of tech with is love of cars to create a simple carputer so he could access the inner workings of his Audi.

For under £100, Ritter was able to connect a Raspberry Pi to his car. He used Java Embedded and JavaFX to build an application to monitor engine performance, throttle position, and G-forces on the car. 

Enjoy his presentation from Q-Con London

and this OTN Community Cast.

About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
5
6
7
12
13
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today