Advertisement
Home > Java Design Patterns > Java Design Case Study 2 > Design ContextPlease log in to add or reply to any matter<- requires login or
RMI Example

Home > Java Design Patterns > Java Design Case Study 2 > Design Context
Struts Tutorials:
Struts2 Tag CheckBoxList
, Checkbox, Iterator, IF
Struts2 Tag Library Example Struts2 Tiles Example Struts2 Tiles I18N Example Struts2 Questions Struts Tiles I18N Example Struts Eclipse MVC Struts2 Tags Struts2 Example and Tutorial Struts MVC Struts2 Validation
Hibernate Tutorials: Hibernate Case Study Class Hierarchy Persist Example Using Hibernate Interceptor Hibernate Questions with Answer Hibernate Many-to-Many Mapping Example Hibernate one-to-many Mapping Example Hibernate and ORM tools Spring Hibernate Example Hibernate SessionFactory Example Hibernate Mapping Class Hierarchy Hibernate Questions Hibernate SessionFactory Questions Spring Hibernate Example: Spring Hibernate Case Study
Design-Context - Java-Design-Case-Study-2 - Java-Design-Patterns Example
Author : ISHTEK
Date (Year/Month/Date): 2009-06-01 Design Context Case Study 2: A piece of wood is carved to form a chair or a bed or a table or an arrow. All these forms can be formed by the same raw material i.e., wood. This phrase if to be designed using latest technology and using advanced feature/API as provided by Java Technology. What design patterns are applicable in this context?

Advertisement


Commented By ->
Amit
I think, this can very well be achieved by using 
AbstractFactory pattern. By providing Raw material as
wood, I should be able to get a WoodFactory, from this
woodfactory I can get a table, a chair, an arrow etc.
Similarly by extending this example a little bit, that
is by providing Raw material such as IRON. I should be able
to get various iron products from IronFactory.

Commented By ->
cesar
case 2 of "javac" or "java"
Please write your Comment on this Matter
(This will be visible if found suitable):
Name: *
Email (will not be displayed): *
Matter: *
6,26
Enter bigger number from above :*
Home > Java Design Patterns > Java Design Case Study 2 > Design Context
Visitor/User submitted related resources:
(Visible upon review and approved by this site Administrator)
Referred By Name *:
Resource URL *: (e.g, URL should be starting with http://www.-----.---)
 
Resource Short Description *:
33,33
Enter bigger number from above : *

Please log in to add or reply to any matter<- requires login
Log in or Register
This List is generated as on 2009-07-12 (YYYY-MM-DD)
#Discuss-these : questions-and-answer : Interview-Questions-on-Java
#Design-Pattern-Java-Platform : Template : Java-Design-Patterns
#design-context : Java-Design-Case-Study-1 : Java-Design-Patterns
#Design-Context : Java-Design-Case-Study-2 : Java-Design-Patterns
Copyright © 2008-2009, Interview-Questions-Tips-Forum, All Rights Reserved.
CONTACT    PRIVACY POLICY    DISCLAIMER

This web site provides some of the information about various technologies, example 
code, tips, tutorials etc. Like any printed matterials, content of these pages may 
become out of date over a period of time. Therefore all visitor/users of this web 
site are requested/advised to refer to the originating parties/sources for the 
latest changes and happenings for detailed information. This information is not 
intended to be a substitute for the original reference provided by the originating 
parties/sources.