Free Online Whiteboard Base64 Converter JSON Utility SmartTool PDF

Category: Spring

What is Spring ? 0

What is Spring ?

Spring is an open source framework created to address the complexity of enterprise application development. One of the chief advantages of the Spring framework is its layered architecture, which allows you to be selective...

What are the different types of IOC (dependency injection) ? 0

What are the different types of IOC (dependency injection) ?

There are three types of dependency injection: Constructor Injection (e.g. Pico container, Spring etc): Dependencies are provided as constructor parameters. Setter Injection (e.g. Spring): Dependencies are assigned through JavaBeans properties (ex: setter methods). Interface...

What is IOC (or Dependency Injection)? 0

What is IOC (or Dependency Injection)?

The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created. You don’t directly connect your...

What are Bean scopes in Spring Framework? 0

What are Bean scopes in Spring Framework?

The Spring Framework supports exactly five scopes (of which three are available only if you are using a web-aware ApplicationContext). The scopes supported are listed below: Scope Description singleton Scopes a single bean definition...

What are the differences between EJB and Spring? 0

What are the differences between EJB and Spring?

Spring and EJB feature comparison. Feature EJB Spring Transaction management Must use a JTA transaction manager. Supports transactions that span remote method calls. Supports multiple transaction environments through its PlatformTransactionManagerinterface, including JTA, Hibernate, JDO,...

What is RowCallbackHandler? 0

What is RowCallbackHandler?

The RowCallbackHandler interface extracts values from each row of a ResultSet. Has one method – processRow(ResultSet) Called for each row in ResultSet. Typically stateful.

What is SQLProvider? 0

What is SQLProvider?

SQLProvider: Has one method – getSql() Typically implemented by PreparedStatementCreator implementers. Useful for debugging.

What is PreparedStatementCreator ? 0

What is PreparedStatementCreator ?

PreparedStatementCreator: Is one of the most common used interfaces for writing data to database. Has one method – createPreparedStatement(Connection) Responsible for creating a PreparedStatement. Does not need to handle SQLExceptions.

What is Spring’s JdbcTemplate? 0

What is Spring’s JdbcTemplate?

Spring’s JdbcTemplate is central class to interact with a database through JDBC. JdbcTemplate provides many convenience methods for doing things such as converting database data into primitives or objects, executing prepared and callable statements,...