Multiple database records fetch from browser 2004-02-05 - By Tim Wood
Back At 08:31 AM 02/05/04, VERMA, SANJEEV (SBCSI) wrote: >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.
Well, that settles it then. Thanks for writing. :)
>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... >[ fairly classic cache/replication-control description deleted ] >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.
I would stop thinking about the point technologies you might or might not use and consider the requirements of the application. How close does the user view of the data really need to be to the committed state of the databases? How often does the database state change materially? What's the maximum latency & cost of an update to the user display? The answers will help decide how closely to couple the user view and the database activity. In general, if you really need close coupling, you will want a persistent connection to the user's display (browser) and server push of updates. That lets the update policy and timing be controlled from the server side. This sounds a lot like a publish -subscribe scenario, but perhaps with stricter timing requirements. But don't engineer beyond what users need, it's a waste and will delay the project.
HTH & FWIW, TW
=========================================================================== 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".
|
|