i want to run one app in two port for test in spring-session and redis :D
mvn tomcat:run -Dmaven.tomcat.port=8081
how to change default redis ip in spring boot
i run redis in docker .my docker ip is 192.168.99.100 and redis port 32768 but my spring session default host & port is 127.0.0.1 and 6379 for change redis port in docker i run container by " docker-compose up " command using this file docker-compose.yml redis: image: redis ...
[Read More]
screenshot on mac
change default tomcat webapp directory in maven tomcat 7 plugin
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<warSourceDirectory>${basedir}/target/web</warSourceDirectory>
</configuration>
</plugin>
Don’t jump on the microservices
Start with a monolith first
Clearly define your bounded contexts
Cloud infrastructure and DevOps teams
Deconstruct the database
WTFM
http://www.javacodegeeks.com/2015/07/dont-jump-on-the-microservices-bandwagon.html
[Read More]