Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.1k views
in Technique[技术] by (71.8m points)

java - Whats the best approach for loading, creating, saving and deleting spring beans at runtime?

I have a legacy (pre-spring) J2EE application in which components or beans can be created & autowired dynamically at run-time through a web console, and those dynamically created beans are saved in a bean XML config file (not spring).

I am looking to swap out this legacy code for spring/spring-boot and I'm wondering what the best approach is for loading, creating and saving spring beans dynamically (including the data source bean itself) - essentially bean CRUD ?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...