users
[Top] [All Lists]

Messaging At the Web Layer

To: CinJug <users@xxxxxxxxxx>
Subject: Messaging At the Web Layer
From: "Edward Sumerfield" <esumerfd@xxxxxxxxxxxxxx>
Date: Tue, 23 Oct 2007 15:35:36 -0400
Delivered-to: mailing list users@xxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=UgQ0yuTRaWIdq3BDjcwas5TVCw7PXNtHZHy1Cgt3s/Y=; b=Qc11Mq6Qs8Y1rK4Vr0wdjQxiJkdJuuIuypu/pDrtnIM80UfYvoyi+dh2jzQ4bqU+35T5X6DJZLSE0vfpkYukhCJ7JTX6ktU23jlmsZNs3I/AUMcQ0NyXE01+cuaV2fMVBixIr0QMt2OK547EPSA7obNVL16+ijps6KyDp73x1OM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=tNyxF2abXMJXRNOkavPbedrPjc8aqS/xMykXpzsxoq3gU0FwqU22Wyy4Mbj4mMx+PSx4oGerZ3xn19XYeydteh5UntzDkRehdq2AL/BxuKLwxTxo/rnkBiQhhNAAOS/PD5Aa4+fJSw8Bm9X4hslwDR9r3IyuWwpYcmp7awndx1w=
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
Reply-to: esumerfd@xxxxxxxxxxxxxx
Sender: esumerfd@xxxxxxxxx
I am considering implementing a JMS messaging container at the Web layer. Tell me I am a fool? :-)

I have a simple web app polled by a client every second for its data. Not wanting to hit the database for every client, every second, it is cached at the web layer.

Enter JMS. We will be receiving notifications of changes to the database data via JMS messages. So MessageDrivenBeans, deployed to JBoss EJB container will receive these messages but what should they do to tell the cache in the Web container to update.

It seems my options are to push the cache to a java space somewhere so that the web layer and the MDB's can access it or to move the messaging container to the web layer.

Thoughts?

Ed

<Prev in Thread] Current Thread [Next in Thread>