0

Accessing Embedded in-memory H2 console used in Spring Boot

When an embedded in-memory H2 database is used with Spring Boot, your data can be accessed via H2’s web console available in your application. If you are using Spring Security, you may need to exclude the /h2-console URL from the authentication process.

Please be aware that this type of configuration is not ideal for production. I’d recommend it only for prototyping. Continue Reading

0

Spring Boot, JPA/Hibernate for Java EE 6 Java Persistence API Developer Certified Expert 1Z0-898

If you are planning to take Java EE 6 Java Persistence API Developer Certified Expert (1Z0-898), this post is for you. It demonstrates how to create a sample application using Spring Boot, and JPA/Hibernate to aid in your study. Continue Reading

2

Spring Boot + Spring Security with Multiple Login Forms and User Types

I’m working on some personal project that handles 4 different user types (e.g., students, instructors, registrar employees, security personnel). Each user type are stored in a separate user table. With this, I require four (4) login forms. Continue Reading

0

Java 8 – Redeclare default methods

In Java, you can extend from another interface using the extends keyword. But Java 8 has default methods. What happens if we extend another interface that has the same default methods as our interface?

It gets re-declared in the “child” interface. Continue Reading