<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Blog Post : Auto refresh properties from Properties files</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Thu, 20 Jun 2013 03:24:33 -0400</pubDate>


    <item>

        <title>Re: Use of threads in application servers</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[<blockquote>It is not a practice to start new threads in application servers, except from specialized threads that are managed by the server itself.<br><br>I would recommend two different approaches (why waste precious processor cycles :-)):<br> 1. use...]]></description>
        

        <pubDate>Tue, 27 Oct 2009 06:25:02 -0400</pubDate>

        

        <jf:creationDate>Tue, 27 Oct 2009 06:25:02 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 27 Oct 2009 06:25:02 -0400</jf:modificationDate>
        <jf:date>Oct 27, 2009</jf:date>
        <jf:author>Karl Banke</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>How about EasyConf?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[<a class="jive-link-external" href="http://easyconf.sourceforge.net/" target="_newWindow">http://easyconf.sourceforge.net/</a>

Liferay Portal Server uses this and it seems to work great.]]></description>
        

        <pubDate>Mon, 19 Oct 2009 07:15:42 -0400</pubDate>

        

        <jf:creationDate>Mon, 19 Oct 2009 07:15:42 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 19 Oct 2009 07:15:42 -0400</jf:modificationDate>
        <jf:date>Oct 19, 2009</jf:date>
        <jf:author>Trever Shick</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Or you could use Commons-Configuration</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[This is great. Thx for pointing towards the apache project. This is exactly what we needed in our current project and it integrated nicely.

And thx Boni for starting this conversation which led to these findings.]]></description>
        

        <pubDate>Sun, 18 Oct 2009 23:46:57 -0400</pubDate>

        

        <jf:creationDate>Sun, 18 Oct 2009 23:46:57 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 18 Oct 2009 23:46:57 -0400</jf:modificationDate>
        <jf:date>Oct 18, 2009</jf:date>
        <jf:author>Dinuka Arseculeratne</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>See also NIO.2</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[This is solved (watching files) in NIO.2:...]]></description>
        

        <pubDate>Sun, 18 Oct 2009 10:26:33 -0400</pubDate>

        

        <jf:creationDate>Sun, 18 Oct 2009 10:26:33 -0400</jf:creationDate>
        <jf:modificationDate>Sun, 18 Oct 2009 10:26:33 -0400</jf:modificationDate>
        <jf:date>Oct 18, 2009</jf:date>
        <jf:author>Cameron Purdy</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Application Servers Vs. Server Applications</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Let me give some background to set the context.  There are various use cases where you need to reload the properties and where you are not using an application server to scaffold your application.  For example an image analysis server I recently wrote...]]></description>
        

        <pubDate>Fri, 16 Oct 2009 08:54:53 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 Oct 2009 08:54:53 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 Oct 2009 08:54:53 -0400</jf:modificationDate>
        <jf:date>Oct 16, 2009</jf:date>
        <jf:author>Boni Gopalan</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Use of threads in application servers</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[It is not a practice to start new threads in application servers, except from specialized threads that are managed by the server itself....]]></description>
        

        <pubDate>Fri, 16 Oct 2009 08:18:47 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 Oct 2009 08:18:47 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 Oct 2009 08:18:47 -0400</jf:modificationDate>
        <jf:date>Oct 16, 2009</jf:date>
        <jf:author>Boris Kuzmic</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Real problem</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[The real problem is not the dynamic loading of properties, but the consequences that it can have in your application....]]></description>
        

        <pubDate>Fri, 16 Oct 2009 03:48:08 -0400</pubDate>

        

        <jf:creationDate>Fri, 16 Oct 2009 03:48:08 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 16 Oct 2009 03:48:08 -0400</jf:modificationDate>
        <jf:date>Oct 16, 2009</jf:date>
        <jf:author>Marc de Kwant</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Or you could use Commons-Configuration</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Take it easy guys :-). Somehow I missed the Commons Configuration.  Thanks for pointing it out to me.  Ohh, this blog post is no way a TSS Newsworthy item - I agree!.  Posted only because I saw a few discussions with no solutions around google search.  ...]]></description>
        

        <pubDate>Thu, 15 Oct 2009 21:38:08 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 21:38:08 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 21:38:08 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>Boni Gopalan</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Or you could use Commons-Configuration</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[I agree that this was not newsworthy.  I hope most TSS readers could figure this problem out by themselves.]]></description>
        

        <pubDate>Thu, 15 Oct 2009 14:31:29 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 14:31:29 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 14:31:29 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>Ken Geis</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Or the approach taken by Log4j's PropertyConfigurator</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Similarly, Log4j has had the notion of <a href="http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PropertyConfigurator.html#configureAndWatch%28java.lang.String%29">configure-and-watch in their PropertyConfigurator</a> for years.  I'm not sure...]]></description>
        

        <pubDate>Thu, 15 Oct 2009 14:29:40 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 14:29:40 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 14:29:40 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>Matthew Passell</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Or you could use Commons-Configuration</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Or if your use case involves updating the properties often, wouldn't you want to consider placing them in a database table? In that way you can put constraints on what values you want to accept or not. And you get the database features like consistency,...]]></description>
        

        <pubDate>Thu, 15 Oct 2009 14:22:44 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 14:22:44 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 14:22:44 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>anoopkumar</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Or you could use Commons-Configuration</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Commons-Config has already solved this problem:...]]></description>
        

        <pubDate>Thu, 15 Oct 2009 14:15:07 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 14:15:07 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 14:15:07 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>sloppyseconds</jf:author>
        <jf:replyCount>7</jf:replyCount>
    </item>


    <item>

        <title>Blog Post : Auto refresh properties from Properties files</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=58225</link>

        

        
            <description><![CDATA[Properties files are simple ways to manage the variable aspects of application configuration.  One pain point I have experienced is the lack of an elegant way to auto load properties file when it changes after the application has started.  This problem...]]></description>
        

        <pubDate>Thu, 15 Oct 2009 11:35:38 -0400</pubDate>

        

        <jf:creationDate>Thu, 15 Oct 2009 11:35:38 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 15 Oct 2009 11:35:38 -0400</jf:modificationDate>
        <jf:date>Oct 15, 2009</jf:date>
        <jf:author>Boni Gopalan</jf:author>
        <jf:replyCount>12</jf:replyCount>
    </item>



</channel>
</rss>

