Entity, domain model and DTO – why so many?
Today’s article is quite good and also an important topic in Spring Boot. Specifically, let’s find out how the data will change when going through different layers. And what are…
Favourite tutorials for developers
Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile.
Today’s article is quite good and also an important topic in Spring Boot. Specifically, let’s find out how the data will change when going through different layers. And what are…
In JAX-RS, you can use @QueryParam annotation to inject URI query parameter into Java method. Alternatively, you can get the query parameters grammatically, via annotation @Context UriInfo.
In JAX-RS, you can use @PathParem to inject the value of URI parameter that defined in @Path expression, into Java method.
In JAX-RS, you can use @Path to bind URI pattern to a Java method. See following examples to show you how it works.
Welcome to RESTEasy Tutorial. RESTEasy is the JAX-RS implementation provided by JBoss project. We can use RESTEasy to create restful web services. RESTEasy provides tighter integration with the JBoss Application…
In this Spring auto component scanning tutorial, you learn about how to make Spring auto scan your components. In this article, we show you how to do component filter in…
Normally you declare all the beans or components in XML bean configuration file, so that Spring container can detect and register your beans or components. Actually, Spring is able to…
In Spring framework, when your class contains multiple constructors with same number of arguments, it will always cause the constructor injection argument type ambiguities issue. To fix it, you should…
Since Spring 3.0, Spring supports for the standard JSR 330: Dependency Injection for Java. In Spring 3 application, you can uses standard: 1 - @Inject instead of Spring’s @Autowired to…
A simple Spring example to show you how to dependency inject a bean via setter method, the most common used DI method.