Is it forbidden or not a best practice to create objects using new. Creating objects means like Helper objects for some specific tasks that are no way related to the request, but are just used to perform some background tasks like reading a local file, database etc
Share
new.User,Address,AccountInfo, etc) are instantiated by you (usingnew)new. It is the@Configurableannotation. It uses AspectJ weavers that plug to the VM. But it is not something to consider until there are no alternatives. (the last sentence is my opinion)