Software Engineering 2 A practical course in software engineering. Ekkart Kindler

Size: px
Start display at page:

Download "Software Engineering 2 A practical course in software engineering. Ekkart Kindler"

Transcription

1 Software Engineering 2 A practical course in software engineering

2 Tutorial 2: Consuming REST Services

3 Contens How to consume REST services Example: NorthQ standalone Java application (but can be re-used later for OpenHAB bindings) Userfull frameworks And how to integrate the technically Development stragtegies 3

4 Development Strategies Look at API documentation Which services might be relevant for your purpose? What parameters do the take? What results do they produce? Manually run through the sequence of calls to Test idea Check exact parameters Other config options (headers, authentication,...) Invokation methods Inspect returned results 4

5 Tools Tools for manual testing REST APIs curl: Command line tool for issuing data transfer commands Postman: Tool chain for developing REST APIs; graphical GUI for REST clients Many other tools 5

6 HttpRequester (Firefox) 6

7 Development Strategies Look at API documentation Manually run through the sequence of calls Only after you did that, program the REST clients: There are different frameworks for that Apache CXF: Jersey: Spring: Retrofit: 7

8 Implementaion In the following, we use the JAX-RS: Java API for RESTful Web services with Jersey (a reference implementation) and Jackson (for behind the scenes conversion between JSON and POJOs) 8

9 Maven dependencies <dependency> <groupid>javax.ws.rs</groupid> <artifactid>javax.ws.rs-api</artifactid> <version>release</version> </dependency> <dependency> <groupid>org.glassfish.jersey.core</groupid> <artifactid>jersey-client</artifactid> <version>release</version> </dependency> <dependency> <groupid>org.glassfish.jersey.inject</groupid> <artifactid>jersey-hk2</artifactid> <version>release</version> </dependency> <dependency> <groupid>org.glassfish.jersey.media</groupid> <artifactid>jersey-media-json-jackson</artifactid> <version>release</version> </dependency> 9

10 Practical steps In your Eclipse (openhab installation) create a new Java project for the NorthQStandaloneApp Create a class with a main method On right-click on the project Via Configure Convert to Maven Project, convert your project to a Maven project Check that you have a pom.xml file in the project and add the above dependencies as dependencies to the pom.xml file of your project. By a right-click on pom.xml run a maven build with goals clean and package 10

11 Code snippets Form form = new Form(); form.param("username", username); form.param("password", password); Client client = ClientBuilder.newClient(); username and password should also better be defined as constants. Builder builder = client.target(northq_new_token_url). request(mediatype.application_json); String result = builder.post( Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE), String.class); 11

12 Code snippets (cntd.)... Client client = ClientBuilder.newClient().register(JacksonFeature.class); Response result = builder.post( Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE), Response.class); Map<?,?> map = result.readentity(map.class); for (Object key : map.keyset()) { System.out.println(key + ": " + map.get(key)); } Result is converted to a Map (only possible with Jackson installed) 12

13 Code snippets (cntd.)... Client client = ClientBuilder.newClient().register(JacksonFeature.class); Response result = builder.post( Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE), Response.class); TokenInfo tokeninfo = result.readentity(tokeninfo.class); Result is converted to a TokenInfo object (only possible with Jackson installed) 13

14 Code snippets (cntd.) public class TokenInfo { public String token; public String user; public boolean success; public String errors; Would be nicer with private attributes and getters and setters, but also works this way. public String tostring() { if (success) { return "Token: id='" + token + "'" + " user='" + user + "'"; } else { return "Token (fail): error='" + errors + "'"; } } 14

15 Code snippets (cntd.)... Client client = ClientBuilder.newClient().register(JacksonFeature.class); TokenInfo token = builder.post( Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED_TYPE), TokenInfo.class); Result is a TokenInfo object without an intermediate Result object (only possible with Jackson installed) 15

16 Code snippets (cntd.)... WebTarget target = client.target(northq_user_houses_url); List<Map<?,?>> houses = target.queryparam(northq_user_param, tokeninfo.user). queryparam(northq_token_param, tokeninfo.token). request(mediatype.application_json). get(list.class); A get request (with automatic conversion to a list); not that this is not type safe 16

JVA-563. Developing RESTful Services in Java

JVA-563. Developing RESTful Services in Java JVA-563. Developing RESTful Services in Java Version 2.0.1 This course shows experienced Java programmers how to build RESTful web services using the Java API for RESTful Web Services, or JAX-RS. We develop

More information

Eclipse Lyo Overview. Michael Fiedler, Eclipse Lyo committer IBM Corporation

Eclipse Lyo Overview. Michael Fiedler, Eclipse Lyo committer IBM Corporation Eclipse Lyo Overview http://eclipse.org/lyo Michael Fiedler, Eclipse Lyo committer 1 Agenda Eclipse Lyo background Content and Plans Test Suites OSLC4J Samples Next Steps 2 OSLC Specifications OSLC Core

More information

Microservices mit Java, Spring Boot & Spring Cloud. Eberhard Wolff

Microservices mit Java, Spring Boot & Spring Cloud. Eberhard Wolff Microservices mit Java, Spring Boot & Spring Cloud Eberhard Wolff Fellow @ewolff What are Microservices? Micro Service: Definition > Small > Independent deployment units > i.e. processes or VMs > Any technology

More information

Rest Client for MicroProfile. John D. Ament

Rest Client for MicroProfile. John D. Ament Rest Client for MicroProfile John D. Ament 1.0-T9, December 05, 2017 Table of Contents Microprofile Rest Client..................................................................... 2 MicroProfile Rest

More information

Rest Client for MicroProfile. John D. Ament, Andy McCright

Rest Client for MicroProfile. John D. Ament, Andy McCright Rest Client for MicroProfile John D. Ament, Andy McCright 1.0, December 19, 2017 Table of Contents Microprofile Rest Client..................................................................... 2 MicroProfile

More information

REST WEB SERVICES IN JAVA EE 6 AND SPRING 3. Srini Penchikala Austin Java User Group March 30, 2010

REST WEB SERVICES IN JAVA EE 6 AND SPRING 3. Srini Penchikala Austin Java User Group March 30, 2010 REST WEB SERVICES IN JAVA EE 6 AND SPRING 3 Srini Penchikala Austin Java User Group March 30, 2010 ABOUT THE SPEAKER Security Architect Certified SCRUM Master Writer, Editor (InfoQ) Detroit Java User Group

More information

Baking a Java EE 8 Micro Pi Mike Croft Ondrej Mihályi. Payara Support

Baking a Java EE 8 Micro Pi Mike Croft Ondrej Mihályi. Payara Support Baking a Java EE 8 Micro Pi Mike Croft Ondrej Mihályi Payara Support Engineers @Payara_Fish Who are we? Payara Support @croft Snowboarder Payara Support @omihalyi Proud father What s this all about? How

More information

What s New in JAX-RS 2.1?

What s New in JAX-RS 2.1? What s New in JAX-RS 2.1? CON3625 David Delabassée @delabassee Java and Container NaMve PlaOorm - Oracle October, 2017 1 @delabassee 2 Safe Harbor Statement The following is intended to outline our general

More information

Rest Client for MicroProfile. John D. Ament, Andy McCright

Rest Client for MicroProfile. John D. Ament, Andy McCright Rest Client for MicroProfile John D. Ament, Andy McCright 1.1, May 18, 2018 Table of Contents Microprofile Rest Client..................................................................... 2 MicroProfile

More information

5.1 Registration and Configuration

5.1 Registration and Configuration 5.1 Registration and Configuration Registration and Configuration Apache Wink provides several methods for registering resources and providers. This chapter describes registration methods and Wink configuration

More information

Software Engineering 2 A practical course in software engineering. Ekkart Kindler

Software Engineering 2 A practical course in software engineering. Ekkart Kindler Software Engineering 2 A practical course in software engineering Tutorial 1: Overview of Technologies and Tools Topics Infrastructure (GitHub) Jenkins Maven Underlying platform/technology openhab Project

More information

Rest Client for MicroProfile. John D. Ament, Andy McCright

Rest Client for MicroProfile. John D. Ament, Andy McCright Rest Client for MicroProfile John D. Ament, Andy McCright 1.2-m2, December 10, 2018 Table of Contents Microprofile Rest Client..................................................................... 2 MicroProfile

More information

JAX-RS and CDI Bike the (ReacIve) Bridge CON2549

JAX-RS and CDI Bike the (ReacIve) Bridge CON2549 JAX-RS and CDI Bike the (ReacIve) Bridge CON2549 David Delabassée (@delabassee) - Oracle José Paumard (@josepaumard) - Consultant October, 2017 2 @delabassee 3 @JosePaumard @JosePaumard https://github.com/josepaumard

More information

Error Code 407 Proxy Authentication Required Maven

Error Code 407 Proxy Authentication Required Maven Error Code 407 Proxy Authentication Required Maven In my "home" use case : internet -_ reverse-proxy -_ maven repository (settings.xml In this case I have the error message : "Failed to authenticate with

More information

Getting. Started with. smash. IBM WebSphere. Ron Lynn, Karl Bishop, Brett King

Getting. Started with. smash. IBM WebSphere. Ron Lynn, Karl Bishop, Brett King Getting Started with IBM WebSphere smash Ron Lynn, Karl Bishop, Brett King Contents Introduction 1 Situational Applications 1 Rapid Application Development 1 IBM WebSphere smash Development Process 2 Available

More information

Eclipse Lyo: Re-thinking tool integrations

Eclipse Lyo: Re-thinking tool integrations Eclipse Lyo: Re-thinking tool integrations http://eclipse.org/lyo Michael Fiedler (@mffiedler, @oslcnews) Steve Speicher (@sspeiche) 1 2012 IBM Corporation, made available under the Eclipse Public License

More information

Developer: Chaithanya Krishna Gogineni Graduate Teaching Assistant Software Engineering Computer Science Department Northern Illinois University

Developer: Chaithanya Krishna Gogineni Graduate Teaching Assistant Software Engineering Computer Science Department Northern Illinois University Developer: Chaithanya Krishna Gogineni Graduate Teaching Assistant Software Engineering Computer Science Department Northern Illinois University DeKalb, Illinois. www.chaithanyagogineni.com 1.Requirements

More information

Selenium Testing Course Content

Selenium Testing Course Content Selenium Testing Course Content Introduction What is automation testing? What is the use of automation testing? What we need to Automate? What is Selenium? Advantages of Selenium What is the difference

More information

OAuth2 Autoconfig. Copyright

OAuth2 Autoconfig. Copyright Copyright Table of Contents... iii 1. Downloading... 1 1.1. Source... 1 1.2. Maven... 1 1.3. Gradle... 2 2. Authorization Server... 3 3. Resource Server... 4 I. Token Type in User Info... 5 II. Customizing

More information

JAVA. 1. Introduction to JAVA

JAVA. 1. Introduction to JAVA JAVA 1. Introduction to JAVA History of Java Difference between Java and other programming languages. Features of Java Working of Java Language Fundamentals o Tokens o Identifiers o Literals o Keywords

More information

FILE - JAVA WEB SERVICE TUTORIAL

FILE - JAVA WEB SERVICE TUTORIAL 20 February, 2018 FILE - JAVA WEB SERVICE TUTORIAL Document Filetype: PDF 325.73 KB 0 FILE - JAVA WEB SERVICE TUTORIAL Web Services; Java Security; Java Language; XML; SSL; 1 2 3 Page 1 Next. Web service

More information

Tweet for Beer! Beer Tap Powered by Java Goes IoT, Cloud, and JavaFX Java end-to-end to pour some beer

Tweet for Beer! Beer Tap Powered by Java Goes IoT, Cloud, and JavaFX Java end-to-end to pour some beer Tweet for Beer! Beer Tap Powered by Java Goes IoT, Cloud, and JavaFX Java end-to-end to pour some beer Bruno Borges Principal Product Manager Developer Advocate Oracle Latin America March, 2015 Speaker

More information

PDF SIMPLE JAVA WEB SERVICE EXAMPLE

PDF SIMPLE JAVA WEB SERVICE EXAMPLE 24 April, 2018 PDF SIMPLE JAVA WEB SERVICE EXAMPLE Document Filetype: PDF 345.47 KB 0 PDF SIMPLE JAVA WEB SERVICE EXAMPLE JAX-WS is java API for XML Web Service. In your EchoPost example in the main class.

More information

JAX-RS 2.0 with Apache CXF

JAX-RS 2.0 with Apache CXF JAX-RS 2.0 with Apache CXF Sergey Beryozkin Talend sberyozkin.blogspot.com Apache CXF Overview Ships production-quality WS and RS modules Common runtime, transports, interceptors, features Runs in Servlet

More information

RESTful Java with JAX-RS

RESTful Java with JAX-RS RESTful Java with JAX-RS Bill Burke TECHMiSCHE INFORMATIO N SEIBLIOTH EK UNIVERSITATSBiBLIQTHEK HANNOVER O'REILLY Beijing Cambridge Farnham Koln Sebastopol Taipei Tokyo Table of Contents Foreword xiii

More information

SOCIAL NETWORKING USING WEB SERVICES VIJAY CHAKRAVARAM. B.Tech, Jawaharlal Nehru Technological University, India, 2013 A REPORT

SOCIAL NETWORKING USING WEB SERVICES VIJAY CHAKRAVARAM. B.Tech, Jawaharlal Nehru Technological University, India, 2013 A REPORT SOCIAL NETWORKING USING WEB SERVICES by VIJAY CHAKRAVARAM B.Tech, Jawaharlal Nehru Technological University, India, 2013 A REPORT submitted in partial fulfillment of the requirements for the degree MASTER

More information

Running the ESPM Twitter Integration sample app on SAP Cloud Platform

Running the ESPM Twitter Integration sample app on SAP Cloud Platform Running the ESPM Twitter Integration sample app on SAP Cloud Platform By Daniel Gomes da Silva Learn how to download, build, deploy, configure and run the ESPM Twitter Integration JAVA sample app on SAP

More information

Exercise for OAuth2 security. Andreas Falk

Exercise for OAuth2 security. Andreas Falk Exercise for OAuth2 security Andreas Falk Table of Contents 1. What we will build....................................................................... 1 2. Step 1....................................................................................

More information

CHAPTER 1: A GENERAL INTRODUCTION TO PROGRAMMING 1

CHAPTER 1: A GENERAL INTRODUCTION TO PROGRAMMING 1 INTRODUCTION xxii CHAPTER 1: A GENERAL INTRODUCTION TO PROGRAMMING 1 The Programming Process 2 Object-Oriented Programming: A Sneak Preview 5 Programming Errors 6 Syntax/Compilation Errors 6 Runtime Errors

More information

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS

RESTFUL WEB SERVICES - INTERVIEW QUESTIONS RESTFUL WEB SERVICES - INTERVIEW QUESTIONS http://www.tutorialspoint.com/restful/restful_interview_questions.htm Copyright tutorialspoint.com Dear readers, these RESTful Web services Interview Questions

More information

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- www.javabykiran. com 8888809416 8888558802 Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- Java by Kiran J2EE SYLLABUS Servlet JSP XML Servlet

More information

Tools for Accessing REST APIs

Tools for Accessing REST APIs APPENDIX A Tools for Accessing REST APIs When you have to work in an agile development environment, you need to be able to quickly test your API. In this appendix, you will learn about open source REST

More information

Soap Based Web Services In Java Tutorial Eclipse Jboss

Soap Based Web Services In Java Tutorial Eclipse Jboss Soap Based Web Services In Java Tutorial Eclipse Jboss In the next sections, an example of top-down Web Service endpoint 1, @WebService (endpointinterface= "org.jboss.test.ws.jaxws.samples.webresult. of

More information

RESTful -Webservices

RESTful -Webservices International Journal of Scientific Research in Computer Science, Engineering and Information Technology RESTful -Webservices Lalit Kumar 1, Dr. R. Chinnaiyan 2 2018 IJSRCSEIT Volume 3 Issue 4 ISSN : 2456-3307

More information

The Soap Response Failed Schema Validation Eclipse

The Soap Response Failed Schema Validation Eclipse The Soap Response Failed Schema Validation Eclipse Include response in time taken, Includes the time it took to read the response body in time-taken No Content-Type Validation, Does not validate the content-type

More information

flask-jwt-simple Documentation

flask-jwt-simple Documentation flask-jwt-simple Documentation Release 0.0.3 vimalloc rlam3 Nov 17, 2018 Contents 1 Installation 3 2 Basic Usage 5 3 Changing JWT Claims 7 4 Changing Default Behaviors 9 5 Configuration Options 11 6 API

More information

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX AdvizeX Technologies - A Rolta Company 6/12/2015 1 AGENDA Introductions Test

More information

Packaging Data for the Web

Packaging Data for the Web Packaging Data for the Web EN 605.481 Principles of Enterprise Web Development Overview Both XML and JSON can be used to pass data between remote applications, clients and servers, etc. XML Usually heavier

More information

WebTestClient. Version RELEASE

WebTestClient. Version RELEASE WebTestClient Version 5.0.9.RELEASE WebTestClient is a thin shell around WebClient, using it to perform requests and exposing a dedicated, fluent API for verifying responses. WebTestClient bind to a WebFlux

More information

Restful Application Development

Restful Application Development Restful Application Development Instructor Welcome Currently a consultant in my own business and splitting my time between training and consulting. Rob Gance Assist clients to incorporate Web 2.0 technologies

More information

JAX-RS. Sam Guinea

JAX-RS. Sam Guinea JAX-RS Sam Guinea guinea@elet.polimi.it http://servicetechnologies.wordpress.com/ JAX-RS Java API that provides support in creating services according to the REST architectural style. JAX-RS uses annotations

More information

HOBOlink Web Services V2 Developer s Guide

HOBOlink Web Services V2 Developer s Guide HOBOlink Web Services V2 Developer s Guide Onset Computer Corporation 470 MacArthur Blvd. Bourne, MA 02532 www.onsetcomp.com Mailing Address: P.O. Box 3450 Pocasset, MA 02559-3450 Phone: 1-800-LOGGERS

More information

Red Hat Decision Manager 7.1 Interacting with Red Hat Decision Manager using KIE APIs

Red Hat Decision Manager 7.1 Interacting with Red Hat Decision Manager using KIE APIs Red Hat Decision Manager 7.1 Interacting with Red Hat Decision Manager using KIE APIs Last Updated: 2018-11-20 Red Hat Decision Manager 7.1 Interacting with Red Hat Decision Manager using KIE APIs Red

More information

PAS for OpenEdge Support for JWT and OAuth Samples -

PAS for OpenEdge Support for JWT and OAuth Samples - PAS for OpenEdge Support for JWT and OAuth 2.0 - Samples - Version 1.0 November 21, 2017 Copyright 2017 and/or its subsidiaries or affiliates. All Rights Reserved. 2 TABLE OF CONTENTS INTRODUCTION... 3

More information

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

Copyright 2012, Oracle and/or its affiliates. All rights reserved. 1 JAX-RS-ME Michael Lagally Principal Member of Technical Staff, Oracle 2 CON4244 JAX-RS-ME JAX-RS-ME: A new API for RESTful web clients on JavaME This session presents the JAX-RS-ME API that was developed

More information

GAVIN KING RED HAT CEYLON SWARM

GAVIN KING RED HAT CEYLON SWARM GAVIN KING RED HAT CEYLON SWARM CEYLON PROJECT A relatively new programming language which features: a powerful and extremely elegant static type system built-in modularity support for multiple virtual

More information

Webservices In Java Tutorial For Beginners Using Netbeans Pdf

Webservices In Java Tutorial For Beginners Using Netbeans Pdf Webservices In Java Tutorial For Beginners Using Netbeans Pdf Java (using Annotations, etc.). Part of way) (1/2). 1- Download Netbeans IDE for Java EE from here: 2- Follow the tutorial for creating a web

More information

OSGi and Spring Data for simple (Web) Application Development

OSGi and Spring Data for simple (Web) Application Development OSGi and Spring Data for simple (Web) Application Development Christian Baranowski Content of my talk in a sentence Java development with Bndtools and bnd is so much fun! My Talk in three Words - Bndtools

More information

vrealize Code Stream Plug-In SDK Development Guide

vrealize Code Stream Plug-In SDK Development Guide vrealize Code Stream Plug-In SDK Development Guide vrealize Code Stream 2.2 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information

NIELSEN API PORTAL USER REGISTRATION GUIDE

NIELSEN API PORTAL USER REGISTRATION GUIDE NIELSEN API PORTAL USER REGISTRATION GUIDE 1 INTRODUCTION In order to access the Nielsen API Portal services, there are three steps that need to be followed sequentially by the user: 1. User Registration

More information

Discover how to get up and running with the Java Development Environment and with the Eclipse IDE to create Java programs.

Discover how to get up and running with the Java Development Environment and with the Eclipse IDE to create Java programs. Java SE11 Development Java is the most widely-used development language in the world today. It allows programmers to create objects that can interact with other objects to solve a problem. Explore Java

More information

2 Apache Wink Building Blocks

2 Apache Wink Building Blocks 2 Apache Wink Building Blocks Apache Wink Building Block Basics In order to take full advantage of Apache Wink, a basic understanding of the building blocks that comprise it and their functional integration

More information

Perform Database Actions Using Java 8 Stream Syntax Instead of SQL. Emil Forslund Java Developer Speedment, Inc.

Perform Database Actions Using Java 8 Stream Syntax Instead of SQL. Emil Forslund Java Developer Speedment, Inc. Perform Database Actions Using Java 8 Stream Syntax Instead of SQL Emil Forslund Java Developer Speedment, Inc. About Me Emil Forslund Java Developer Speedment Palo Alto Age of Java Why Should You Need

More information

Java Persistence API (JPA) Entities

Java Persistence API (JPA) Entities Java Persistence API (JPA) Entities JPA Entities JPA Entity is simple (POJO) Java class satisfying requirements of JavaBeans specification Setters and getters must conform to strict form Every entity must

More information

Aim behind client server architecture Characteristics of client and server Types of architectures

Aim behind client server architecture Characteristics of client and server Types of architectures QA Automation - API Automation - All in one course Course Summary: In detailed, easy, step by step, real time, practical and well organized Course Not required to have any prior programming knowledge,

More information

Skyway Builder 6.3 Reference

Skyway Builder 6.3 Reference Skyway Builder 6.3 Reference 6.3.0.0-07/21/09 Skyway Software Skyway Builder 6.3 Reference: 6.3.0.0-07/21/09 Skyway Software Published Copyright 2009 Skyway Software Abstract The most recent version of

More information

Inheritance and Interfaces

Inheritance and Interfaces Inheritance and Interfaces what is inheritance? examples & Java API examples inheriting a method overriding a method polymorphism Object tostring interfaces Ex: sorting and Comparable interface Inheritance

More information

SERVICE TECHNOLOGIES

SERVICE TECHNOLOGIES SERVICE TECHNOLOGIES Exercises 3 16/04/2014 Valerio Panzica La Manna valerio.panzicalamanna@polimi.it http://servicetechnologies.wordpress.com/exercises/ REST: Theory Recap REpresentational State Transfer

More information

Keep Learning with Oracle University

Keep Learning with Oracle University Keep Learning with Oracle University Classroom Training Learning Subscription Live Virtual Class Training On Demand Cloud Technology Applications Industries education.oracle.com 3 Session Surveys Help

More information

CO Java EE 6: Develop Web Services with JAX-WS & JAX-RS

CO Java EE 6: Develop Web Services with JAX-WS & JAX-RS CO-77754 Java EE 6: Develop Web Services with JAX-WS & JAX-RS Summary Duration 5 Days Audience Java Developer, Java EE Developer, J2EE Developer Level Professional Technology Java EE 6 Delivery Method

More information

Component based Development. Table of Contents. Notes. Notes. Notes. Web Application Development. Zsolt Tóth

Component based Development. Table of Contents. Notes. Notes. Notes. Web Application Development. Zsolt Tóth Component based Development Web Application Development Zsolt Tóth University of Miskolc 2017 Zsolt Tóth (University of Miskolc) Component based Development 2017 1 / 30 Table of Contents 1 2 3 4 Zsolt

More information

4.2. Authenticating to REST Services. Q u i c k R e f e r e n c e G u i d e. 1. IdentityX 4.2 Updates

4.2. Authenticating to REST Services. Q u i c k R e f e r e n c e G u i d e. 1. IdentityX 4.2 Updates 4.2 Authenticating to REST Services Q u i c k R e f e r e n c e G u i d e In IdentityX 4.1, REST services have an authentication and signing requirement that is handled by the IdentityX REST SDKs. In order

More information

RESTful Java Web Services

RESTful Java Web Services RESTful Java Web Services Master core REST concepts and create RESTful web services in Java Jose Sandoval - PUBLISHING - 1 BIRMINGHAM - MUMBAI Preface 1 Chapter 1: RESTful Architectures 7 What is REST?

More information

Tutorial 4 Data Persistence in Java

Tutorial 4 Data Persistence in Java TCSS 360: Software Development Institute of Technology and Quality Assurance Techniques University of Washington Tacoma Winter 2017 http://faculty.washington.edu/wlloyd/courses/tcss360 Tutorial 4 Data

More information

WCF Custom Bindings for Axis2. Sample Java Client Implementation Guide

WCF Custom Bindings for Axis2. Sample Java Client Implementation Guide WCF Custom Bindings for Axis2 Sample Java Client Implementation Guide I 1.0 Prerequisites 1. Eclipse IDE 2. Subversion Client 3. JDK 1.6 4. Patch the JDK with java unlimited key strength files 2.0 Setting

More information

Packaging, automation, Continuous Integration

Packaging, automation, Continuous Integration LP IDSE - GL Packaging, automation, Continuous Integration Based on Simon Urli and Sébastien Mosser courses 18/10/2016 Cécile Camillieri/Clément Duffau 1 Previously. 2 Development process Develop features

More information

juddi Developer Guide

juddi Developer Guide juddi 3.0 - Developer Guide Developer Guide ASF-JUDDI-DEVGUIDE-16/04/09 Contents Table of Contents Contents... 2 About This Guide... 3 What This Guide Contains... 3 Audience... 3 Prerequisites... 3 Organization...

More information

JDO Tools Guide (v5.1)

JDO Tools Guide (v5.1) JDO Tools Guide (v5.1) Table of Contents Maven Plugin.............................................................................. 2 pom.xml Integration.......................................................................

More information

Java SE7 Fundamentals

Java SE7 Fundamentals Java SE7 Fundamentals Introducing the Java Technology Relating Java with other languages Showing how to download, install, and configure the Java environment on a Windows system. Describing the various

More information

Tutorial 02: Writing Source Code

Tutorial 02: Writing Source Code Tutorial 02: Writing Source Code Contents: 1. Generating a constructor. 2. Generating getters and setters. 3. Renaming a method. 4. Extracting a superclass. 5. Using other refactor menu items. 6. Using

More information

OCTOBER 2017 HOW DEUTSCHE TELEKOM DELIVERS A MASS MARKET PRODUCT BASED ON ECLIPSE SMARTHOME

OCTOBER 2017 HOW DEUTSCHE TELEKOM DELIVERS A MASS MARKET PRODUCT BASED ON ECLIPSE SMARTHOME OCTOBER 2017 HOW DEUTSCHE TELEKOM DELIVERS A MASS MARKET PRODUCT BASED ON ECLIPSE SMARTHOME Jochen Hiller, Deutsche Telekom AG Product Owner, Developer Evangelist WHERE WE STARTED PLATFORM LAUNCH IN OCTOBER

More information

Holon Platform JPA Datastore Module - Reference manual. Version 5.2.1

Holon Platform JPA Datastore Module - Reference manual. Version 5.2.1 Holon Platform JPA Datastore Module - Reference manual Version 5.2.1 Table of Contents 1. Introduction.............................................................................. 1 1.1. Sources and contributions.............................................................

More information

Stateless Microservice Security via JWT, TomEE and MicroProfile

Stateless Microservice Security via JWT, TomEE and MicroProfile Stateless Microservice Security via JWT, TomEE and MicroProfile Jean-Louis Monteiro Tomitribe Why am I here today? Microservices architecture case Security opeons OAuth2 with JWT HTTP Signatures Demo with

More information

ForgeRock Access Management Customization and APIs

ForgeRock Access Management Customization and APIs training@forgerock.com ForgeRock Access Management Customization and APIs Description AM-421 Course Description Revision B This course provides a hands-on technical introduction to ForgeRock Access Management

More information

Building A RESTful Web Service With Spring By Ludovic Dewailly READ ONLINE

Building A RESTful Web Service With Spring By Ludovic Dewailly READ ONLINE Building A RESTful Web Service With Spring By Ludovic Dewailly READ ONLINE If looking for a book Building a RESTful Web Service with Spring by Ludovic Dewailly in pdf format, then you've come to the loyal

More information

Objective-C. Stanford CS193p Fall 2013

Objective-C. Stanford CS193p Fall 2013 New language to learn! Strict superset of C Adds syntax for classes, methods, etc. A few things to think differently about (e.g. properties, dynamic binding) Most important concept to understand today:

More information

JAX-RS 2.0 With Apache CXF Continued. Sergey Beryozkin, Talend

JAX-RS 2.0 With Apache CXF Continued. Sergey Beryozkin, Talend JAX-RS 2.0 With Apache CXF Continued Sergey Beryozkin, Talend What is Apache CXF Production quality Java based framework for developing REST and SOAP services Major focus on the interoperability, security,

More information

Using SMI-S with the Cloud Data Management Interface Scott Baker September 21th, 2010

Using SMI-S with the Cloud Data Management Interface Scott Baker September 21th, 2010 Using SMI-S with the Cloud Data Management Interface Scott Baker September 21th, 2010 Scope CDMI is an interoperable & vendor neutral interface for cloud offerings consisting of. Data path Management /

More information

Creating a REST API which exposes an existing SOAP Service with IBM API Management

Creating a REST API which exposes an existing SOAP Service with IBM API Management Creating a REST API which exposes an existing SOAP Service with IBM API Management 4.0.0.0 2015 Copyright IBM Corporation Page 1 of 33 TABLE OF CONTENTS OBJECTIVE...3 PREREQUISITES...3 CASE STUDY...4 USER

More information

OAuth 2.0 Authentication Plugin for SonarQube

OAuth 2.0 Authentication Plugin for SonarQube Computer Science Alexander Lavesson Christina Luostarinen OAuth 2.0 Authentication Plugin for SonarQube Bachelor s Project 2018:06 This report is submitted in partial fulfillment of the requirements for

More information

Spring Web Services Tutorial With Example In

Spring Web Services Tutorial With Example In Spring Web Services Tutorial With Example In Eclipse Bottom Up In addition to creating a basic web service and client, the article goes a step further This article will be using the Eclipse IDE (Kepler),

More information

JAX-RS 2.1 Reloaded. Santiago Pericas-Geertsen JAX-RS Co-Spec Lead. #jax-rs

JAX-RS 2.1 Reloaded. Santiago Pericas-Geertsen JAX-RS Co-Spec Lead. #jax-rs JAX-RS 2.1 Reloaded Santiago Pericas-Geertsen JAX-RS Co-Spec Lead #jax-rs @spericas Agenda Reactive Extensions Server-Sent Events Non-Blocking IO #jax-rs @spericas Reactive Extensions #jax-rs @spericas

More information

Creating RESTful web services with Spring Boot

Creating RESTful web services with Spring Boot Creating RESTful web services with Spring Boot The Spring framework Free and open source Inversion of Control Container (IoC) Modules DI / AOP Data /Security Web MVC/ REST So much more +++ What is Spring

More information

Excel Xml Xsd Validation Java Using Jaxb

Excel Xml Xsd Validation Java Using Jaxb Excel Xml Xsd Validation Java Using Jaxb These OASIS CAM standard XML validation templates can include use of content written in Java, implements an XML and JSON validation framework using the NOTE: if

More information

Cheat Sheet: Wildfly Swarm

Cheat Sheet: Wildfly Swarm Cheat Sheet: Wildfly Swarm Table of Contents 1. Introduction 1 5.A Java System Properties 5 2. Three ways to Create a 5.B Command Line 6 Swarm Application 1 5.C Project Stages 6 2.A Developing a Swarm

More information

SQLSplitter v Date:

SQLSplitter v Date: SQLSplitter v2.0.1 Date: 2017-02-18 1 Contents Introduction... 3 Installation guide... 4 Create S3 bucket access policy... 4 Create a role for your SQLSplitter EC2 machine... 5 Set up your AWS Marketplace

More information

Chapter 1: First steps with JAX-WS Web Services

Chapter 1: First steps with JAX-WS Web Services Chapter 1: First steps with JAX-WS Web Services This chapter discusses about what JAX-WS is and how to get started with developing services using it. The focus of the book will mainly be on JBossWS a Web

More information

Developer Walkthrough

Developer Walkthrough WSDL SOAP Frameworks and CXF Overview, page 1 Download WSDLs from Cisco HCM-F platform, page 1 Use CXF to Autogenerate Code Stubs from WSDL, page 2 Writing a Base HCS Connector Web Client using the Autogenerated

More information

Chapter 4 Defining Classes I

Chapter 4 Defining Classes I Chapter 4 Defining Classes I This chapter introduces the idea that students can create their own classes and therefore their own objects. Introduced is the idea of methods and instance variables as the

More information

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION

MARS AREA SCHOOL DISTRICT Curriculum TECHNOLOGY EDUCATION Course Title: Java Technologies Grades: 10-12 Prepared by: Rob Case Course Unit: What is Java? Learn about the history of Java. Learn about compilation & Syntax. Discuss the principles of Java. Discuss

More information

Deployment options in H2O. Date:03/04/2014

Deployment options in H2O. Date:03/04/2014 Deployment options in H2O Date:03/04/2014 Wednesday, March 4, 2015 Executive Summary... 3 Deployment methods for H2O models... 7 H2O provides APIs to produce and consume models for production deployments.

More information

JBoss SOAP Web Services User Guide. Version: M5

JBoss SOAP Web Services User Guide. Version: M5 JBoss SOAP Web Services User Guide Version: 3.3.0.M5 1. JBoss SOAP Web Services Runtime and Tools support Overview... 1 1.1. Key Features of JBossWS... 1 2. Creating a Simple Web Service... 3 2.1. Generation...

More information

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170

6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 Contents: CVS in Eclipse o Setting up CVS in Your Environment o Checkout the Problem Set from CVS o How Do I Add a File to CVS? o Committing

More information

KurentoRepository Documentation

KurentoRepository Documentation KurentoRepository Documentation Release 6.6.1-dev kurento.org Apr 03, 2017 Contents I Introduction 3 1 Example 7 2 Source code 9 3 Content of this documentation 11 II Repository Server 13 4 Dependencies

More information

Apache Wink User Guide

Apache Wink User Guide Apache Wink User Guide Software Version: 0.1 The Apache Wink User Guide document is a broad scope document that provides detailed information about the Apache Wink 0.1 design and implementation. Apache

More information

Selenium Webdriver Github

Selenium Webdriver Github Selenium Webdriver Github 1 / 6 2 / 6 3 / 6 Selenium Webdriver Github A browser automation framework and ecosystem. Contribute to SeleniumHQ/selenium development by creating an account on GitHub. JsonWireProtocol

More information

Parcel Data Exchange (PDX) Application Program Interface (API) User Guide

Parcel Data Exchange (PDX) Application Program Interface (API) User Guide Parcel Data Exchange (PDX) Application Program Interface (API) User Guide Version: 18.0 04/18/2018 Parcel Data Exchange (PDX) API Customer Guide Page 1 of 33 Table of Contents Contents 1. Introduction...

More information

What's upcoming to OSGi

What's upcoming to OSGi What's upcoming to OSGi OSGi R7 Release is coming. Are you ready? Raymond Augé raymond.auge@liferay.com Name @twitterhandle 3 Module Layer New Developers and SCM metadata headers: Bundle-Developers: raymond.auge;email=raymond.auge@liferay.com;

More information

RESTful SCA with Apache Tuscany

RESTful SCA with Apache Tuscany RESTful SCA with Apache Tuscany Luciano Resende lresende@apache.org http://lresende.blogspot.com Jean-Sebastien Delfino jsdelfino@apache.org http://jsdelfino.blogspot.com 1 Agenda IBM Software Group What

More information

API Developer Notes. A Galileo Web Services Java Connection Class Using Axis. 29 June Version 1.3

API Developer Notes. A Galileo Web Services Java Connection Class Using Axis. 29 June Version 1.3 API Developer Notes A Galileo Web Services Java Connection Class Using Axis 29 June 2012 Version 1.3 THE INFORMATION CONTAINED IN THIS DOCUMENT IS CONFIDENTIAL AND PROPRIETARY TO TRAVELPORT Copyright Copyright

More information