Code Monkey home page Code Monkey logo

guicedemo's Introduction

GuiceDemo

Study——Guice-note

1、helloword 例子

(1)面向对象化

(2)命令行关联模拟

2、订单简单业务代码示例

(1)注入

(2)绑定

(3)日志AOP封装

tigs: 比如helloworld ,其核心算法是将指定内容输出至制定目标,而帮助实现这个过程的都叫dependency,都需要提取出来。 System.out.println("xx");   System.out:向哪里输出, println: 怎么输出 ,"xx":输出什么,以上三个属于我们这个算法所依赖的所谓dependency

update:

1、helloworld例子命令行輸入優化

2、命令行匹配優化、让不懂Guice的人也能使用代码

Springboot-guice

guice与springboot协作时的作用域问题

update:

1、设置作用域为RequestScope及模拟Dao层操作

guicedemo's People

Contributors

coffeeandice avatar

Watchers

James Cloos 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.