File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes what's the factory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "what Watch "what New topic
Author

what's the factory?

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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
Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Factory method is just a fancy name for a method that instantiates objects. Like a factory, the job of the factory method is to create -- or manufacture -- objects.

for more detail refer to
http://www.javaworld.com/javaworld/javaqa/2001-05/02-qa-0511-factory.html
-arun


Sharing is learning
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16054
    
  21

This question was cross-posted all over JavaRanch.


Customer surveys are for companies who didn't pay proper attention to begin with.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Continue the conversation here.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what's the factory?