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.

Wednesday Jun 13, 2012

The Enterprise Side of JavaFX - Part One

A new article, now up on otn/java, by Java Champion Adam Bien, titled “The Enterprise Side of JavaFX,” shows developers how to use LightView to convert REST services into a bindable set of properties. The article, Part One of a three-part series, presents the enterprise and business side of JavaFX with minimal animations, effects, and transitions, and a focus on structuring the presentation logic and integration with back-end services.

Bien makes use of LightFish, LightView and much more:

“LightFish is an open source monitoring application that periodically fetches and persists snapshots from a “GlassFish Under Test” machine and makes them available in real time via a simplified REST API.

LightFish comes with a basic Web interface to manage the data-capturing interval that is implemented with JavaServer Faces 2. LightView is a JavaFX 2 real-time visualizer that integrates the Web UI directly and accesses the monitoring data via REST and long polling. It could be considered to be a ‘stress test dashboard.’”

Look for Part Two of the series, which will directly integrate the JavaServer Faces 2 UI with WebView.

Check out the article here.

Thursday Apr 12, 2012

JavaServer Faces 2.0 for the Cloud

A new article now up on otn/java by Deepak Vohra titled “JSF 2.0 for the Cloud, Part One,” shows how JavaServer Faces 2.0 provides features ideally suited for the virtualized computing resources of the cloud. The article focuses on @ManagedBean annotation, implicit navigation, and resource handling. Vohra illustrates how the container-based model found in Java EE 7, which allows portable applications to target single machines as well as large clusters, is well suited to the cloud architecture.

From the article--

“Cloud services might not have been a factor when JavaServer Faces 2.0 (JSF 2.0) was developed, but JSF 2.0 provides features ideally suited for the cloud, for example:
•    The path-based resource handling in JSF 2.0 makes handling virtualized resources much easier and provides scalability with composite components.
•    REST-style GET requests and bookmarkable URLs in JSF 2.0 support the cloud architecture. Representational State Transfer (REST) software architecture is based on transferring the representation of resources identified by URIs. A RESTful resource or service is made available as a URI path. Resources can be accessed in various formats, such as XML, HTML, plain text, PDF, JPEG, and JSON, among others. REST offers the advantages of being simple, lightweight, and fast.
•    Ajax support in JSF 2.0 is integrable with Software as a Service (SaaS) by providing interactive browser-based Web applications.”
In Part Two of the series, Vohra will examine features such as Ajax support, view parameters, preemptive navigation, event handling, and bookmarkable URLs.

Have a look at the article here.

Wednesday Sep 21, 2011

Experts from Oracle and the Community at Silicon Valley Code Camp!

Silicon Valley Code Camp (Oct. 8 & 9) is a community-driven developer conference. Developers will learn from their fellow developers in 212 sessions about code, of course, but also about legal issues, branding and community building. Experts from Oracle and the community are sharing their technical know-how during those 2 days in session formats ranging from informal discussions to presentations.

Conveniently scheduled on the weekend with a free entrance, the conference has become more popular over the years and has 1,787 registered this year. The support of many sponsors makes this conference happen and this year Oracle is a platinum sponsor.


Oracle Experts

Pieter Humphrey

In-memory session replication with WebLogic and GlassFish, Coherence 

http://blogs.oracle.com/devtools

Sun., Oct. 9 –  10:45am  

An engineer's introduction to in-memory data grid development

http://blogs.oracle.com/devtools

Sun., Oct. 9 – 9:15am


Patrick Curran

JCP and the Future of Java

http://htp://jcp.org

Sun., Oct. 9– 9:45am


Juan Camilo Ruiz

Extending the JSF controller for reusability

Sun., Oct. 9 - 2:45pm


Arun Gupta

The Java EE 7 Platform: Developing for the Cloud

http://blogs.sun.com/arungupta

Sat., Oct. 8 - 11:15am

Deploy and Monitor your Java EE 6 session in a fully-clustered GlassFish

http://blogs.sun.com/arungupta

Sat., Oct. 8 - 9:45pm


Todd Farmer

Building Java Applications for MySQL

Sun., Oct. 9h – 1:15pm


Simon Law

High-Performance SQL Applications Using In-Memory Database Technology

Sun., Oct. 9h –  10:45am

Experts from the Community

Stephen Chin

JavaFX 2.0 With Alternative Languages-

Groovy, Clojure, Scala, Fantom, and Visage

http://steveonjava.com/

Sat., Oct. 8h – 11:15am


John David Duncan

MySQL Cluster With and Without SQL

http://mysqlblog.lenoxway.net

Sat., Oct. 8h – 1:45pm


Peter Pilgrim

Progressive Enhanced JavaFX 2.0 Custom Components

http://www.xenonique.co.uk/blog/

Sat., Oct. 8th – 5:00pm


Prashant Deva

Chronon - DVR for Java

http://www.chrononsystems.com

Sat., Oct. 8h – 11:15am


Slava Imeshev

Best Practices for Scaling Java Applications

with Distributed Caching

http://www.cacheonix.com

Sun., Oct. 9h – 1:15pm


Manish Pandit

Play! as you REST : Using Play! Framework

to build RESTful services

http://twitter.com/lobster1234

Sat., Oct. 8th – 1:45pm





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
22
24
25
26
27
28
29
30
   
       
Today