Index
A
- annotations
- @Required / Working with autowiring and annotations
- @Autowired / Working with autowiring and annotations
- @Qualifier / Working with autowiring and annotations
- examining / Examining annotations
- working with / Working with annotations
- @ContextConfiguration / Working with annotations
- @WebAppConfiguration / Working with annotations
- @ContextHierarchy / Working with annotations
- @ActiveProfiles / Working with annotations
- @TestPropertySource / Working with annotations
- @DirtiesContext / Working with annotations
- @TestExecutionListeners / Working with annotations
- @Timed / Working with annotations
- @Repeat / Working with annotations
- AOP / The AOP module
- about / Working with aspects
- AspectJ / Working with aspects
- Spring AOP / Working with aspects
- join point / Working with aspects
- advice / Working with aspects
- pointcut / Working with aspects
- aspect / Working with aspects
- weaving / Working with aspects
- target / Working with aspects
- introduction / Working with aspects
- static AOP / Working with aspects
- dynamic AOP / Working with aspects
- aspect / Working with aspects
- AspectJ / Working with aspects
- aspects
- working with / Working with aspects
- assertion
- expectation, verifying with / Verifying an expectation with an assertion
- assert methods / Verifying an expectation with an assertion
- assertThat method
- about / Working with assertThat
- working with / Working with assertThat
- equalTo, exploring / Exploring equalTo, is, and not
- not, exploring / Exploring equalTo, is, and not
- is, exploring / Exploring equalTo, is, and not
- compound matchers, exploring / Exploring compound matchers – either, both, anyOf, and allOf
- collection matchers, exploring / Exploring collection matchers – hasItem and hasItems
- string matchers, exploring / Working with string matchers – startsWith, endsWith, and containsString
- custom matchers, exploring / Exploring custom matchers
- asynchronous tasks
- working with / Working with asynchronous tasks
- AsyncRestTemplate
- about / Learning AsyncRestTemplate
- autowiring mode
B
- bean
- properties, for defining / Learning the Inversion of Control
- class / Learning the Inversion of Control
- name / Learning the Inversion of Control
- scope / Learning the Inversion of Control
- constructor-arg / Learning the Inversion of Control
- properties / Learning the Inversion of Control
- lazy-init / Learning the Inversion of Control
- init-method / Learning the Inversion of Control
- destroy-method / Learning the Inversion of Control
- scopes / Learning the Inversion of Control
- lifecycle / Learning the Inversion of Control
- bean, scopes
- singleton / Learning the Inversion of Control
- prototype / Learning the Inversion of Control
- request / Learning the Inversion of Control
- session / Learning the Inversion of Control
- global-session / Learning the Inversion of Control
- beans
- life cycle / Examining life cycle messages
- ApplicationContextAware / Examining life cycle messages
- BeanNameAware / Examining life cycle messages
- InitializingBean / Examining life cycle messages
- BeanFactoryAware / Examining life cycle messages
- BeanPostProcessor / Examining life cycle messages
- DisposableBean / Examining life cycle messages
C
- @Cacheable annotation / Caching objects
- @CacheEvict annotation / Caching objects
- collection matchers
- compound matchers
- ContextLoader interface / Exploring the TestContext framework
- core container
- about / The core container
- Core and Beans / The core container
- Context / The core container
- Expression Language / The core container
- custom matchers
- exploring / Exploring custom matchers
D
- DAO layer
- building / Unit testing the data access layer
- data access layer
- unit testing / Unit testing the data access layer
- data access module
- JDBC / The data access module
- ORM / The data access module
- OXM / The data access module
- JMS / The data access module
- transactions / The data access module
- data setup / Examining annotations
- dependency injection (DI)
- Derby
- running / Exploring Spring JDBC
- dynamic AOP / Working with aspects
E
- Eclipse
- URL / Working with the JUnit framework, Configuring Eclipse
- configuring / Configuring Eclipse
- EhCache JAR
- URL / Caching objects
- Enterprise Integration Patterns (EIP) / Getting started with Spring
- environment
- mocking / Mocking an environment
- exception handling
- examining / Examining exception handling
- exceptions
- throwing / Throwing exceptions
- Extreme Programming (XP)
- about / Learning unit testing
H
- Hello World
- printing / Printing Hello World
I
- instrumentation / The instrumentation module
- Integrated Development Environments (IDEs)
- about / Working with the JUnit framework
- Inversion of Control (IoC)
- isolation, levels
- ISOLATION_DEFAULT / Exploring transaction attributes
- ISOLATION_READ_UNCOMMITTED / Exploring transaction attributes
- ISOLATION_READ_COMMITTED / Exploring transaction attributes
- ISOLATION_REPEATABLE_READ / Exploring transaction attributes
- ISOLATION_SERIALIZABLE / Exploring transaction attributes
J
- Java Transaction API (JTA) / Handling a transaction with Spring
- Java unit testing frameworks / Learning unit testing
- JNDI lookup
- mocking / Mocking the JNDI lookup
- JUnit 4
- about / Working with the JUnit framework
- JUnit framework
- about / Working with the JUnit framework
- URL / Working with the JUnit framework
- annotations, examining / Examining annotations
- expectation, verifying with assertion / Verifying an expectation with an assertion
- exception handling, examining / Examining exception handling
- @RunWith annotation, working with / Working with the @RunWith annotation
- test suites, working with / Working with test suites
- assertThat, working with / Working with assertThat
M
- messaging module / The messaging module
- Mockito
- about / Working with Mockito, Exploring Mockito
- URL / Working with Mockito
- significance / Learning the significance of Mockito
- configuring / Configuring Mockito
- in action / Mocking in action
- objects, mocking / Mocking objects
- stubbing methods / Stubbing methods
- exceptions, throwing / Throwing exceptions
- Mockito jar
- URL / Exploring Mockito
- MockMvc
- used, for mocking Servlet container / Mocking the servlet container with MockMvc
- Model View Controller (MVC)
- MVC, Spring
- testing / Testing Spring MVC
O
- objects
- caching / Caching objects
P
- Plain Old Java Objects (POJOs)
- about / Getting started with Spring
- based application development / Getting started with Spring
- PlatformTransactionManager
- features / Handling a transaction with Spring
- pointcut / Working with aspects
- Portlet / The web layer
- profiles, Spring
- configuring / Configuring Spring profiles
- programmatic transaction management
- using / Working with a programmatic Spring transaction
- TransactionTemplate, using / Using TransactionTemplate
- PlatformTransactionManager, using / Using PlatformTransactionManager
R
- @RestController
- exploring / Exploring @RestController
- @RunWith annotation
- working with / Working with the @RunWith annotation
- ReflectionTestUtils
- using / Using ReflectionTestUtils
- remote procedure call (RPC) / Getting started with Spring
- Representational State Transfer (RESTful) web services / Exploring @RestController
S
- service layer
- unit testing / Unit testing the service layer
- Servlet container
- mocking, with MockMvc / Mocking the servlet container with MockMvc
- SmartContextLoader interface / Exploring the TestContext framework
- Software as a Service (SaaS) / Getting started with Spring
- Spring
- about / Getting started with Spring
- in nutshell / Getting started with Spring
- advantages / Getting started with Spring
- projects / Getting started with Spring
- IO platform / Getting started with Spring
- Boot / Getting started with Spring
- Framework / Getting started with Spring
- XD / Getting started with Spring
- Cloud / Getting started with Spring
- Data / Getting started with Spring
- Integration / Getting started with Spring
- Batch / Getting started with Spring
- Security / Getting started with Spring
- HATEOAS / Getting started with Spring
- Social / Getting started with Spring
- Advanced Message Queuing Protocol (AMQP) / Getting started with Spring
- Mobile / Getting started with Spring
- for Android / Getting started with Spring
- Web Flow / Getting started with Spring
- Web Services / Getting started with Spring
- LDAP / Getting started with Spring
- profiles, configuring / Configuring Spring profiles
- MVC, testing / Testing Spring MVC
- test transactions, handling / Handling transactions in Spring tests
- release, discovering / Discovering the new Spring release
- Spring, architecture
- about / Exploring the Spring architecture
- core container / The core container
- AOP / The AOP module
- instrumentation / The instrumentation module
- messaging module / The messaging module
- data access module / The data access module
- web / The web layer
- test module / The test module
- Spring AOP / Working with aspects
- about / Working with aspects
- Spring Data Access Object (DAO) / Exploring Spring JDBC
- Spring Framework
- Spring JDBC
- exploring / Exploring Spring JDBC
- implementing / Exploring Spring JDBC
- Spring JDBC JAR
- URL / Exploring Spring JDBC
- Spring Tool Suite (STS) / Printing Hello World
- static AOP / Working with aspects
- string matchers
- stubbing methods
- about / Stubbing methods
- thenReturn(value to be returned) / Stubbing methods
- thenThrow(throwable to be thrown) / Stubbing methods
- thenAnswer(Answer answer) / Stubbing methods
- thenCallRealMethod() / Stubbing methods
- in depth verification / Verifying in depth
- Verifying zero and no more interactions / Verifying zero and no more interactions
T
- @Transactional annotation
- test, Spring
- transactions, handling / Handling transactions in Spring tests
- Test-Driven Development (TDD)
- about / Learning unit testing
- TestContext class / Exploring the TestContext framework
- TestContext framework
- exploring / Exploring the TestContext framework
- TestContext class / Exploring the TestContext framework
- TestContextManager class / Exploring the TestContext framework
- TestExecutionListener interface / Exploring the TestContext framework
- ContextLoader interface / Exploring the TestContext framework
- SmartContextLoader interface / Exploring the TestContext framework
- TestContextManager class / Exploring the TestContext framework
- TestExecutionListener implementations
- ServletTestExecutionListener / Exploring the TestContext framework
- DependencyInjectionTestExecutionListener / Exploring the TestContext framework
- DirtiesContextTestExecutionListener / Exploring the TestContext framework
- TransactionalTestExecutionListener / Exploring the TestContext framework
- SqlScriptsTestExecutionListener / Exploring the TestContext framework
- TestExecutionListener interface / Exploring the TestContext framework
- test module
- about / The test module
- test suites
- working with / Working with test suites
- transaction
- handling, with Spring / Handling a transaction with Spring
- declarative Spring transaction, working with / Working with declarative Spring transaction
- attributes, exploring / Exploring transaction attributes
- transaction, propogation
- PROPAGATION_MANDATORY / Exploring transaction attributes
- PROPAGATION_NESTED / Exploring transaction attributes
- PROPAGATION_NEVER / Exploring transaction attributes
- PROPAGATION_NOT_SUPPORTED / Exploring transaction attributes
- PROPAGATION_REQUIRED / Exploring transaction attributes
- PROPAGATION_REQUIRES_NEW / Exploring transaction attributes
- PROPAGATION_SUPPORTS / Exploring transaction attributes
- TransactionDefinition interface / Handling a transaction with Spring
U
- unit testing
- about / Learning unit testing
- code-driven / Learning unit testing
- web layer / Unit testing the web layer
- service layer / Unit testing the service layer
- data access layer / Unit testing the data access layer
V
- verify
- times(int wantedNumberOfInvocations) / Verifying in depth
- never() / Verifying in depth
- atLeastOnce() / Verifying in depth
- atLeast(int minNumberOfInvocations) / Verifying in depth
- atMost(int maxNumberOfInvocations) / Verifying in depth
- only() / Verifying in depth
- timeout(int millis) / Verifying in depth
- video
W
- weaving / Working with aspects
- web layer
- about / The web layer
- Webmvc / The web layer
- Portlet / The web layer
- WebSocket / The web layer
- unit testing / Unit testing the web layer
- Webmvc / The web layer
- WebSocket / The web layer