can u explain about design patterns like
singleton,builder,factory



can u explain about design patterns like singleton,builder,factory..

Answer / Suraj Singh Rana

1. Singleton: Ensures a class has only one instance while providing a global point of access to it.
2. Builder: A construction pattern that allows complex objects to be built step by step.
3. Factory: Creates objects without specifying the exact class of object that will be created.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More EJB Interview Questions

What is ejbdoclet?

1 Answers  


Explain ejbhome and ejbobject in ejb?

1 Answers  


Explain Stateful session bean life cycle?

2 Answers   Accenture,


Life Cyle methods in Entity Bean with Bean Managed Persistence

1 Answers  


What does statelessness mean?

1 Answers  


What is session facade in ejb?

1 Answers  


What is applicationscoped?

1 Answers  


How many ejb objects are created for a bean?

1 Answers  


What are types in SessionBeans?

1 Answers  


What is the difference between @requestparam and @pathvariable?

1 Answers  


Is ejb be called from another ejb? If yes then how?

1 Answers  


Is success EJB3.0 in the Market? IF yes just explain main differences between EJB2.0 and EJB3.0.

1 Answers   ITC Infotech,


Categories