I like to create a client which shows certain data stored in a db. The view should be automatically updated as soon as the value in the db changes.
I thought to create a topic where my client is subscript to and my update bean sends a message to this topic after it updated the db.
I don't think I'm able to use a message bean for that because it needs to be assigned to a particular session/ client.
Or is their a way to do this ?
Unless your "client" is also an EJB server (unlikely), you can't use a Message Driven EJB. The client will need its own Message Listener.
That's what I thought. Thanks for responding so quickly.