HTML5 Application Development with WebLogic

Similar documents
EclipseLink. Solutions Guide for EclipseLink Release 2.5

WebLogic & Coherence. Best backend for Mobile Apps. July 2014 INSERT PRESENTER TITLE AND DATE

Server-Side JavaScript auf der JVM. Peter Doschkinow Senior Java Architect

Glassfish Architecture.

Java EE 7: Back-End Server Application Development

ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE WEBLOGIC SERVER STANDARD EDITION

ORACLE COHERENCE 12CR2

Oracle Cloud Platform. For Application Development

<Insert Picture Here> Java EE 7: the New Cloud Platform

APAC WebLogic Suite Workshop Oracle Parcel Service Overview. Jeffrey West Application Grid Product Management

ebay : How is it a hit

<Insert Picture Here> Oracle Mobile Enterprise Application Platform Overview

Module 13 Implementing Java EE Web Services with JAX-WS

<Insert Picture Here> Java EE 7: the New Cloud Platform

JSR-303 Bean Validation

ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE WEBLOGIC SERVER STANDARD EDITION

Accelerated Java EE Open Source Development with Eclipse CON1905

JVA-561. Developing SOAP Web Services in Java

Oracle White Paper December Mobility for Oracle Applications using Fusion Middleware

An Oracle White Paper May Oracle Tuxedo: An Enterprise Platform for Dynamic Languages

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

MOBILIZING ORACLE APPLICATIONS ERP. An Approach for Building Scalable Mobility Solutions. A RapidValue Solutions Whitepaper

White Paper: Why Upgrade from WebSphere Application Server (WAS) v7 to v8.x?

applications. JBoss Enterprise Application Platform

ADF Mobile Overview and Frequently Asked Questions

The Oracle Fusion Development Platform

Converting Java EE Applications into OSGi Applications

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

WEB SERVICES. Revised 9/29/2015

Unit 2 Research Project. Eddie S. Jackson. Kaplan University. IT530: Computer Networks. Dr. Thomas Watts, PhD, CISSP

Java Web Services Training

E-Business Suite Oracle SOA Suite Integration Options

YouTrack MPS case study

An introduction to creating JSF applications in Rational Application Developer Version 8.0

Developing Java Web Services

Oracle im Open Source Kontext Abgrenzung GlassFish vs. JBoss und wozu noch WebLogic?

How To Develop A Mobile Application On An Android Device

An Overview of Oracle Forms Server Architecture. An Oracle Technical White Paper April 2000

The Java EE 7 Platform and Support for the PaaS Model

Service Governance and Virtualization For SOA

Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

SAP Mobile Platform Intro

<Insert Picture Here> Java EE 7. Linda DeMichiel Java EE Platform Lead

Securing JAX-RS RESTful services. Miroslav Fuksa (software developer) Michal Gajdoš (software developer)

1 What Are Web Services?

Framework Adoption for Java Enterprise Application Development

This presentation will provide a brief introduction to Rational Application Developer V7.5.

Understanding Evolution's Architecture A Technical Overview

Sage Integration Cloud Technology Whitepaper

Beyond the SOA/BPM frontiers Towards a complete open cooperative environment

FREQUENTLY ASKED QUESTIONS. Oracle Applications Strategy

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

Oracle Service Bus. Situation. Oracle Service Bus Primer. Product History and Evolution. Positioning. Usage Scenario

Mobilize Your ERP with ADF Mobile

The end. Carl Nettelblad

DevOps with Containers. for Microservices

Oracle Database 12c Plug In. Switch On. Get SMART.

<Insert Picture Here> Java, the language for the future

Middleware- Driven Mobile Applications

Glassfish, JAVA EE, Servlets, JSP, EJB

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

<Insert Picture Here> Oracle Application Express 4.0

GlassFish v3. Building an ex tensible modular Java EE application server. Jerome Dochez and Ludovic Champenois Sun Microsystems, Inc.

Jitterbit Technical Overview : Microsoft Dynamics AX

ORACLE ADF MOBILE DATA SHEET

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Choose an IBM WebSphere Application Server configuration to suit your business needs

Java in Web 2.0. Alexis Roos Principal Field Technologist, CTO Office OEM SW Sales Sun Microsystems, Inc.

Jitterbit Technical Overview : Salesforce

How To Create A C++ Web Service

CERTIFIED MULESOFT DEVELOPER EXAM. Preparation Guide

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

Lesson 4 Web Service Interface Definition (Part I)

Creating new university management software by methodologies of Service Oriented Architecture (SOA)

EVALUATION. WA1844 WebSphere Process Server 7.0 Programming Using WebSphere Integration COPY. Developer

CACHÉ: FLEXIBLE, HIGH-PERFORMANCE PERSISTENCE FOR JAVA APPLICATIONS

IBM SPSS Collaboration and Deployment Services Version 6 Release 0. Single Sign-On Services Developer's Guide

1z0-102 Q&A. DEMO Version

How To Understand The Architecture Of Java 2Ee, J2Ee, And J2E (Java) In A Wordpress Blog Post

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

WA2087 Programming Java SOAP and REST Web Services - WebSphere 8.0 / RAD 8.0. Student Labs. Web Age Solutions Inc.

Developing a Web Server Platform with SAPI Support for AJAX RPC using JSON

Introduction to IBM Worklight Mobile Platform

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Reusing Existing * Java EE Applications from Oracle SOA Suite

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

ORACLE APPLICATION EXPRESS 5.0

THE FASTEST, EASIEST WAY TO INTEGRATE ORACLE SYSTEMS WITH SALESFORCE Real-Time Integration, Not Data Duplication

SharePoint Apps model overview

GlassFish. Developing an Application Server in Open Source

Rapid Game Development Using Cocos2D-JS

ORACLE MOBILE APPLICATION FRAMEWORK DATA SHEET

<Insert Picture Here> Building a Complex Web Application Using ADF and Siebel

<Insert Picture Here> Application Testing Suite Overview

NextRow - AEM Training Program Course Catalog

ORACLE MOBILE SUITE. Complete Mobile Development Solution. Cross Device Solution. Shared Services Infrastructure for Mobility

Developing modular Java applications

Responsive, resilient, elastic and message driven system

Transcription:

HTML5 Application Development with WebLogic 12.1.2 Doug Clarke Oracle Ottawa, Canada The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. Keywords: Introduction WebLogic, TopLink, HTML5, WebSockets, REST Application development of Thin Server Architecture applications with HTML5 and JavaScript has become much easier with WebLogic 12.1.2. The enhanced support for TopLink's RESTful Data Services, JSON Binding, and the new Web Socket programming model enables active clients to leverage Live Data notifications. This session will introduce and demonstrate how these technologies can be used to construct WebLogic services that work well with HTML5/JS and native mobile client applications. This transcript provides much of the technical background and links to learn more but you are invited to attend the Oracle WebLogic Developer Day to learn more. HTML5 Application Development with WebLogic Server December 3rd, 2013-9am - 1pm GMT / 1pm to 5pm GST / 2:30pm - 6:30 PM IST

Web Sockets Starting with WebLogic 12.1.2 first class support for using WebSockets has been added. This support allows HTML5 clients (and others) to setup a bi-directional communication channel with their components hosted in the WebLogic Server. This support pre-dates JSR 356 offering it own programming model. The following is an example of how the HTTP protocol supports upgrading a connection to be a WebSocket. Server Programming Model Within the WebLogic server application developers can easily develop the server side components required to setup and handle Web Socket communication. In the following example a WebSocketAdapater is provided leveraging the base class and the @WebSocket annotation. This provides the root URL for the Web Socket connection as well as an implementation of the onmessage method which will be invoked when the client passes a message on the Web Socket. @WebSocket(pathPatterns = "/helloworld.ws") public class HelloWorldWebSocket extends WebSocketAdapter { final String MSG = "%s @ %tt"; @Override public void onmessage(websocketconnection connection, String payload) { try { connection.send(string.format(msg, payload, new Date())); } catch (Exception ex) { Logger.getLogger(getClass().getName()).log(Level.SEVERE, null, ex); } } }

For more information on using Web Sockets in WebLogic 12.1.2 please refer to: http://docs.oracle.com/middleware/1212/wls/wlprg/websockets.htm TopLink Data Services The data access requirements of today s Java applications keep expanding and have grown to include features such as tenant data isolation for cloud deployment, extensible models to support per tenant customization, JSON binding for RESTful web services, the ability to store Java objects in NoSQL databases and more. EclipseLink, included in Oracle TopLink, is well known as an object-relational mapping framework and as the JPA 2.0 reference implementation in Java EE 6 and JPA 2.1 reference implementation in Java EE 7, but it continues to evolve and now provides a comprehensive set of data services for Java developers building enterprise and cloud applications in Java EE and SE. Java Persistence is most commonly associated with Relational Database usage Object- Relational mapping as first standardized with JPA. The scope of the problem space most developers actually deal with in today s application is much larger. It includes not only physical storage of the data but also in transformations dealing with XML and JSON and the service interfaces that require these. The ability to bind objects to XML with JAXB and soon to JSON must also be considered part of the persistence problem space. EclipseLink Project - Background The EclipseLink project (www.eclipse.org/eclipselink) is a key component of the Java Persistence community. EclipseLink delivers the reference implementation for JPA 2.0 and is leading the way with many of the innovations. Within this session we ll highlight some of these innovations as they have been delivered in recent EclipseLink releases.

The EclipseLink Project is composed of three main components: JPA: The Object-relational core of EclipseLink enables, optimizes, and scales applications leveraging relational databases. Its flexible mappings and powerful caching solutions combined with extended functionality for leading databases. MOXy: The JAXB and JSON binding solution simplify mapping object or JPA entities using standard JAXB annotations or extended XML mapping files. Its fidelity with JPA makes it truly unique and important for developers needing XML or JSON binding support for the JPA entity classes. Database Web Services: Starting from a JAX-WS based solution focussed on generation of WSDL and supporting infrastructure this component now includes JPA-RS or RESTful JPA simplifying exposing JPA persistence units over REST. This session builds on these three components explain how the new features evolved based on customer and technology demands and how they can be easily used with Java EE.

JSON Binding and JPA Fidelity The EclipseLink project early on recognized the need to mapping objects into XML based on its own configuration file requirements and the need to support multiple versions of these files to ensure backwards compatibility and minimize forcing customers to continually upgrade their configuration resources. This support eventually became the OXM infrastructure and with the creation of the EclipseLink project was named MOXy. This infrastructure soon became a compliant JAXB implementation and now serves as the default JAXB implementation with Java EE containers such as Oracle WebLogic. With the growing demand for JSON support with RESTful services the EclipseLink MOXy team evolved its XML binding solution to also work with JSON. Now developers could easily map their persistent classes using annotations or XML and decide what format to marshal into at runtime using a media type configuration. In addition to MOXy s expansion into supporting JSON binding it has also adapted to better work with JPA entities. JPA providers generally enhance or extend the JPA entity classes to

contain additional state. These enhanced classes and complex mappings do not always work well with JAXB so MOXy has additional support for dealing with these challenges including handling cyclic relationships. This support allows developers to simply map their JPA entity classes to XML/JSON without require a parallel object model and the conversion code that goes along with it. RESTful JPA (JPA-RS) Based on all of these MOXy and JPA extended features, EclipseLink was able to develop and release its first RESTful JPA solution. This feature is based on all the functionality highlighted in this session and delivers a new breed of persistence service. Developers can now expose their existing JPA persistence unit over REST with automated end point definition and XML/JSON binding. Alternatively a dynamic JPA persistence unit can be defined meaning that the entire service definition is declarative and easily be developed, tested, and deployed in a hosted service. For more information on TopLink please refer to: Project Avatar http://oracle.com/toplink Project Avatar provides a JavaScript services layer zeroed in on supporting REST, WebSockets and Server-Sent Events, and a rich client side framework that assumes very minor JavaScript knowledge. The services side is focused on building data services using JavaScript, while the optional client side is entirely focused on supporting HTML5 and TSA (Thin Server Architecture).

http://avatar.java.net Project Avatar.js - Server-side JavaScript for the JVM Avatar.js is a project to bring the node programming model, APIs and module ecosystem to the Java platform, enabling a new class of hybrid server applications that can leverage two of the most popular programming languages and ecosystems today. These Java+JavaScript applications can leverage capabilities of both environments - access the latest node frameworks while taking advantage of the Java platform's scalability, manageability, tools, and extensive collection of Java libraries and middleware. http://avatar-js.java.net Summary This session introduces so of the functionality available in Oracle WebLogic 12.1.2 and Oracle TopLink that enable the development of Thin Server Architecture (TSA) applications. Leveraging the new WebSocket support and TopLink Data Services developers can easily construct services in WebLogic that provide access to their databases as well as integrating Live Data delivery of changes across Web Sockets.

Contact address: Doug Clarke Oracle Canada ULC 45 O Connor Street K1P 1A4, Ottawa Canada Email douglas.clarke@oracle.com