{"id":2566,"date":"2014-07-03T05:19:56","date_gmt":"2014-07-03T05:19:56","guid":{"rendered":"http:\/\/www.aheadsrl.com\/wordpress\/?p=2566"},"modified":"2015-07-06T21:37:26","modified_gmt":"2015-07-06T21:37:26","slug":"jee-override-an-env-entry","status":"publish","type":"post","link":"https:\/\/www.aheadsrl.com\/wordpress\/jee\/jee-override-an-env-entry\/","title":{"rendered":"JEE: Override an env-entry"},"content":{"rendered":"<p>Suppose you have an env-entry in your deploymet descriptor (aka web.xml) that binds some value of some type. Suppose, for example,  that your entry is something like<\/p>\n<p>  <env-entry><br \/>\n  \t<env-entry-name>anEnvEntryInteger<\/env-entry-name><br \/>\n  \t<env-entry-value>10<\/env-entry-value><br \/>\n  \t<env-entry-type>java.lang.Integer<\/env-entry-type><br \/>\n  <\/env-entry><\/p>\n<p>so you have anEnvEntryInteger, as Integer, with value of 10. Now you would certainly retireve that value to use it in your code. The following code pernits to  retrieve code from the entry....<\/p>\n<p><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.aheadsrl.com\/articles\/jee\/jee_1\/j2ee_1.html\" title=\"read the full article\" class=\"btn btn-primary btn-normal btn-inline \" target=\"_blank\">read the full article<\/a><!-- .btn -->\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Suppose you have an env-entry in your deploymet descriptor (aka web.xml) that binds some value of some type. Suppose, for example, that your entry is something like anEnvEntryInteger 10 java.lang.Integer so you have anEnvEntryInteger, as Integer, with value of 10. Now you would certainly retireve that value to use it in your code. The following code pernits to retrieve code from the entry.... &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":2485,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","two_page_speed":[]},"categories":[56],"tags":[67],"_links":{"self":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2566"}],"collection":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2566"}],"version-history":[{"count":1,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2566\/revisions"}],"predecessor-version":[{"id":2567,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/posts\/2566\/revisions\/2567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/media\/2485"}],"wp:attachment":[{"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aheadsrl.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}