Category: Uncategorized

Out of the box, Spring Boot is very easy to use with the H2 Database. Spring programmers typically prefer writing code against such lightweight in-memory database, rather than on an enterprise database server such as Microsoft SQL Server or Oracle. In-memory databases come with several restrictions making them useful only in the development stages in […]Continue reading

2

I’ve been playing with Docker a lot recently to deploy Spring Boot applications.  Docker is very cool. I’ve been learning a lot about it. This is my unofficial Docker Cheat sheet. Use with caution! Got any tips and tricks? Comment below, and I’ll try to update this. List all Docker Images

List All Running Docker […]Continue reading

1

This week, I had a student ask me how they could use a Java function to access the database from a Thymeleaf template. Thymeleaf is a modern templating engine. And accessing the database directly from Thymeleaf is certainly something you could do. But is it really something you want to do? I’ve worked for a […]Continue reading

0

I’m happy to announce I’ll be speaking at Devoxx Poland this June. I’ve proposed a talk on getting hip with JHipster. I’ve been using JHipster on a client project, and really like it. The team behind JHipster has done a really nice job of bringing together complex but leading and best of breed technologies. On […]Continue reading

0

One thing is for certain, the OS wars between developers is not a topic that is going away anytime soon. People can be very passionate about the OS they use. Windows has been the dominant OS for a long long time. I used to be a bing Windows user. But not anymore. Like the maid, […]Continue reading

0

Spring Boot makes it extremely convenient for programmers to quickly develop Spring applications using an in-memory database, such as H2, HSQLDB, and Derby. These databases are lightweight, easy to use, and emulates other RDBMS with the help of JPA and Hibernate. Obviously, they don’t provide persistent storage; but they a fast way to test persistent functions […]Continue reading

7

When Autowiring Spring Beans, a common exception is a BeanCreationException. This means that Spring found a bean to create, but was unable to fulfill the dependencies needed to create this this Spring bean. Here is an example of a BeanCreationException: BeanCreationException

    There’s actually a number of reasons that will lead to a BeanCreationException […]Continue reading

0

When Autowiring Spring Beans, a common error is to see a NoSuchBeanDefinitionException. Here is an example of the NoSuchBeanDefinitionException you may see thrown by the Spring context: NoSuchBeanDefinitionException

By default, Spring will Autowire beans by type. You can see in the error message the type of bean Spring is expecting to find. The problem is […]Continue reading

0