Serialization in Java
Serialization in Java Serialization in Java allows us to convert an Object to stream that we can send over the network or save it as file or store in DB…
Selenium WebDriver
Selenium WebDriver We need browsers to test web applications. Selenium automates browser and helps us in automation of web application testing across different browsers. Selenium API has provided many classes…
Selenium findElement and findElements Examples
Selenium findElement and findElements Examples Whenever you want to interact with a web page, we require a user to locate the web elements. We usually start by finding the HTML…
Spring Bean Annotation
Spring Bean Annotation Spring @Bean Annotation is applied on a method to specify that it returns a bean to be managed by Spring context. Spring Bean annotation is usually declared…
Spring Component
Spring Component Annotation Spring Component annotation is used to denote a class as Component. It means that Spring framework will autodetect these classes for dependency injection when annotation-based configuration and…
Spring Configuration Annotation
Spring @Configuration Annotation Spring Configuration annotation is part of the spring core framework. Spring Configuration annotation indicates that the class has @Bean definition methods. So Spring container can process the…
Spring PostConstruct and PreDestroy
Spring PostConstruct and PreDestroy When we configure Spring Beans using dependency injection, sometimes we want to make sure everything is initialized properly before our bean starts serving the client requests.…
Spring PropertySource
Spring PropertySource Annotation Spring @PropertySource annotation is used to provide properties file to Spring Environment. This annotation is used with @Configuration classes. Spring PropertySource annotation is repeatable, means you can…
Spring @Repository Annotation
Spring @Repository Annotation Spring @Repository annotation is used to indicate that the class provides the mechanism for storage, retrieval, search, update and delete operation on objects. Spring Repository annotation is…