Coder Social home page Coder Social logo

bastman / skeleton-springboot-webflux-kotlin Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 3.0 76 KB

playing around with spring boot 2.0 webflux aka "reactive" and project-reactor

License: MIT License

Kotlin 100.00%
kotlin webflux spring-mvc reactive spring-boot playground

skeleton-springboot-webflux-kotlin's Introduction

webflux playground

Note: this is just quick and dirty playground

findings

  • springfox swagger currently does not work with webflux, since it has dependencies to mvc

    Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter at springfox.documentation.spring.web.ObjectMapperConfigurer.postProcessBeforeInitialization(ObjectMapperConfigurer.java:45) ~[springfox-spring-web-2.6.1.jar:2.6.1]

      it requires: import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
    

todo: try to include mvc, but factory spring boot with webflux ????

gradle modules

  • common: some shared code (example)
  • rest-service-classic: (reactive) mvc-style restcontroller example
  • rest-service: (reactive) functional-style router example

project flavours

This project has been implemented in different flavours:

kotlin

java

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.