JAVA Design Pattern

JAVA Design Pattern The design patten is a vast subject, I will be giving you an head start here Gang of Four – widely used design patterns Behavioral patterns Chain of responsibility Command Interpreter Iterator Mediator Memento Observer State Strategy Template method Visitor Creational patterns Abstract factory Builder Factory method Prototype Singleton Structural patterns Adapter […]

EJB cont

Entity Bean An entity bean is representation of single row in a databases. Entity always be an heavy component. But the connectivity to database will be a transparent to developer. When you create a new entity bean automatically in database new row will be added. ORM – Object Relational Mapping, row in a table will […]


sCOPE oRGANIZATION wIDE MVC Model= EJB View= JSP Controller = SERVLET Why should we go for EJB? Scalability (application should work same for 2 client and 2 million client.) Should be catering to multiple request simulatanously. Problem with the thread is Sycronization. EJB CONTANER, will work on instance pooling and multiple instance. Example jdbc to […]