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.

observer pattern

or maybe can have "configtable" in database, property, value, expiration time.

so, when admin updates value, other applications in network can pool new value.

take jgroups

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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -