File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet" Watch "Servlet" New topic
Author

Servlet

leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
Is Servlet is Singleton class or not..
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  10

Not.
leela krishhna
Greenhorn

Joined: Aug 24, 2012
Posts: 10
leela krishhna wrote:Is Servlet is Singleton class or not..

Why ,I need Reason.. Any practical proof is there...
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

I create YourServlet obj = new YourServlet() . and JEE specification not restricted container to create only one instance.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Welcome to JavaRanch leela krishhna
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63053
    
  69

leela krishhna wrote:Why ,I need Reason.. Any practical proof is there...

Nonsense. It's the other way around. You prove that it is.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Servlet
 
It's not a secret anymore!