SlideShare a Scribd company logo
RESTEasy
Hiten Pratap Singh
hiten@fintechlabs.in
https://github.com/hitenpratap
1. Introduction
2. What is & Why REST?
3. Features of RESTEasy
4. Content Negotiation
5. Annotations
6. Demo
Agenda
Introduction
● A JBoss project
● Helps build RESTful Java applications
● An implementation of the JAX-RS 2.0 specification
● Portable implementation that can run in any servlet container
● Other JAX-RS implementations: Jersey & Restlet
What is REST?
● REpresentational State Transfer
● Conceptualised by Roy Fielding
● Addressable resources
● Uniform, constrained interface
● Representation oriented
● Stateless communication
● Evolved with HTTP 1.1
● Not a protocol, an interface, an API or an replacement for SOAP
Why REST?
● Fixed well defined verbs i.e. GET, POST, DELETE etc
● Focus on resources not services
● Different REST endpoints “feel consistent”
● Follows architectural style
● Scalable
● Easily readable & understandable.
Features of RESTEasy
● Portable to Tomcat and many other app-server
● Rich set of providers for: XML, JSON, YAML, Fastinfoset, Multipart, XOP,
Atom, etc.
● GZIP content-encoding
● Rich interceptor model.
● EJB, Seam, Guice, Spring, and Spring MVC integration
● Lightweight
● Security
Content Negotiation
Annotations
● @Path
● @Produces
● @Consumes
● @GET, @POST, @DELETE, @PUT
● @PathParam
● @QueryParam
And many more…
Demo...
Thank You
Hiten Pratap Singh
hiten@fintechlabs.in
https://github.com/hitenpratap
References
● https://www.slideshare.net/jbugrome/javadayiv-leoncini-writing-restful-appli
cations-with-resteasy
● https://www.slideshare.net/michaelneale/sjug-march-2010-restful-design
● https://www.slideshare.net/desmax74/rest-easyjugmaggio2010

More Related Content

PDF
Building Scalable Backends with Go
PDF
Inter-Process Communication in Microservices using gRPC
PDF
Let your REST API talk @java2days
PPTX
Bye bye WCF, hello gRPC
PDF
Seamless Migration
PDF
Errai CDI Integration
PDF
Microservices Communication Patterns with gRPC
PDF
Go mico
Building Scalable Backends with Go
Inter-Process Communication in Microservices using gRPC
Let your REST API talk @java2days
Bye bye WCF, hello gRPC
Seamless Migration
Errai CDI Integration
Microservices Communication Patterns with gRPC
Go mico

Viewers also liked (17)

PDF
Cosmos DB Service
PDF
Introduction to thymeleaf
PPTX
Progressive Web-App (PWA)
PPTX
Grails with swagger
PDF
Introduction to gradle
PPTX
Introduction to es6
PDF
Java 8 features
PDF
Spring Web Flow
PPTX
PDF
Unit test-using-spock in Grails
PDF
Reactive java - Reactive Programming + RxJava
PPTX
PPTX
Actors model in gpars
Cosmos DB Service
Introduction to thymeleaf
Progressive Web-App (PWA)
Grails with swagger
Introduction to gradle
Introduction to es6
Java 8 features
Spring Web Flow
Unit test-using-spock in Grails
Reactive java - Reactive Programming + RxJava
Actors model in gpars
Ad

Similar to RESTEasy (20)

PDF
REST & API Management with the WSO2 ESB
PDF
Rest api webinar(3)
PDF
Restful web services by Sreeni Inturi
PPTX
RESTful Architecture
PDF
RESTful applications: The why and how by Maikel Mardjan
PPTX
Soap,Rest&Json
PPTX
Overview of Rest Service and ASP.NET WEB API
PDF
REST Architectural Style: A Detail Explain
ODP
REST API Laravel
PPTX
Beginner's Guide REST Basics - 101 by Smartbear
PDF
2 rest-elevator-pitch
PPTX
Introduction to gRPC. Advantages and Disadvantages
PPTX
PPTX
Introduction to Django Rest Framework
PDF
Restlet Framework NG
PDF
Restlet Framework NG
DOCX
Fundamental essentials for api design
DOCX
Fundamental Essentials for API Design
DOCX
Fundamental essentials for api design
PPTX
REST-API's for architects and managers
REST & API Management with the WSO2 ESB
Rest api webinar(3)
Restful web services by Sreeni Inturi
RESTful Architecture
RESTful applications: The why and how by Maikel Mardjan
Soap,Rest&Json
Overview of Rest Service and ASP.NET WEB API
REST Architectural Style: A Detail Explain
REST API Laravel
Beginner's Guide REST Basics - 101 by Smartbear
2 rest-elevator-pitch
Introduction to gRPC. Advantages and Disadvantages
Introduction to Django Rest Framework
Restlet Framework NG
Restlet Framework NG
Fundamental essentials for api design
Fundamental Essentials for API Design
Fundamental essentials for api design
REST-API's for architects and managers
Ad

More from NexThoughts Technologies (20)

PDF
PDF
Docker & kubernetes
PDF
Apache commons
PDF
Microservice Architecture using Spring Boot with React & Redux
PDF
Solid Principles
PDF
Introduction to TypeScript
PDF
Smart Contract samples
PDF
My Doc of geth
PDF
Geth important commands
PDF
Ethereum genesis
PPTX
Springboot Microservices
PDF
An Introduction to Redux
PPTX
Google authentication
Docker & kubernetes
Apache commons
Microservice Architecture using Spring Boot with React & Redux
Solid Principles
Introduction to TypeScript
Smart Contract samples
My Doc of geth
Geth important commands
Ethereum genesis
Springboot Microservices
An Introduction to Redux
Google authentication

Recently uploaded (20)

PPTX
A Presentation on Artificial Intelligence
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Encapsulation theory and applications.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
August Patch Tuesday
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
Mushroom cultivation and it's methods.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Per capita expenditure prediction using model stacking based on satellite ima...
Encapsulation theory and applications.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
August Patch Tuesday
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Mushroom cultivation and it's methods.pdf
Machine Learning_overview_presentation.pptx
1. Introduction to Computer Programming.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...

RESTEasy