I think the answer depends on the ability to use HTTP keep alive to push
a new version of the page to the user.

Everything from the servlet back to the EJB you speak of certainly is
possible. Message driven beans are not required for this although can be
what gets updated if you have the content sources sending messages,
otherwise a plain old entity bean should work that itself sends a JMS
message to the front end.

I recommend you look into the MVC (model view controller) pattern and
the HTTP specification at www.w3c.org.

We're approaching tackling this same design. I'll update you if I find
these answers.

-----Original Message-----
From: sudarson roy pratihar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 1:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Can it be possible in j2ee architecture ?


Thanks for the reply. My situation is something
different.The data upataion will be thru some entity
bean and that bean may be called from some some other
browser , say administrator's browser. Or the data
stream may come in real time from real world to the
bean. But the display at the client should be
refreshed whenever the bean fires a message that it
has updated the table.

And regarding applet, I would like to avoid applet if
possible. If not at all possible, I may like to some
applet which is not visible in the browser, only used
for handling reuquest. Pls do suggest me.
--- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> If you can rely on your web browser triggering an
> update or you have an
> external process performing the update of the
> cricket data then a background
> thread is not required. I've only seen asychronous
> communication performed
> with a web browser with refresh being used. it was
> for credit card
> authorizations and a background thread took care of
> the processing whilst
> the JSP page refreshed itself waiting checking the
> status on the background
> to see if payment had been processed yet or not. The
> Thread itself was put
> into the Session. Quite ingenious I thought at the
> time.
>
> > -----Original Message-----
> > From: A mailing list for Enterprise JavaBeans
> development
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> sudarson roy pratihar
> > Sent: Monday, February 12, 2001 7:55 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Can it be possible in j2ee
> architecture ?
> >
> >
> > Hi Robert,
> > I'm sorry that I can't get your point correctly.
> Can u
> > pls explain a bit ? Why thread is needed in the
> server
> > side because anyway bean will send a message to
> the
> > servlet or jsp whatever may be. Pls explain me and
> > help me.
> >
> > Thanks in advance,
> > sudarson
> > --- Robert Nicholson <[EMAIL PROTECTED]> wrote:
> > > I think you have to rely on meta tag refresh
> tricks
> > > for this to work. You
> > > need a background thread that's processing on
> your
> > > server and updates
> > > content that's display by your browser.
> > >
> > > > -----Original Message-----
> > > > From: A mailing list for Enterprise JavaBeans
> > > development
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > Jeffery, Myles
> > > > Sent: Monday, February 12, 2001 7:09 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: Can it be possible in j2ee
> > > architecture ?
> > > >
> > > >
> > > > As far as I know, it is impossible to send a
> > > message to a browser.  You'll
> > > > have to either configure the webpage to poll
> the
> > > server/EJBs or use client
> > > > side Java connected via Corba/JMS to be
> informed
> > > directly of updates.
> > > >
> > > > > -----Original Message-----
> > > > > From: sudarson roy pratihar
> > > [SMTP:[EMAIL PROTECTED]]
> > > > > Sent: 12 February 2001 15:03
> > > > > To:   [EMAIL PROTECTED]
> > > > > Subject:      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".
> > > >
> > >
> > >
> >
>
==================================================================
> > =========
> > > 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".
> > >
> >
> >
> > __________________________________________________
> > 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".
>


__________________________________________________
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