Home
Archives
About
Site Notice
Privacy Policy
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests

    May 21, 2020 docker hibernate jdbc jpa junit5 spring spring-data testcontainers

    In this blog post I'd like to demonstrate how I integrate Testcontainers in Spring Boot tests for running integration tests with a database. I'm not using Testcontainers' Spring Boot modules. How it works with them, I will show in a separate blog post. All samples can be found on GitHub. Why Testcontainers? …

    Read More
  • Strategy Pattern Revisited With Spring

    Sep 18, 2019 design pattern spring

    This blog post wants to show another approach how to implement the Strategy Pattern with dependency injection. As DI framework, I choose Spring framework From Wikipedia Firstly, let's have a look how the Strategy Pattern is implemented in the classic way. As starting point, we have a HeroController that should add a …

    Read More
  • Configuration over JNDI in Spring Framework

    Oct 4, 2014 jndi spring

    From a certain point on, an application has to be configurable. Spring Framework has a nice auxiliary tool for this issue since the first version 0.9 , the class PropertyPlaceholderConfigurer and since Spring Framework 3.1 the class PropertySourcesPlaceholderConfigurer. When you start a Google search for …

    Read More
  • Spring Web Application With Hessian Services As a Maven Project

    Nov 12, 2012 hessian maven spring tomcat

    This post describes how to set up a Maven project for a Spring web application with Hessian Service. It also shows how to set up the deployment for exposing the Hessian service and how to set up a client to consume the Hessian service. The Spring Framework version is 3.1.1.RELEASE and the Hessian version is 4.0.7. …

    Read More
  • Read Classpath Resource from Jar Files with Spring

    Feb 29, 2012 classpath jar resource spring

    To read resources from classpath, you can use the Spring class ClassPathResource. The constructor with one argument reads only resources from file system. But sometimes you want to read a resources from a jar file in the classpath. For this case, you must build an own URLClassLoader from the URL of the jar file and use …

    Read More

Sandra Parsick

Software Developer, Consultant, Java Champion.
Read More

Featured Posts

  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests
  • Pimp My Git - Manage Different Git Identities
  • Generate P2 Repository From Maven Artifacts In 2017

Recent Posts

  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Software Engineering Camp 2019
  • Strategy Pattern Revisited With Spring
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests
  • Using JUnit 5 In Pre-Java 8 Projects
  • How to Format a Large Code Base Automatically

Categories

CONTINUOUS-INTEGRATION 26 JAVA 17 JVM 12 MAVEN 9 LINUX 8 WINDOWS 8 JENKINS 7 QUALITY-ASSURANCE 7 TESTING 7 OSGI 6 CONFIGURATION-MANAGEMENT 5 GIT 5 NEXUS 5 MAVEN-TYCHO 4
All Categories
ANSIBLE2 CONFERENCE3 CONFIGURATION-MANAGEMENT5 CONTINUOUS-INTEGRATION26 GIT5 GROOVY3 JAVA17 JENKINS7 JUNIT3 JVM12 LINUX8 MAVEN9 MAVEN-TYCHO4 NEXUS5 NODE.JS1 OSGI6 POWERSHELL2 QUALITY-ASSURANCE7 READING-TIPS2 SALT2 SONARQUBE2 SPRING-BOOT1 SPRING-FRAMEWORK4 TESTCONTAINERS1 TESTING7 VAGRANT3 WINDOWS8
[A~Z][0~9]

Tags

MAVEN 9 LINUX 8 GROOVY 7 JENKINS 7 SPRING 5 ECLIPSE-RCP 4 HOW-TO 4 INTEGRATION-TESTING 4 MAVEN-TYCHO 4 NEXUS 4 OSGI 4 JUNIT5 3 P2-REPOSITORY 3 PROXY 3
All Tags
AGENTLESS1 AGILE1 ANSIBLE1 APACHE22 ARC421 AUTOMATION2 BARCAMP1 BASH2 BEGINNER1 BOWER-REPOSITORY1 BUILD2 CENTOS52 CHEAT-SHEET1 CLASSPATH1 CMD2 COBOL1 CODE-FORMATTING1 CODING-DOJO1 COMMONS-VFS1 CONFERENCE2 CONFIGURATION2 CONSOLE21 CYGWIN1 DAEMON1 DEBIAN1 DEPLOYMENT1 DESIGN-PATTERN1 DOCKER1 ECLIPSE-RCP4 EQUINOX1 FORWARDING1 GIT2 GITIGNORE1 GRADLE1 GROOVY7 HC151 HERBSTCAMPUS1 HERBSTCAMPUS20151 HESSIAN1 HIBERNATE1 HOW-TO4 HSQLDB1 IBM1 IDENTITIES1 INDEX1 INSTALLATION1 INTEGRATION-TESTING4 INTELLIJ2 INTELLJI1 JACOCO2 JAR1 JAVA81 JDBC1 JENKINS7 JERSEY1 JNDI1 JPA1 JSCH1 JUNIT53 JVM2 KATA1 LINUX8 LIVING-DOC1 MANIFESTO1 MAVEN9 MAVEN-REPOSITORY2 MAVEN-TYCHO4 MELD1 MERGING1 MIGRATION1 MOCK1 MOUNT1 NETBEANS1 NEXUS4 NOTES1 NPM1 NPM-REGISTRY1 NTFS1 OPENSPACE1 OPS4J1 OSGI4 P22 P2-REPOSITORY3 PAX2 PAX-RUNNER1 PERSONA1 PROXY3 PYTHON2 QA2 QS1 RELEASE1 REPOSITORY-MANAGER1 RESOURCE2 REWARDING1 RUBY1 SALT2 SALTSTACK2 SCRIPTING1 SCRUM1 SELENIUM1 SERVERSPEC1 SFTP1 SHELL2 SOCRATES1 SOFTWARE-ARCHITECTURE2 SOFTWARE-DOCUMENTATION2 SOLID-DESIGN1 SONARQUBE2 SPOCK1.X1 SPRING5 SPRING-DATA1 SSH2 SSHJ1 SUBVERSION3 SVENTON1 SWECAMP1 TEAM-BUILDING1 TECHNICAL-DEBT1 TERRAFORM1 TEST-COVERAGE2 TEST-INFRASTRUCTURE1 TEST-REPORT3 TESTCONTAINERS1 TESTING-TESTER-TESTS1 TOMCAT2 TOOL-TIP2 UBUNTU2 UNIT-TESTING3 VAGRANT3 VIRTUAL-HOST1 VIRTUALBOX2 WEBSERVICES1 WINDOWS1 ZEROMQ1
[A~Z][0~9]

Copyright SANDRA PARSICK - JUST ANOTHER BLOG ABOUT IT. All Rights Reserved