You could use the MVC architecture and break it down as follows:

Client -> View Layer -> Model Layer -> Persistence Layer

Breaking it down as follows:
  Presentation Layer: Applet
  Model Layer: a web application framework like Struts for instance
(http://jakarta.apache.org/struts)
  Persistence Layer: Database

By using Struts you could map these various database events as actions. This
provides a loose coupling between the View and Model, which can make an
application easier to create and maintain.

The code for Struts is open source and freely available.

Justy

----- Original Message -----

> Hi,
>
> I am looking for a small scale of the folowing application.   The user
> access this application by the web browser.
>
> The description of the application:
> ===================================
>
>    The user will see a java based viewer (could be an applet) that shows a
> database table.  The user has options to update, delete, and add a row in
> the viewer and that will update/delete/add a row in the real database
table.
>
>
> My current design is:
> ---------------------
>
> Applet (viewer)  <--> Tomcat <--->  Servlets <----> Database
>
>
>
> Do you have any code samples for any similar application?, or if you have
> any other design idea, pls let me know.   Thanks in advance.
>
>
> tn
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to