Re: About Factory Method and Abstract Factory (design pattern)
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Nicholas Paldino [.NET/C# MVP] wrote:
Granted, this is a general question about design patterns, but it
revolves around implementations in Java, so you might want to look in
Java-specific forums.
That being said, there isn't a difference between the two images that
you have shows. They are the same pattern. The first image just shows the
complete Cloudscape implementation of the factory, while the second diagram
shows a partial implementation for three different providers.
I know, but i just to know pattern. The implementation of pattern in C#
or Java is ok.
Thank you, i also think it's the same :(
--
Duy Lam Phuong
.
Relevant Pages
- Re: Do I overuse class methods?
... I have spent much time in Java / C# environments with heavy use of dependency injection pattern so maybe this is source of my aversion to stateless classes manual instantiation - usually something else has done it for me:D Using Singleton pattern is more similar to Service Locator but it may be good alternative. ... Ruby's design patterns are extremely lightweight compared to their Java equivalents. ... Rick Olsen's Design Patterns in Ruby book shows good idiomatic Ruby implementations of the GoF patterns. ... Ruby has far better mechanisms than dependency injection. ... (comp.lang.ruby) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... In current implementations of Java, the object overhead is typically 64 bits. ... for pattern matching in Java. ... I have nothing against built-in pattern matchers that are powerful ... (comp.lang.lisp) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... > report that having written a frontend and optimizer in 100% pure Java, ... > the visitor pattern and inner classes heavily, I fould the lack of pattern ... > matching to be annoying but not a real pain.* The lack of parametric ... polymorphism, and syntax for tuples and lists. ... (comp.lang.lisp) - Re: Sum types (Was: Re: OT: More Antilock brakes)
... the visitor pattern and inner classes heavily, I fould the lack of pattern ... matching to be annoying but not a real pain.* The lack of parametric ... I were doing this in Java that supports generics, I would be hard pressed to ... was done using the AST nodes was quite pleasant. ... (comp.lang.lisp) - Re: Visitor-patter
... You need GnuPG to verify this message ... A quick search for visitor pattern Java gave me the following as a ... visitors pattern, I wanted something more.. ... but the visitor pattern isn?t covered in it (only very briefly in ... (comp.lang.java.help) |
|