Home » Java » Enterprise Java (page 30)

Enterprise Java

Angular5 JWT Authentication (Spring Boot Security)

Welcome to angular5 jwt authentication with spring security.In this tutorial, we will be creating a full stack app using jwt authentication in an angular5 single page application having backened server supported by spring boot with integration of spring security.Having said that we will have a sample angular5 example application with HttpInterceptor integrated with it to intercept all the HTTP request ...

Read More »

Java problem with mutual TLS authentication when using incoming and outgoing connections simultaneously

java-interview-questions-answers

In most enterprise environments some form of secure communication (e.g. TLS or SSL) is used in connections between applications. In some environments mutual (two-way) authentication is also a non-functional requirement. This is sometimes referred to as two-way SSL or mutual TLS authentication. So as well as the server presenting it’s certificate, it requests that the client send it’s certificate so ...

Read More »

SpringBoot Microservices tracing with Zipkin and Sleuth

java-interview-questions-answers

In this article, we are going to understand the microservices distributed tracing using Zipkin and Spring cloud sleuth framework. Microservices are great architecture, though its comes with its own challenges. Complex microservices architecture have downstream and upstream dependencies with other microservices and everything is interconnected. Most of the time individual team just focus on their own services, so in microservices ...

Read More »

Different Hibernate Naming Strategy

This article discusses about different naming strategy provided by hibernate along with the shift of naming strategy from hibernate.ejb.naming_strategy in hibernate 4 to hibernate.implicit_naming_strategy and hibernate.physical_naming_strategy in hibernate 5.And at the end, we wil be take a look into implementing a custom naming strategy in hibernate and configuration to run with spring boot application. Hibernate 4 Naming Strategy Hibernate uses ...

Read More »

4 Ways to Deploy Spring Boot Angular App (Maven & Tomcat)

In my last spring boot angular 5 article, we implemented a full stack end to end web application using spring boot angular 5.In this article we will discuss about different ways to deploy spring boot and angular app on tomcat. We will be creating a multi module maven project with backend(server) and fronted(client) and look into 4 ways about how ...

Read More »

Spring Boot & Angular 5 & Spring Data & Rest Example (CRUD)

This tutorial provides a complete implementation of Spring Boot, Angular 5 and spring data to build an end to end single page java web application with example.We will be using spring boot 1.5 to expose REST APIs and angular5 with routing to build our client that will be consuming the APIs exposed by the server.Also, we will be integrating MySql ...

Read More »

Build REST Web Service using Spring Boot

spring-interview-questions-answers

This tutorial provides a step-by-step guide on how to build a restfull web service using Spring Boot. Prerequisites: Eclipse IDE (neon release) Maven 4 Java 1.8 1. Create maven web project Open eclipse then create a new maven web project and name it as SpringBootRest. The structure of the generated project looks like the following: 2. pom.xml After creating the web project, the ...

Read More »

Free eBook: Solving Java Application Errors in Production

What does it take to build an informed error handling workflow? Production exception handling is a dark science. Once your code gets out to production, any minor imperfection or glitch can translate to millions of log events. Especially if you’re using exceptions as part of the control flow. It’s the least explored subject matter, with the largest impact on how ...

Read More »

Tales from the Field: Migrating from Log4J to Log4J2

Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour! The AppDynamics Java agent, like many Java applications, uses logging extensively. We have used Log4J as our logging framework for many years. And while the latest release of Log4J was in 2012 – and the Apache Foundation announced end-of-life for ...

Read More »