I have different java projects for data, business and web layer. I initialise spring context in the web layer and have all the spring beans xml file only in the web layer.
@Autowired feature works only for the spring beans in the web layer and does not works for the spring beans (Java classes) from the other 2 projects.
Do I need to define the spring beans xml configuration in the other 2 projects (data & business) as well ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire