Friday Oct 18, 2013

Nighthacking with James Gosling

Java Evangelist Stephen Chin is back on the road for a new NightHacking Tour. He is meeting with James Gosling at Kona, Hawaii, the launch base of the Wave Glider. The Glider is an aquatic robot which communicates real-time data from the surface of the ocean. It runs on an ARM chip using Java SE Embedded. 

"During this broadcast we will show some of the footage of his aquatic robots, talk through the technologies he is hacking on daily, and do Q&A with folks on the live chat" explains Stephen Chin. 

Sign up for the live stream on Wednesday, October 23rd at: 

8AM Hawaii Time
11AM PST
2PM EST
20:00 CET

Follow @nighthackingtv for the next Nighthacking events

Tuesday Sep 24, 2013

Session Report: Internet of Things with Java

by Timothy Beneke

Jai Suri, Group Product Manager, Java Platform, at Oracle, with Oracle Embedded Java architect, Noel Poore, gave a session that was both practical and visionary, titled “Internet of Things with Java” that provided a glimpse of the challenges and prospects faced by the coming Internet of Things (IoT). Suri was quick to point out that the session was not a showcase of Oracle solutions for IoT; nor would it provide best practices or design patterns for IoT. “It’s too early and we’re not there yet,” said Suri.

He pointed out that the potential range of IoT applications is vast, from home and industrial automation to improved healthcare. His team has been spending a lot of time and effort trying to figure out how Java fits into the IoT space.

The IoT market is relatively new and evolving, and full of proprietary technologies with, as yet, no standardization. The biggest challenge Java faces is creating a horizontal technology stack that addresses a wide range of needs and challenges. IoT, he pointed out is nothing new – machines connecting with other machines go back to the dawn of computing. But recently, new technologies have made it more accessible than ever before. In the US, Comcast offers XFINITY home automation offering remote monitoring, temperature, lighting and small appliance control, real-time alerts when doors or windows are opened, and more. In Europe, Deutsche Telekom offers a similar system.

In health care, remote patient monitoring is an area of rapid growth. IoT is making a difference in industrial automation and business optimization and efficiency. Other segments of IoT growth include building management, energy, consumer, retail, IT and networks. Research groups are predicting a market of somewhere around $350 Billion by 2017, some of which will be committed to technology.

According to Suri, various factors are driving the growth in IoT. First, connected devices are growing rapidly, with shipments expected to range from $50B to $200B by 2020. Moore’s law is allowing devices to become smarter and, as a result, connectivity is cheaper. Extra bandwidth is available to be redeployed for data traffic and channels are being created that allow companies to move data more cheaply.

IoT traffic data is being stored in databases to be analyzed, so data is growing rapidly. Business opportunities are increasing as the number of devices connected to the cloud allowing for the tracking of shipments, cars and other things grows.

Why is this different from a simple client and server? First the number of web, desktop and mobile applications talking to a server is rapidly increasing. Devices may be on batteries, Wifi, Bluetooth or a long range network – the complexity is huge. And most of these devices do not have a human operating them.

IoT lacks any standard protocol for communication among devices. Protocols depend upon the industry. In home automation, Bluetooth is common along with short range radio networks. Ultimately it is about how users get and receive data from devices. Suri pointed out that most developers give little thought to security. When he joined Oracle he received a badge that allows him to access and send protected data; the badge provides his identity, which governs access. But how do we put an identity on a temperature sensor connected to our home gateway? Or on data about our medical condition?

Some companies are building data centers that allow companies to connect their enterprise applications to a data center so they won’t have to worry about scaling. But is this the right approach when a company has invested millions of dollars in enterprise infrastructure? Why leverage what you already have?

Suri summarized the critical issues:
--Communication across multiple-protocol networks
--End-to-end security
--Software provisioning & lifecycle management across diverse devices
--Data acquisition from thousands of diverse devices
--Managing large volumes of fast data in a scalable architecture
--Leveraging existing enterprise architectures for evolving IoT needs

With most IoT solutions currently being written from scratch, the need for a horizontal platform seems obvious.

How Java Fits In
Noel Poore then showed how Java is the best fit for IoT, emphasizing that his focus was on the IoT with Java and not the Java Internet of Things. In a situation so fragmented with different device drivers, chip sets, operating systems and so on, the availability of a platform that allows developers to move code around with little worry about which device is running it is ideal.

Managing 50 billion devices sensibly and scalably constitutes a huge challenge. Poore presented a conceptual architecture with the pieces that need to be in place for a horizontal IoT platform to work. This would enable developers to build solutions based on platform rather than rebuilding the solution every time a different IoT problem must be solved. The conceptual architecture begins with wireless and wired sensors feeding into an initial gateway which feeds into a core network; in addition smart sensors may bypass the initial gateway and go directly to the network. The network feeds into an IoT communication gateway, which in turn feeds access management, IoT management and data routing and analysis. The first of these two feed into identity access and management, while data routing and analysis is sent to enterprise business and business intelligence to attempt to gain value from the data.

Suri closed by summarizing the take-home points of the session:

* IoT technologies are a “Wild West” full of proprietary implementations and a highly fragmented vendor ecosystem.
* Java enables an open and standards-based secure IoT platform that seamlessly integrates devices with enterprise applications.
* But significant innovations are needed across the platform and the ecosystem products to make this vision a reality.
* The good news is that Java is ahead of the curve, and very well positioned to become the de facto platform for IoT applications.

Look for podcasts of JavaOne sessions at Parleys.com starting in early October.

Friday Jul 19, 2013

Java API for JSON Processing: An Introduction to JSON

A new article, now up on otn/java, by Oracle’s Jitandra Kotamraju, titled “Java API for JSON Processing: An Introduction to JSON,” takes a look at how Java API for JSON Processing provides portable APIs to parse, generate, transform and query JSON, also known as JavaScript Object Notation. Kotamraju, a principal member of the technical staff at Oracle, is the JSON Processing specification lead.

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.

Tuesday Apr 30, 2013

Everything on the NetBeans Platform

NetBeans Principal Product Manager Geertjan Wielenga describes a myriad of software tools and applications in his blog in fields as diverse as biology, security, airport management, data analysis, data modeling, radiology, home automation, retail, and equipment safety - all of them created on the Netbeans Platform: 
  • Alphalogic, an easy to use tool with high level integration, control and monitoring for engineering systems and security systems 
  • Platypus Application Designer, a tool to develop the structure of database applications, reusable SQL queries and client/server applications
  • Sypherlink Harvester, a tool collecting metadata, database statistics, sample data and more in relational and non-relational data sources
  • Total Airport Management (TAM) 
  • Summit Management Systems, an data acquisition and floor plant monitoring tools for assembly processes
  • Integrated Service Technology, a testing and analysis solution for integrated circuits 
  • DigiMed, a radiology software for hospitals in Mexico 
  • Ksenia, a security system configuration software 
  • Vimar, a home automation management software 
  • Phyloviz, a visualization software tool for Phylogenetics
  • Delcam Crispin, a footwear CAD/CAM software 
  • Autopsy, a digital forensics platform
  • Sristy Technologies, a software solutions to analyze seismic data, drilling, completion and reservoirs for the energy sector
  • HEIDE, a multiprocessor microcontroller platform 
  • SIEUFERD, a universal user interface for relational databases 
  • Polaris Slipstream, an extensive data modeling application designed for NASA Mission visualization
  • MammoControl DIANNA, a tools analyzing and transmitting managraphy images for the German Breast Cancer Screening Program 
  • IGS-Bio, a motion capture software application
  • Klinika Medical Assistant, a EMR software used in the Philipines 
  • A series of software from Satlantic, an ocean technology company 
  • Mongkie, an integrated network visualization platform for biological data 
  • 4Vending, a vending machine management solution 
  • Piraso, an open source debugger and analyzer tool 
  • SafetyMach, a European safety requirement software 
Check his blog for details on each project. 


Thursday Feb 21, 2013

Register Now for Devoxx UK and Devoxx France 2013

There's only a little over a month to go before Devoxx UK on March 26 and 27 in London and Devoxx France on March 27 to 29 in Paris. The conference schedules are up and space is tight, so register today before they are sold out!

"Cloud, architecture and security" is a new conference track this year. Other tracks are Java SE, methodologies, Java EE, web & big data, new languages on the JVM, and future Devoxx. Developers will get a shot at peer discussions in Bird-of-a-Feathers, learn tips and tricks during quickies and get in-depth technical information in hour-long talks or in the three hour hands-on-labs.  "You could learn something that will help in your day job. Maybe it's a better use of patterns, technologies or methodologies you're utilizing right now" explains Trisha Gee, one of the Devoxx organizers

The conference also presents great networking opportunities with leaders in the Java community and renowned speakers who wrote popular technical books. Some of those well-known speakers are Kirk Pepperdine, Peter Pilgrim, Stephen Chin, Arun Gupta, and Markus Eisele, just to name a few.

Oracle is a European Platinum Partner of the three Devoxx conferences in the U.K., France and Belgium. Come and join us in London and Paris next month.

Friday Jul 06, 2012

Open Data, Government and Transparency

A new track at TDC (The Developer's Conference in Sao Paulo, Brazil) is titled Open Data. It deals with open data, government and transparency. Saturday will be a "transparency hacker day" where developers are invited to create applications using open data from the Brazilian government.  Alexandre Gomes, co-lead of the track, says "I want to inspire developers to become "Civic hackers:" developers who create apps to make society better." It is a chance for developers to do well and do good. There are many opportunities for developers, including monitoring government expenditures and getting citizens involved via social networks.

The open data movement is growing worldwide. One initiative, the Open Government Partnership, is working to make government data easier to find and access. Making this data easily available means that with the right applications, it will be easier for people to make decisions and suggestions about government policies based on detailed information. Last April, the Open Government Partnership held its annual meeting in Brasilia, the capitol of Brazil. It was a great success showcasing the innovative work being done in open data by governments, civil societies and individuals around the world. For example, Bulgaria now publishes daily data on budget spending for all public institutions.
Alexandre Gomes Explains Open Data

At TDC, the Open Data track will include a presentation of examples of successful open data projects, an introduction to the semantic web, how to handle big data sets, techniques of data visualization, and how to design APIs.

The other track lead is Christian Moryah Miranda, a systems analyst for the Brazilian Government's Ministry of Planning. "The Brazilian government wholeheartedly supports this effort. In order to make our data available to the public, it forces us to be more consistent with our data across ministries, and that's a good step forward for us," he said. He explained the government knows they cannot achieve everything they would like without help from the public. "It is not the government versus the people, rather citizens are partners with the government, and together we can achieve great things!" Miranda exclaimed.

Saturday at TDC will be a "transparency hacker day" where developers will be invited to create applications using open data from the Brazilian government. Attendees are invited to pitch their ideas, work in small groups, and present their project at the end of the conference. "For example," Gomes said, "the Brazilian government just released the salaries of all government employees and I can't wait to see what developers can do with that."

Resources

Open Government Partnership 
U.S. Government Open Data Project
Brazilian Government Open Data Project
U.K. Government Open Data Project
2012 International Open Government Data Conference 

Friday Dec 16, 2011

Spring to Java EE Migration, Part 2 (technical article)

In part two of a four-part article series on otn/java, “Spring to Java EE Migration, Part 2,” CTO and Java EE expert David Heffelfinger elaborates further on how easy it is to develop the data layer of an application using Java EE, JPA, and the NetBeans IDE instead of the Spring Framework.

Part 1 began with a Java EE rewrite of Spring's Pet Clinic sample application and developed the persistence layer of the application using Java Persistence API (JPA) 2.0, using NetBeans to generate most of the persistence layer from an existing database schema. Heffelfinger analyzed the generated code, which employed advanced JPA features.

In part 2, he continues this process by developing Enterprise JavaBeans (EJB) 3.1 session beans that act as Data Access Objects (DAOs), as well as JavaServer Faces (JSF) 2.0 managed beans and pages. Readers get to see the generated code in action and are given a look under the hood to see what’s going on.

Heffelfinger concludes Part 2 with a look ahead to Part 3:

“In the next installment of this series, we will modify the generated code to make it a bit more user friendly and we will compare the Java EE and Spring versions of the Pet Clinic application.”

Read the complete article here.

Wednesday Nov 02, 2011

Spring to Java EE Migration

In a new article up on otn/java, the first of a series, titled “Spring to Java EE Migration, Part 1,” CTO and Java EE expert David Heffelfinger demonstrates how easy it is to develop the data layer of an application using Java EE, JPA, and the NetBeans IDE instead of the Spring Framework.

Heffelfinger observes that, “Every time I work on a Spring project, I start mumbling under my breath. I know I will have to go through long and convoluted XML files to determine what is going on with the project. I also know that my project will have approximately 10,000 dependencies and that the generated WAR file is going to be a monster.”

He contrasts this with Java EE, where most of the needed services are required by the application server, reducing the number of required dependencies, and typically Java EE provides configuration by exception, meaning there is little configuration necessary. When configuration is needed, it is usually done through annotations, which allows the developers to get the whole picture from the source code. Also, with Java EE, the advanced tooling from NetBeans is available.

Again, from the article itself:

“In this series of articles, we will rewrite the sample Pet Clinic application provided with Spring using Java EE. In this first article, I illustrate how we can quickly develop an application that has equivalent functionality to the Spring version by taking advantage of the excellent Java EE tooling provided by NetBeans. The Java EE version employs JavaServer Faces (JSF) for the user interface, Data Access Objects (DAOs) are implemented using Enterprise JavaBeans (EJB) 3.1 session beans, and data access is provided by Java Persistence API (JPA) 2.0.”

Read the article in full here.
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