posted 3 years ago
Hi,
I need a general understanding about the scope of objects in a Spring based web applications. Suppose i have a a web application with a Rest Webservice. The web application either fetches the record from database or persist the data into database. Is Singleton ,Prototype and prototype with ScopedProxyMode.TARGET_CLASS enough. Should i look into Request scope also?
RestController - BeanObj -> ServiceImpl -> DaoImpl->DB
Regards,
Raj