Home » Spring Boot » Page 9

Tag Archives: Spring Boot

Build a Mobile App with React Native and Spring Boot

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. React Native is a framework for building mobile applications with React. React allows you to use a declarative style of programming to describe how your UI should ...

Read More »

Fully working prototypes with Spring Boot and H2

spring-interview-questions-answers

We do use a lot of h2 with spring especially for unit tests. However instead of unit tests we might want to have a fully functional prototype with data to display. H2 is the perfect candidate for that, it works great with spring, it has good syntax compatibility with most databases out there and it also provides you with a ...

Read More »

GWT with Spring Boot

spring-interview-questions-answers

Intro I’ve been investigating the options for writing UI code in Java recently. In my  previous post I investigated Eclipse RAP and found that it can be integrated with Spring Boot in one executable jar. This time I wanted to do the same trick with GWT. Everyone likes Spring Boot. It makes a lot of things so much cleaner and easier. But ...

Read More »

Making REST Communication Easy with Feign Clients

java-interview-questions-answers

In this example, we shall show you how to develop a simple Spring Boot Application with a Feign client for consuming a Weather REST service. Spring Boot is a Java-based framework, which simplifies the building of web and enterprise applications. Spring Boot has an embedded Tomcat, provides ‘starter’ dependencies and no requires the configuration of XMLs. Feign is a declarative ...

Read More »

HTTP cache with Spring examples

spring-interview-questions-answers

Caching is a powerful feature of the HTTP protocol but for some reason, it’s mainly considered for static resources like images, CSS stylesheets, or JavaScript files. However, HTTP caching isn’t limited to application’s assets as you can also use it for dynamically computed resources. With a small amount of work, you can speed up your application and improve the overall ...

Read More »

Cached Prepared Statements with Spring Data Cassandra

Today I have a short post on using Prepared Statements in Spring Data Cassandra. Spring provides you with some utilities to make using Prepared Statements easier rather than relying on registering queries manually yourself with the Datastax Java Driver. The Spring code provides a cache to store prepared statements that are frequently used. Allowing you to execute your queries via ...

Read More »

How to bind @RequestParam to object in Spring

spring-interview-questions-answers

Do you have multiple parameters annotated with @RequestParam in a request mapping method and feel it isn’t readable? The annotation looks pretty straightforward when there’s one or two input parameters expected in a request but when the list gets longer you might feel overwhelmed. You cannot use the @RequestParam annotation inside objects but it doesn’t mean you’re left with no ...

Read More »