Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
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
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
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
 
Design Help

Design Help

2004-03-05       - By Nikhil Ahuja

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

U can use Helper Class which could be a Bean to return the Values(details)
about the Number.And then copy the Helper properties to the associated form. If
you dont find the Number in the database return an empty form bean to be
populated.

With this you can have a DAO class doing all the Database related operations.
Then if you like you can have values in session.Remember to clear you session
when you are done.



-nikhil

-- -- Original Message -- --
From: Maya menon <maya_java@(protected)>
Date: Friday, March 5, 2004 1:15 pm
Subject: Design Help

>
> All,
>
>
>
> I am in a project and need help in designing pieces of the
> application.
> First of all, I am new to design, so please help me go in the
> correct direction. I have a requirement doc with me, which I an
> analysing and seperating into modules right now. I need help in
> selecting the correct patterns for designing the piece.
>
> Mine is a J2EE based web app. The first req is based on a number
> that the user enters in the first jsp page, the number shd be
> checked against the database and if its there, the second jsp
> should display all the details about that number. If its not, it
> shd go to the second page and prompt user to enter all
> details[then it becomes a database insert]. I am planning to use
> Struts in the front end, but what all shd I use for other pieces
> to complete the flow ?
>
> Any help appreciated.
>
>
>
> Thanks
>
>
>
>
> -- ---- ---- ---- ---- ---- -----
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing
>
> ====================================================================
> Companion Site: http://www.corej2eepatterns.com
> J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
> List Archive: http://archives.java.sun.com/archives/j2eepatterns-
> interest.htmlUnsubscribing: email "signoff J2EEPATTERNS-INTEREST"
> to listserv@(protected)
>

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)



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