Tuesday 27 August 2019

Spring : Miscellaneous

      How to configure port for a spring boot application?
      Run Spring boot application on random port
      Spring boot: How to access the property value from application.properties file?
      Configure Context path of spring boot application
      Configure logging level of the application
      How to log SQL statements in Spring Boot?
      spring-boot-maven-plugin example
      Specify main class for spring boot application jar
      Spring boot: Customize Whitelabel Error Page
      How to add a filter to spring boot application?
      Load initial data to database tables
      How to create an executable jar from spring boot project?
      Compress response messages
      Programmatically find the active profile
      Configure Data Source programmatically
      @ExceptionHandler Example
      Bean is singleton by default
      Create Prototype scoped bean with annotation
      Give a name to bean via @Bean annotation
      Autowire two beans of same class
      Inject or get current ApplicationContext
      Inject ApplicationContext by implementing ApplicationContextAware interface
      FactoryBean Example
      Inject list of beans of specific type
      SpringBootServletInitializer example
      YAML Configuration
      How to use @ConfigurationProperties annotation on @Bean Method?
      Spring boot: Creating Asynchronous Methods Using @Async Annotation
      Get all subclasses of given class
      Spring: inject dependencies to a self-instantiated object

Previous                                                    Next                                                    Home

No comments:

Post a Comment