DEV Community

12471220
12471220

Posted on

some note

spring xml configurations:

<bean id="exampleBean" class="com.example.ExampleBean">
    <!-- 通过 ref 属性注入另一个名为 'anotherBean' 的 Bean -->
    <property name="someProperty" ref="anotherBean"/>
</bean>

<bean id="anotherBean" class="com.example.AnotherBean"/>
Enter fullscreen mode Exit fullscreen mode
  1. ref means property injection.

Top comments (1)

Collapse
 
odqin profile image
Khelil Badro

there is a CLI named BeB you can use it to create a backend experss and mongodb project in one line try it 😁

OSZAR »