  | 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
|
|
|
  | | | Configurable application | Configurable application 2003-10-30 - By Jeff Zhuk
Back Vidyod,
your description sounds in tune with the Strategy pattern. The Factory Method and Abstract Factory patterns might be useful, and i would think about reflection package on implementation level.
Hope it helps,
Jeff Zhuk
720-299-4701 http://JavaSchool.com jzhuk@(protected) alternative: jzhuk@(protected) ITS, Inc., Chief Architect/Principal Instructor
-- -- Original Message -- -- From: "Sam Fancourt" <sfancourt@(protected)> To: <J2EEPATTERNS-INTEREST@(protected)> Sent: Wednesday, October 29, 2003 9:28 PM Subject: Re: Configurable application
> Can you be a little more specific? > > In particular: > Am I correct in assuming that the categories represent data (ie: they are > not simply logical items)? > What sort of rules are we talking about? It could be that you need to use a > rules engine, or it could just be that the configuration settings need to be > well specified. Or that you need some sort of factory object to get logic > for a particular instance... > > Sam :-) > > > PS: > Some of the discussion from last month might be helpful to you: > http://archives.java.sun.com/cgi-bin/wa?A1=ind0309&L=j2eepatterns-interest#1 > 1 > but that will only be applicable if you want adjust the data storage to > handle diverse attributes - it doesn't go over the "rules" issue. > > > -- --Original Message-- -- > From: vidyod kumar [mailto:vidyod@(protected)] > Sent: Thursday, 30 October 2003 13:42 > To: J2EEPATTERNS-INTEREST@(protected) > Subject: Configurable application > > > Hi All- > I am developing an application with following > features > > There are certain functionalities need to be performed > for each category identified. Within the > functionality, it has following differences > > 1) Each category has different set of rules > > 2)The attributes that should be displayed for each > category are different > > Pl. let me know what is the best way to do this > > - > > __ ____ ____ ____ ____ ____ ______ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > ==================================================================== > 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) > > ==================================================================== > 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)
==================================================================== 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)
|
|
 |