{"id":4975,"date":"2014-03-30T17:20:01","date_gmt":"2014-03-30T17:20:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/dependency-injection-in-every-aspect-of-a-spring-app-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:20:01","modified_gmt":"2014-03-30T17:20:01","slug":"dependency-injection-in-every-aspect-of-a-spring-app-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/dependency-injection-in-every-aspect-of-a-spring-app-collection-of-common-programming-errors\/","title":{"rendered":"Dependency Injection in every aspect of a spring app?-Collection of common programming errors"},"content":{"rendered":"<p>I am taking a look into Spring as a web framework, however I am needing a bit of help getting my head around DI.<\/p>\n<p>The concept of objects getting constructed in the container on run time is such a new concept.<\/p>\n<p>I am just wondering how this will reflect in a big application, would I have some modules doing work that are more highly coupled or should every object be initialised at runtime?<\/p>\n<p>It all seems a little intensive to me, I mean say for example I have a CSV file data mining application that removes the data per row &#8211; each rows data is encapsulated in one of my own <code>CSVRow<\/code> objects for processing or whatever. These objects are instantiated whenever an Excel file maybe uploaded to the server. I don&#8217;t know how many I will need to create?<\/p>\n<p>I seem to be getting a bit lost, any clarity, an overview or some guidance would be much appreciated.<\/p>\n<p>Thanks in advance!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am taking a look into Spring as a web framework, however I am needing a bit of help getting my head around DI. The concept of objects getting constructed in the container on run time is such a new concept. I am just wondering how this will reflect in a big application, would I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4975","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4975"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4975\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}