struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vernon Wu <vern...@gatewaytech.com>
Subject Re: RE: User Notification
Date Mon, 23 Sep 2002 23:49:06 GMT

What else would you suggest? 

The reason I am thinking about use DOM is that messages are stored in a XML format in DB since
the number of 
messages can vary. The XML format data needs to be parsed either SAX or DOM. If DOM parsing
is too slow, SAX 
parsing into a collection object is a way to get around.

   
9/23/2002 3:03:49 PM, "Galbreath, Mark" <Galbreath@tessco.com> wrote:

>I hope he means stored as an XML doc.  Parsing DOMs are notoriously slow.
>
>-----Original Message-----
>From: Eddie Bush [mailto:ekbush@swbell.net]
>Sent: Monday, September 23, 2002 5:41 PM
>
>Sounds like a simple DB-lookup to me.  You aren't going to update the 
>client until they refresh at page at least.  You'd just have to include 
>something that polled for new messages in each page you wanted them to 
>receive notification.  I'm not familiar with what you mean by "stored as 
>a DOM" or the implications of that, so maybe this is a bad suggestion ;-)
>
>Vernon Wu wrote:
>
>>I need to implement a message system, sort like email but inside the Java
>web application only for its users. After one 
>>user, A, sends a message to another, B, B shall be notified to retrieve the
>updated messages if B is on line. I plan to 
>>implement messages as stored in a DOM. My question is how the notification
>shall be implemented.  I only use a web 
>>container, and considering to add in a JMS server for IM.
>>
>>Any suggestions?
>>
>>Thanks,
>>
>>Vernon
>>
>
>-- 
>Eddie Bush
>
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:struts-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message