Hi, In this article I’ll show you how you can log user activity in your spring application. We’ll use spring’s HandlerInterceptorAdapter…
Spring Framework
Enable SSL in Spring Boot
Hi, In this article I’ll show you how you can enble SSL using self signed certificate. Remember this will show…
Enable CORS globally in Spring Boot
People, I’m about to show how you can enable CORS globally in your spring boot application. 1. Configuration Create a…
Spring Security: Using OAuth2 and web security both in same project
Hi, I’ve been experiencing a pretty annoying trouble using both web security and OAuth2. I implemented OAuth2 first for my…
Upload large files : Spring Boot
So guys, I was dealing with a problem recently. I was getting OutOfMemoryError when trying to upload and save large…
Sending email from your Spring Boot app
1. Overview In this article I’ll show you how you can send email from your spring boot app using JavaMailSender…
Deploy Spring Boot app on Pivotal Web Service (cloud foundry PaaS)
It’s so much easy to deploy your spring boot app on pivotal web service. You’ve to follow some steps. First add two…
Deleting @ManyToMany parent entity without affecting child on Hibernate
Oh Dear!! It’s a nightmare getting MySQLIntegrityConstraintViolationException when you’re designing complex relational database structure for your app. Most of the time hibernate won’t…
How to deploy Spring boot app as .war file
Hello from ToraCode. If you find your cloud platform doesn’t support container service or deploying standalone application you may find it annoying…
Deploying sample spring boot app using Docker
Hello from ToraCode. Now that we are set up with Docker virtualisation software. Let’s modify our pom.xml a little bit…