Bookmark Topic Watch Topic
  • New Topic

what's the factory?

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • 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
 
Junilu Lacar
Sheriff
Posts: 9995
103
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
zb,
Search the web for "Abstract Factory Design Pattern"
Junilu
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • 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.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
Reuben Cleetus
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!