All Projects → paypal → Resteasy Spring Boot

paypal / Resteasy Spring Boot

Licence: other
RESTEasy Spring Boot Starter

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Resteasy Spring Boot

Reactive Ms Example
An educational project to learn reactive programming with Spring 5
Stars: ✭ 157 (-17.37%)
Mutual labels:  spring-boot, spring
Awesome Spring
A curated list of awesome books, tutorials, courses, and resources for the Spring framework ecosystem.
Stars: ✭ 186 (-2.11%)
Mutual labels:  spring-boot, spring
Study
全栈工程师学习笔记;Spring登录、shiro登录、CAS单点登录和Spring boot oauth2单点登录;Spring data cache 缓存,支持Redis和EHcahce; web安全,常见web安全漏洞以及解决思路;常规组件,比如redis、mq等;quartz定时任务,支持持久化数据库,动态维护启动暂停关闭;docker基本用法,常用image镜像使用,Docker-MySQL、docker-Postgres、Docker-nginx、Docker-nexus、Docker-Redis、Docker-RabbitMQ、Docker-zookeeper、Docker-es、Docker-zipkin、Docker-ELK等;mybatis实践、spring实践、spring boot实践等常用集成;基于redis的分布式锁;基于shared-jdbc的分库分表,支持原生jdbc和Spring Boot Mybatis
Stars: ✭ 159 (-16.32%)
Mutual labels:  spring-boot, spring
Charon Spring Boot Starter
Reverse proxy implementation in form of a Spring Boot starter.
Stars: ✭ 155 (-18.42%)
Mutual labels:  spring-boot, spring
Spring Cloud Tutorial
Spring Cloud Tutorial.《Spring Cloud 教程》
Stars: ✭ 173 (-8.95%)
Mutual labels:  spring-boot, spring
Spring Samples
A series of examples used to demonstrate certain features of Spring.
Stars: ✭ 154 (-18.95%)
Mutual labels:  spring-boot, spring
Jax Rs Performance Comparison
⚡️ Performance Comparison of Jax-RS implementations and embedded containers
Stars: ✭ 181 (-4.74%)
Mutual labels:  jax-rs, spring-boot
Hikaku
A library that tests if the implementation of a REST-API meets its specification.
Stars: ✭ 154 (-18.95%)
Mutual labels:  jax-rs, spring
Rebuild
Building your business-systems freely! 高度可定制化的企业管理系统 企业中台
Stars: ✭ 169 (-11.05%)
Mutual labels:  spring-boot, spring
Spring And Spring Boot
Lab solutions for Spring and Spring Boot course
Stars: ✭ 163 (-14.21%)
Mutual labels:  spring-boot, spring
Spring Boot Blog
spring boot & mybatis 示例
Stars: ✭ 154 (-18.95%)
Mutual labels:  spring-boot, spring
Rxjava Spring Boot Starter
RxJava Spring MVC integration
Stars: ✭ 180 (-5.26%)
Mutual labels:  spring-boot, spring
Bird Java
bird-java是以Spring Boot为基础的开发增强组件包。
Stars: ✭ 154 (-18.95%)
Mutual labels:  spring-boot, spring
Java Specialagent
Automatic instrumentation for 3rd-party libraries in Java applications with OpenTracing.
Stars: ✭ 156 (-17.89%)
Mutual labels:  spring-boot, spring
Spring Boot Inside
spring boot技术细节的相关demo
Stars: ✭ 154 (-18.95%)
Mutual labels:  spring-boot, spring
Biking2
This is the source code of http://biking.michael-simons.eu
Stars: ✭ 162 (-14.74%)
Mutual labels:  spring-boot, spring
Spring Thrift Starter
Set of cool annotations that helps you building Thrift applications with Spring Boot
Stars: ✭ 151 (-20.53%)
Mutual labels:  spring-boot, spring
Cas Client Autoconfig Support
Annotation-based configuration support for Apereo CAS Java clients
Stars: ✭ 153 (-19.47%)
Mutual labels:  spring-boot, spring
Speedment
Speedment is a Stream ORM Java Toolkit and Runtime
Stars: ✭ 1,978 (+941.05%)
Mutual labels:  spring-boot, spring
Myuploader Backend
单文件上传,多文件上传,大文件上传,断点续传,文件秒传,图片上传
Stars: ✭ 177 (-6.84%)
Mutual labels:  spring-boot, spring

Build Status Codacy Badge Codacy Coverage Maven Central License

RESTEasy Spring Boot Starter


Important: this project has been transfered from PayPal team to RESTEasy team.

All future versions are going to be managed and released from https://github.com/resteasy/resteasy-spring-boot.

This Git repo will be kept here for historical purposes only.


There was no RESTEasy Spring Boot starter out there, so PayPal team decided to create one and share it with the community.

This Spring Boot starter is fully functional, has ZERO PayPal specific code on it, and can be used normally by any regular Spring Boot application that wants to have REST endpoints and prefers RESTEasy as the JAX-RS implementation.

Also, this RESTEasy Spring Boot starter integrates with Spring as expected, which means every JAX-RS REST resource that is also a Spring bean will be automatically auto-scanned, integrated, and available.

Features

  • Enables RESTEasy for Spring Boot applications
  • Supports JAX-RS providers, resources and sub-resources as Spring beans
  • Supports automatic discovery and registration of multiple JAX-RS Application classes as Spring beans
  • Supports optional registration of JAX-RS Application classes via class-path scanning, or manually, via configuration properties (or YAML) file
  • Leverages and supports RESTEasy configuration
  • Supports RESTEasy Asynchronous Job Service

Quick start

Adding POM dependency

Add the Maven dependency below to your Spring Boot application pom file.

<dependency>
   <groupId>com.paypal.springboot</groupId>
   <artifactId>resteasy-spring-boot-starter</artifactId>
   <version>2.3.4-RELEASE</version>
   <scope>runtime</scope>
</dependency>

Registering JAX-RS application classes

Just define your JAX-RS application class (a subclass of Application) as a Spring bean, and it will be automatically registered. See the example below. See section JAX-RS application registration methods in How to use RESTEasy Spring Boot Starter for further information.

package com.sample.app;

import org.springframework.stereotype.Component;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

@Component
@ApplicationPath("/sample-app/")
public class JaxrsApplication extends Application {
}

Registering JAX-RS resources and providers

Just define them as Spring beans, and they will be automatically registered. Notice that JAX-RS resources can be singleton or request scoped, while JAX-RS providers must be singletons.

Further information

See How to use RESTEasy Spring Boot Starter.

Release notes

See RESTEasy Spring Boot starter release notes.

Projects

  • sample-app: A simple Spring Boot application that exposes JAX-RS endpoints as Spring beans using RESTEasy via this RESTEasy Spring Boot starter.
  • resteasy-spring-boot-starter: The RESTEasy Spring Boot Starter project.
  • resteasy-spring-boot-starter-test: Integration tests for the RESTEasy Spring Boot Starter project.

Reporting an issue

Please open an issue using our GitHub issues page.

Contributing

You are very welcome to contribute to RESTEasy Spring Boot starter! Read our Contribution guidelines.

Contacting us

To contact us, please send an email to [email protected].

License

This project is licensed under the Apache 2 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].