Home » Tag Archives: Spring

Tag Archives: Spring

Bootiful Development with Spring Boot and Vue

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. Vue is a web framework that’s gotten a lot of attention lately because it’s lean and mean. Its baseline framework cost is around 40K and is known ...

Read More »

Create a Secure Spring REST API

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. “If it is useful, it will be modified.” Those words of wisdom came from a QA teacher of mine, to explain that all software evolves when it becomes ...

Read More »

Spring Boot Hibernate Tips

spring-interview-questions-answers

1. Overview Hibernate needs no introduction. It is the most popular ORM out there for Java. Similarly, Spring Boot is the most powerful, and easy to use framework out there for Java. This tutorial isn’t about Hibernate or Spring Boot, there are tons of them out there. We’ll look into some common errors that you may run into when using ...

Read More »

Java: Streaming a JDBC ResultSet as CSV

spring-interview-questions-answers

In my previous post, I showed how to convert a java.sql.ResultSet to JSON and stream it back to the caller. This post, is about streaming it in CSV format instead. Streaming allows you to transfer the data, little by little, without having to load it all into the server’s memory. For example, consider the following ResultSet: +---------+-----+ | Name | ...

Read More »

Bootiful GCP: Spring Cloud Stream with Google Cloud Pub/Sub

spring-interview-questions-answers

I’ve recently read Josh Long‘s Bootiful GCP series on Sprint Central’s engineering blog and especially liked the 4th part about using Google Cloud’s Pub/Sub. I felt inspired by the series and as I’m also evaluating Spring Cloud Stream for a new project of mine. I thought, I would expand on that article where Josh left off. This article describes how ...

Read More »

Consuming Twitter Streaming API with Spring Integration

spring-interview-questions-answers

1. Overview Spring Integration has been known to have a myriad of connectors for interacting with external systems. Twitter was no exception and for a long time, as Spring Social had been an out-of-the-box solution which Spring Integration leveraged in order to connect to social networks. 1.1 Spring Social EOL Unfortunately, Spring Social has reached its end of life, the ...

Read More »

Build a Basic App with Spring Boot and JPA using PostgreSQL

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. Every non-trivial application needs a way to save and update data: a resource server that is accessible via HTTP. Generally, this data must be secured. Java is ...

Read More »

Reactive Spring Webflux with AWS DynamoDB

spring-interview-questions-answers

AWS has released AWS SDK for Java version 2, the SDK now supports non-blocking IO for the API calls of different AWS services. In this post I will be exploring using the DynamoDB API’s of the AWS SDK 2.x and using Spring Webflux stack to expose a reactive endpoint – this way the application is reactive end to end and presumably ...

Read More »

Build a Simple CRUD App with Spring Boot and Vue.js

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. In this tutorial, you’re going to build a complete CRUD web application using Vue.js for the client and Spring Boot as the resource server. You’ll also secure ...

Read More »