31.How EJB implements dependency injection? EJB 3.0 specification provides annotations which can be applied on fields or setter methods to inject dependencies. EJB Container uses the global JNDI registry to …
S
-
-
21.What is Callback in EJB? Callback is a mechanism by which life cycle of an enterprise bean can be intercepted. EJB 3.0 specification has specified callbacks for which callback handler …
-
11.Explain @javax.ejb.Stateless annotation. @javax.ejb.Stateless annotation specifies that a given ejb class is a stateless session bean.Following are its attributes: name – Used to specify name of the session bean. …
-
1.What is EJB? EJB stands for Enterprise Java Beans. EJB is an essential part of a J2EE platform. J2EE platform have component based architecture to provide multi-tiered, distributed and highly …
- Design PatternInterview Questions and AnswersTechnical Interview Questions and Answers
Design Pattern Interview Questions and Answers Part-5
by Sby S41.is Visitor pattern? In Visitor pattern, we use a visitor class which changes the executing algorithm of an element class. By this way, execution algorithm of element can vary as …
- Design PatternInterview Questions and AnswersTechnical Interview Questions and Answers
Design Pattern Interview Questions and Answers Part-4
by Sby S31.What are the entities of Service Locator pattern? Following are the entities of this type of design pattern. Service – Actual Service which will process the request. Reference of such …
- Design PatternInterview Questions and AnswersTechnical Interview Questions and Answers
Design Pattern Interview Questions and Answers Part-3
by Sby S21.What is Composite pattern? Composite pattern is used where we need to treat a group of objects in similar way as a single object. Composite pattern composes objects in term …
- Design PatternInterview Questions and AnswersTechnical Interview Questions and Answers
Design Patterns Interview Qustions and Answers Part-1
by Sby S1.What are Design Patterns? Design patterns represent the best practices used by experienced object-oriented software developers. Design patterns are solutions to general problems that software developers faced during software development. …
- DB2Interview Questions and AnswersTechnical Interview Questions and Answers
DB2 Interview Questions and Answers For Freshers Part-5
by Sby S41.Write a query to delete a table from database.? DROP TABLE table-name is the syntax to delete a table from database.
- DB2Interview Questions and AnswersTechnical Interview Questions and Answers
DB2 Interview Questions and Answers For Freshers Part-4
by Sby S31.When you will face SQLCODE -911? At the time of deadlock or timeout you will face SQLCODE -911.