What is model-view-controller (MVC)?

It is an architectural model is to cut an application into three layers Model, view and controller Model : set of class which defines the data structure View : set of class which defines IHM (Human Machine Interface) like HTML ,JSP,XHTML .. Controller : set of class which defines interaction between models and views

(SOLVED)JAXBException: Implementation of JAXB-API has not been found on module path or classpath

This article shows how to solve the popular JAXB exception Implementation of JAXB-API has not been found on module path or classpath. 1. JAXBException: Implementation of JAXB-API has not been found Migrate a project to Java 11 and add a Maven JAXB dependency And hits the below JAXBException? 2. We need a JAXB Implementation The JAXB packages javax.xml.* are […]

(SOLVED) Unable to find a @SpringBootConfiguration

Some time you get this error when you are using Spring Solution The solution is to redesign the directory structure or package so that the tests can find the @SpringBootConfiguration. Alternatively, if we can’t move the @SpringBootConfiguration or test classes, we can tell the test where to find the @SpringBootConfiguration class via @SpringBootTest(classes = MyWebApplication.class). […]

Spring Cloud Security

1. Overview The Spring Cloud Security module provides functionality related to token-based security in Spring Boot applications. Specifically, it simplifies OAuth2-based single sign-on – with support for token relaying between resource servers, as well as configuring downstream authentication using a built-in Zuul proxy. In this quick article, we’ll look at how to configure these features […]

Service Registration and Discovery , Spring cloud

What You Will Build You will set up a Netflix Eureka service registry and then build a client that both registers itself with the registry and uses it to resolve its own host. A service registry is useful because it enables client-side load-balancing and decouples service providers from consumers without the need for DNS. What You Need […]

(SOLVED) What is Spring cloud ?

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly […]

(SOLVED) No serializer found for class

No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor You can Ignore to produce JSON output of a property by Or If you have any lazy loaded properties having a relationship. You can use this annotation at top of the property. Example: If you still have this error, please add this line of code in your application.properties file

Example : Spring Data JPA Paging and Sorting

Example Spring Data JPA Paging and Sorting : Throughout this tutorial, I will guide you to code paging and sorting functionalities for an existing Spring Boot application using Spring Data JPA. As you know, pagination allows the users to see a small portion of data at a time (a page), and sorting allows the users […]

Spring CORE – IOC

Introduction Spring Un framework est un cadre de développement qui contient des bonnes pratiques et qui permet d’éviter de recoder des classes utilitaires pour le but de se focaliser sur le metier. Spring est un framework open source pour construire et définir l’infrastructure d’une application Java, dont il facilite le développement et les tests. Spring […]