users
[Top] [All Lists]

Re: [cinjug-users] Messaging At the Web Layer

To: esumerfd@xxxxxxxxxxxxxx
Subject: Re: [cinjug-users] Messaging At the Web Layer
From: "josh marotti" <marotti@xxxxxxxxx>
Date: Tue, 23 Oct 2007 15:43:49 -0400
Cc: CinJug <users@xxxxxxxxxx>
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:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZGyxObLXZxntGMn1MyNIifSqzZRPi8YdUFJ/7nQYNGg=; b=EdXeiv+bpV/39eoLfkp4yHFP5C0JCGNVN49gJCeRLfne2voQON6NUGaBqsByJ+dWq6hOLI8DI/qYPb4O7sjx3TRKq8e81Zl9GIKxvU5Z7HKT8CAuPCGzCjcFu2OPXFt2PxEPEcmFopI11M7bubI+CaATbsaNGc6ZbCQiVfqSjmo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M5rEhme59hI3TPyB1T0bSm3BtkbJiL8hYiI/nYUxOaZ/sy9DNh5cnpfkgqn/p+IDLLuz6D44jdKS+wjQNb0/jpuuWw7xMegvSqAcpE2dkdjbfFM4xaIB9NJd/evUwy5goufX36fyLJLQ1YGHDJf4DmiLpFPPmz/Il5zLA/oZvno=
In-reply-to: <6a216ba20710231235h730074f7ma164455e7bb8307a@xxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <6a216ba20710231235h730074f7ma164455e7bb8307a@xxxxxxxxxxxxxx>
I'm no architect, so I am asking this out of curiosity and for my own
knowledge :

Why can't the caching and JMS be pushed down to the business layer
instead of the web layer?

Thanks,
Josh

On 10/23/07, Edward Sumerfield <esumerfd@xxxxxxxxxxxxxx> wrote:
> 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>