Giter Club home page Giter Club logo

spring's Introduction

该项目仅用于学习交流

来源为JavaEE应用开发期中考试题目

使用注解和xml两种配置Spring的方式

题目如下: 编写Spring应用程序: 1、创建学生类Student,添加学号、姓名、年龄、性别字段,注意类型选择;为Student定义attendclass()方法,该方法输出:姓名+正在上课中 2、通过Spring的Setter注入方式,为Student对象的字段注入值,如:202205001111 张三 18 女 3、使用Spring的AOP对attendclass()方法做功能增强,在attendclass()方法执行前输出:已到教室、完成签到。 4、创建测试类T2,能使用Spring框架获取Student对象,并调用attendclass()方法。

技术栈:Spring->SpringIoC&SpringAOP->Java

作者:Ruilin Yang

时间:2024/04/30

spring's People

Contributors

citadel404 avatar

Stargazers

 avatar

Watchers

 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.