Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How can you implement singleton pattern in servlets ?
Singleton is a useful Design Pattern for allowing only one instance of your class. you can implement singleton pattern in servlets by using using Servlet init() and <load-on-startup> in the deployment descriptor.