Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Multiple database records fetch from browser

Multiple database records fetch from browser

2004-02-05       - By VERMA, SANJEEV (SBCSI)

 Back
Reply:     1     2     3     4     5  

Tim, Thanks for your response.
I guess at this time the requirements are clear enough to start design.
Actually pardon me I didn't want to make the previous mail long enough so
that nobody will read it.
This scenario that I described will happen on the main page of the
application and users may keep looking at the same page for longer time, The
page will just DISPLAY the data, it won't do other operations like
update/insert/delete.  There will be many databases so records in different
database will change pretty soon, but we have 0-3 minutes to fetch the
records as per requirement.
As I said there won't be updates on that main page, mostly all the databases
will be updated via different systems/applications.
I guess server push might be a good idea, but I am not sure how it will work
on this scenario.
Thanks
Sanjeev


-- --Original Message-- --
From: Tim Wood [mailto:timwood0@(protected)]
Sent: Thursday, February 05, 2004 1:15 PM
To: J2EE-INTEREST@(protected)
Subject: Re: Multiple database records fetch from browser


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".

===========================================================================
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".



©2008 junlu.com - Jax Systems, LLC, U.S.A.