{"id":17,"date":"2009-08-20T15:48:12","date_gmt":"2009-08-20T14:48:12","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=17"},"modified":"2010-01-05T16:04:21","modified_gmt":"2010-01-05T15:04:21","slug":"domain-properties-in-glassfish","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2009\/08\/20\/domain-properties-in-glassfish\/","title":{"rendered":"Domain properties in Glassfish"},"content":{"rendered":"<p>You can make properties files available to you WAR and EAR applications by putting the file in the folder <em>glassfish\/domains\/${glassfish.domain.name}\/lib\/classes<\/em><\/p>\n<p>You can use these in your spring configuration by prefixing the resource name with <em>classpath:<\/em>. For example:<\/p>\n<pre lang=\"xml\">\r\n<beans:bean class=\"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer\">\r\n    <beans:property name=\"location\" value=\"classpath:some.properties\"\/>\r\n<\/beans:bean>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>You can make properties files available to you WAR and EAR applications by putting the file in the folder glassfish\/domains\/${glassfish.domain.name}\/lib\/classes You can use these in your spring configuration by prefixing the resource name with classpath:. For example:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,7],"tags":[14,3,37],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-glassfish-java","category-java","tag-glassfish","tag-j2ee","tag-java"],"_links":{"self":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}