By Yolande Poirier-Oracle on Mar 30, 2016
The Java Track includes three code-heavy sessions:
The Java Track includes three code-heavy sessions:
Conference speaker Matthias Grüter explains why Docker works well with the JVM
Conference speaker Roland Huss discusses the benefits of integration tests.
Wendy Rinaldi is an editorial director at McGraw-Hill Education. She leads the Oracle Press publishing program, which helps Oracle professionals worldwide develop the skills they need to be successful with Oracle’s products and technologies. You can find Rinaldi on LinkedIn, Twitter (@wendy_rinaldi), or at email@example.com.
Brandi Shailer is a senior acquisitions editor at McGraw-Hill Education, where she is responsible for the Java publishing program for Oracle Press. She is passionate about educating developers worldwide and is alwayslooking for new print and online product ideas. You can find Shailer on LinkedIn, Twitter (@bhlynne), or at firstname.lastname@example.org.
"We are always creating new IoT applications and encouraging others to improve them. Lhings is the networking tool that let us make it very easy. This time we wanted to make something we use in our everyday lives which is traditionally non-technical, as is a table, to be connected to the Internet and then provide new services that could be useful in some applications" explains José Pereda, who is part of the Lhings team. Based in Spain, the team won aJavaOne trip during IoT Developer Challenge.
"We wanted to show that IoT is useful in real scenarios and it's accessible to anyone. Likewise, we would like to encourage developers to reproduce and improve it!" further explains José. You will get a chance to meet them at JavaOne.
José is also presenting four talks at JavaOne
JSO, a lightweight, text-based, language-independent data exchange format that is easy to read and write by both humans and machines, can represent two structured types: objects and arrays. Kotamraju, the JSON Processing specification lead, explains that “an object is an unordered collection of zero or more name/value pairs. An array is an ordered sequence of zero or more values. The values can be strings, numbers, booleans, null and these two structured types.”
JSON is frequently used in Ajax applications, configurations, databases, and RESTful web services. JSON is offered as the data exchange format with their RESTful web services by all popular websites.
Kotamraju gets under the hood with both the object model and streaming APIs. He concludes that the API for JSON Processing offers the following capabilities:
* “Parsing input streams into immutable objects or event streams
* Writing event streams or immutable objects to output streams
* Programmatically navigating immutable objects
* Programmatically building immutable objects with builders”
The API forms a base for building data binding, transformation, querying, or other manipulation APIs. JAX-RS 2.0 provides native integration for the Java API for JSON Processing.
Check out the article here.
A new article by Oracle’s Nigel Deakin, up on otn/java, titled “What's New in JMS 2.0, Part One: Ease of Use,” demonstrates ways in which JMS 2.0 enables developers to send and receive messages while writing less code. Some features of JMS 2.0, part of Java EE 7, and can be deployed in Java EE Web or EJB applications, while others can only be used standalone in a Java SE environment.
“The single biggest change in JMS 2.0 is the introduction of a new API for sending and receiving messages that reduces the amount of code a developer must write. For applications that run in a Java EE application server, the new API also supports resource injection. This allows the application server to take care of the creation and management of JMS objects, simplifying the application even further…”
The new API, known as the “simplified” API, is simpler and easier to use than the existing JMS 1.1 API, now known as the “classic” API.
Deakin describes the new API as follows:
“The simplified API consists of three new interfaces: JMSContext, JMSProducer, and JMSConsumer:
* JMSContext replaces the separate Connection and Session objects in the classic API with a single object.
* JMSProducer is a lightweight replacement for the MessageProducer object in the classic API. It allows message delivery options, headers, and properties to be configured using method chaining (sometimes known as a builder pattern).
* JMSConsumer replaces the MessageConsumer object in the classic API and is used in a similar way.”
Developers can now choose between the two APIs and have access to both the classic and new features. Stay tuned for Part Two, in which Deakin will explore new messaging features in JMS 2.0.
Check out Part One here.
Oracle has started to open source JavaFX, the rich client platform for Java applications. The list of open sourced projects will be growing in the next couple of weeks with an additional 7 projects. "We are also going to open source our iOS and Android implementations over the next couple of months" announced Richard Bair, architect of the JavaFX platform, in his blog.
Johan Vos is the co-founder and CTO of LodgOn, a company focused on “Java software for enabling communities.” In an interview, he shares his experience creating applications with JavaFX for the front-end and Java EE in the back-end. For one of clients, he created a badge-based rewarding system, which tracks user participation in social media and at events.
He sees a wealth of opportunities with JavaFX as client development platform and with Java EE as a back-end. The challenge lies in “how you can connect the back-end servers with small devices like tablets, phones and embedded devices.” The opportunity is that “they have one thing in common which is Java”
A member of the GlassFish community, he considers JAX-RS 2.0 as an essential technology and standard. “REST interfaces and the JAX-RS API provide a standard that allows back-end applications to connect with any front-end clients”. He created the open-source project DataFX, “a JavaFX client that connects to any REST based back-end” and the open-source framework DaliCore that manages social media resources in Java EE applications.
Watch the video interview
Rags emphasized the importance of the Cloud: “The Cloud and the Big Data are popular technologies not merely because they are trendy, but, largely due to the fact that it's possible to do massive data mining and use that information for business advantage,” he explained.
I asked him what we should know about Hadoop. “Hadoop,” he remarked, “is mainly about using commodity hardware and achieving unprecedented scalability. At the heart of all this is the Java Virtual Machine which is running on each of these nodes. The vision of taking the processing to where the data resides is made possible by Java and Hadoop.”
And the most exciting thing happening in the world of Java today? “I read recently that Java projects on github.com are just off the charts when compared to other projects. It's exciting to realize the robust growth of Java and the degree of collaboration amongst Java programmers.”
He encourages Java developers to take advantage of Java 7 for Mac OS X which is now available for download. At the same time, he also encourages us to read the caveats.
Originally published on blogs.oracle.com/javaone.
Insider News from the Java Team at Oracle!