All posts tagged with 'Spring'

Validate nested Transaction settings with Spring and Spring Boot

25-Sep-18

The Spring Framework has had an outstanding, declarative Transaction management for years now. The configurable options maybe overwhelming at first, but important to accommodate many different scenarios. Three of them stick out: propagation, isolation and to some lesser extend, read-only mode (more on that a bit later) propagation describes what happens if a transaction is […]

Read the complete article »

NetBeans IDE plugin supporting programming with Spring Boot

19-Jun-16

There are several plugins out there for supporting Spring development in NetBeans, but the NB-SpringBoot by Alessandro Falappa seems to be the most feature complete. At the moment installation must be done via manual download from here but that should be fixed soon. You’ll get a really nice Spring property support: Great integration with start.spring.io: […]

Read the complete article »

Spring 4.2.x, Spring Boot and the Stomp broker relay

17-Nov-15

If you’re using a StompBrokerRelay on the MessageBrokerRegistry, be careful with your dependencies: If you’re using Spring Boot 1.2.x, you must have <dependency> <groupId>org.projectreactor</groupId> <artifactId>reactor-net</artifactId> </dependency><dependency> <groupId>org.projectreactor</groupId> <artifactId>reactor-net</artifactId> </dependency> on the classpath, in case of Spring Boot 1.3.x, which depends on Spring 4.2 which depends on Reactor 2, it must be <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-net</artifactId> </dependency> […]

Read the complete article »

Upgrading to Tomcat 8.0.24

15-Jul-15

If you upgrade your Tomcat installation to 8.0.24, released on July 6th, and all your POST requests suddenly starts to fail, check maxPostSize of your connectors. The Tomcat team actually fixed it’s behavior: The meaning of the value zero for the maxPostSize has also been changed to mean a limit of zero rather than no […]

Read the complete article »

Spring: Provide Interoperability between JMS and Springs simple WebSocket messaging

03-Mar-15

Nearly 2 years ago, excellent WebSocket Support appeared in Spring 4, easily usable using STOMP over Websockets / SockJS on the client side, backed by a pluggable broker on the server side, which can either be simple broker using scheduled executor services to handle message or a full fledged RabbitMQ or ActiveMQ solution. Using @EnableWebSocketMessageBroker@EnableWebSocketMessageBroker […]

Read the complete article »