mysql - Java Application on network enviroment -
i'm developing application using java & mysql database, application desktop application working in network environment. application has static content loaded database when starting application. if super user made change variables, need enforce network users restart application can load new variables.
what idea or code need use.
you implement this.
or maybe can have "configtable" in database, property, value, expiration time.
so, when admin updates value, other applications in network can pool new value.
regarding pooling approach, (we don't have enough information give best solution) try this.
a notification_table id, event (event know, maybe load new images, etc)
workflow
1) clients pool table every x seconds, filtering id > lastnotificationid (that needs saved in local file) 2) client applies new events. 3) client updates local file new notificationid.
Comments
Post a Comment