Multiple database records fetch from browser 2004-02-05 - By VERMA, SANJEEV (SBCSI)
Back Hi All ! I am facing a situation here where we have to decide which way we should go, either entirely a J2EE approach or J2EE with a small applet on client side. I know the client side small applet won't be a good approach. The problem is our system will talk to multiple databases. On the main page we will show data from 4-5 databases. The databases will ALWAYS get updated from different systems , so when a user is looking at his page that has data from multiple databases at that time if that data is updated in database through other applications/systems then the page should automatically refresh itself to grab the new records , the time interval may be 0-3 minutes maximum. We can put some frames/iframes so that it won't refresh entire page. But the problem is how we will notify back to browser to update itself .
I don't want to put some time interval in Javascript to fetch the records because that call will be very expensive.
Right now in our architecture we are planning to use Struts,Steteless EJBs and TopLink. We can go for Entity beans or can tweak the architecture if we really have too.
I think there should be some better solution than putting a small applet in browser and RMI Server.
Your suggestions will be appreciated. Thanks Sanjeev
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|