@Body
annotation is applied to a method argument to indicate that the method argument
is bound from the HTTP body.
Example@Post
@Consumes(MediaType.APPLICATION_JSON)
@Produces(Media… Read More
Micronaut
@PathVariable annotation bind segments of paths to method parameters.
For
example, the api to get the employee details by id looks like below.
/employees/by-id/{employee… Read More
Java is a versatile programming language that has been used for desktop applications for decades. However, with the rise of mobile devices, Java developers need to adapt their skills to be a… Read More
In android, ListView is a ViewGroup that is used to display the list of scrollable of items in multiple rows and the list items are automatically inserted to the li… Read More
In this post we’ll see how to serialize an object graph to XML (marshalling) and how to deserialize the XML to an object graph (unmarshalling) using Castor and Spring OXM module. Spr… Read More
IntroductionThrough this article we're going to discuss how to access and consume dynamic JSON objects passing to the backend Controllers from the frontend. These are kind of situations that… Read More
Introduction to Java Microservices
Basically, microservices are nothing but the set of applications that are written in Java language, or we can say that typically java tools and framework… Read More
In this post, I am going to explain how to bind query parameter to a list. For example,to-upper?str=myValue1&str=myValue2&str=myValue3 In the above example, q… Read More
In previous articles we have seen how to bind the data to grid view, Bind data to dropdownlist,Bind data to dropdownlist in gridview,Export gridview to PDF.Here i wo… Read More
LDAPConnectionPool class is used to define a ldap connection pool. Signaturepublic LDAPConnectionPool(@NotNull final ServerSet serverSet, @Nullable final BindRequest bindReques… Read More
Introduction:The content of the blog is to review the new features being added to in this Java new releases. I’ll not be going over every single feature but will explain about the som… Read More
Introduction to Java Repository
Java repositories are commonly known as JPA based repositories used under JAVA spring framework. Repositories define a new elegant method of storing, updatin… Read More
@After advice is used to execute specific code after executing the JoinPoint that is selected by the PointCut expression. @After("@annotation(com.sample.app.annotations.Loggable)")public… Read More
1. Introduction
In this tutorial we will see the necessary configurations so that a Rest service, under Spring mvc, returns XML or Json depending on the acceptance of the header of the reque… Read More
Hello Guys, RecylerView is most used control for display list of data in mobile device. Today i'm gonna explain you how to use RecyclerView in kotlin.1) Create layout file containing Recycle… Read More