Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what's the factory?

 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hello
as we can seen,there are a lot of "factory" in the java,such as InitialContextFactory,KeyManagerFactory,.........
so many factories have confused me,but i think there must be some common meaning withing the factories,and there must be differences between the factories and other classes,who can help me?
thank you
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
zb,
Search the web for "Abstract Factory Design Pattern"
Junilu
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I just responded to this exact question from you on Marcus Green's site. I really hate it when people spray the same question to a bunch of places at the same time.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
On the other hand, William only hates it because he frequents both sites.

I do the same thing. If I want an answer to something, I'll try a few different sites, because for the most part, they have different audiences. And I make no apologies for doing it either. The web is a resource to use. It's also arrogance on our part, to assume JavaRanch can answer all questions.
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Thank You! Indeed, there would be NO questions left to ask on Javaranch if one had to ensure their absolute uniqueness across the web! It is quite understandable for one to ask a similar question on multiple websites, especially when on a deadline... and quite absurd to assume that every question asked on JavaRanch is answered with enough clarity and substance to satisfy the person posting the question.
Cross-posting on Javaranch is understandable not desired, but to chide someone for posting the same query elsewhere on the web is quite a stretch.
Regards,
Reuben.

Originally posted by Mike Curwen:
On the other hand, William only hates it because he frequents both sites.

I do the same thing. If I want an answer to something, I'll try a few different sites, because for the most part, they have different audiences. And I make no apologies for doing it either. The web is a resource to use. It's also arrogance on our part, to assume JavaRanch can answer all questions.


[ January 25, 2002: Message edited by: Reuben Cleetus ]
[ January 25, 2002: Message edited by: Reuben Cleetus ]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Closing this, as it's been recently revealed as a cross post.

zb.. stop doing that.

And no, I don't detect any irony in telling him not to cross post within a site, so recently after defending his intra-site cross post.
[ January 25, 2002: Message edited by: Mike Curwen ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic