Thanks Atif for your suggestion. Actually, I'm using this library to bind the client's cached entities to the Swing components.
I'm still looking for a framework to communicate the server's changes to the client. I think it should be a very requested requirement for JEE application clients, but I can't find something related to this. jrico On Wed, Dec 2, 2009 at 7:50 AM, Majeed, Atif <atif.maj...@cgi.com> wrote: > JGoodies (https://jgoodies.dev.java.net/) binding library facilitates > binding UI controls to domain objects (PropertyChangeListeners etc.). > However it does not have any framework for communicating these changes > back to the server. > > Atif > > -----Original Message----- > From: Jonatan Rico [mailto:jnr...@gmail.com] > Sent: Monday, November 30, 2009 7:35 PM > To: java-ee-j2ee-programming-with-passion@googlegroups.com > Subject: [java ee programming] JEE application with Swing client > (keeping client state updated). > > Hi all, > > I hope someone can point me to the right direction. > > I've developed a JEE application (Glassfish, EJB, JPA) with a Swing > client running in the application client container. The swing > application works with a subset of the entities held by the server, > depending on which user logged in. In the server side, the state of > these entities can change at any time and the Swing client needs to be > notified about this change to keep the view updated. > > In order to achieve this, I developed some classes that make use of > PropertyChangeListeners, EntityListeners, JMS and Reflection. In this > way, i can detect entities' changes at property-level to send just the > data that needs to be updated in the Swing client. > > My question: is there any (stable, robust, etc...) > framework/API/library i could use to replace this homemade solution? > > I read that exist frameworks like JCS, Ehcache and others that > replicate caches, but i don't know if I could use any them under my > requirements as the Swing client works with a subset of the entities. > > Thanks a lot in advanced. > > jrico > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl= > en?hl=en > -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en