hello,

I am not sure if I well understand your question. Consequently, I am not
sure if you are on the good ML... ;)

What you want (if I suppress all J2EE buzzwords) is to refresh a web page
asynchronously when a particular event occurs (on the server). Right?

If so, this is definitively not a J2EE problem but rather a browser/HTTP
session problem.

If you want to stay pure HTML, the only thing you can do is to automatically
refresh your page every n seconds. Otherwise, you may use some applet
registering on the server to receive callbacks. Nevertheless, I think (if my
memory serves) that callbacks requires your applet (inbound TCP connection)
to enhance its standard security context in the browser (which is
non-standard with the different browsers on the market...)

Is there a more elegant solution with Javascript and some DHTML? don't
know... maybe

Maybe using an hidden frame which refresh itself every n seconds and only
updates the DHTML content of another visible frame if its new value is
different than the one on the visible frame... Any other idea?

Cheers,



                                Sacha



> -----Message d'origine-----
> De : A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]De la part de sudarson roy pratihar
> Envoye : lundi, 12 fevrier 2001 16:03
> A : [EMAIL PROTECTED]
> Objet : Can it be possible in j2ee architecture ?
>
>
> Hi All,
> I want to design a page whose content is dynamic.
> Let's take the example of cricket score board.
> Whenever an ejb updates the table which is source of
> data for the page in jsp, it will send to a message to
> the jsp/servlet. And JSP should chgange the content in
> clinet's browser. Is it possible? If yes, how ? We can
> take ejb2.0 for message driven bean and jms along with
> jsp.And refreshing of the page should be based on the
> message , not on time intervals.
>
> Thanks and Regards,
> sudarson
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to