Giter VIP home page Giter VIP logo

scala-mybatis-plus-dubbo-orm's Introduction

Scala的spring-boot应用

项目目的

  • 使用Scala写spring-boot 应用。并且orm 框架使用的是mybatis-plus. 并且使用dubbo RPC调用测试
  • orm 层使用mybatis-plus. 并且尝试使用mybatis-plus 代理的方法。
  • 使用dubbo 测试 scala Bean 的RPC调用的序列化与反序列化

项目方案

  1. 使用微服务的方式创建了二个spring-boot服务,并且之间的关系在dubbo 的角色中 一个是provider,一个是consumer。
  2. 使用zookeeper 作为dubbo 的注册中心。
  3. 使用mybatis-plus 作为orm 框架,目的是为了使用mybatis-plus 的灵活性以及提前封装的一些特性
  4. 使用druid 作为数据库连接池。

项目结论

  1. 使用Scala作为mybatis 的实体类时,必须要继承 java.io.Serializable 序列化。
  2. 基础数据类型要转换成 Java的基础数据类型。
  3. dubbo 使用集合(如 list.Map 等)需要转成Java的集合类来作为入参或者返参。

scala-mybatis-plus-dubbo-orm's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.