Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How do you write an interactive application

Re: How do you write an interactive application

From: Mladen Gogala <mgogala_at_earthlink.net>
Date: Sun, 11 Nov 2001 03:29:14 GMT
Message-ID: <pan.2001.11.10.22.28.25.236.1413@earthlink.net>

In article <3BED138D.49D4B9F1_at_nzonneveld.demon.nl>, "Nils Zonneveld" <nils_at_nzonneveld.demon.nl> wrote:

> Puneet Agarwal wrote:

>> 
>> Thanks for your reply.
>> 
>> But doing everything on my own through rmi will be very difficult if I
>> only use pure JDBC driver. Is nt there a higher level API available for
>> such an application. How about EJBs. Please help.
>> 
>> 

> I think that JMS (Java Message Service) is what you're looking for,
> possibly in collaboration with EJB. EJB 2.0 supports JMS-based message
> driven beans. But you can make your clients listening for JMS messages
> while the EJB sends out a message when something changes upon which the
> clients have to take action.
>
> Look at:
>
> http://java.sun.com/products/jms/tutorial/1_3-fcs/doc/jms_tutorialTOC.html
>
> Regards,
>
> Nils

I think that DBMS_ALERT in a trigger is what you are looking for. Simply have one thread check for the event every 3 seconds and when it occurs, re-run the query and refresh the screen.

-- 
Mladen Gogala
I love the smell of napalm in the morning. It smells like victory.
Apocalypse Now
Received on Sat Nov 10 2001 - 21:29:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US