- Spring Boot : @ConfigurationProperties
- Spring Boot : Json to Object (Jackson mapping)
- JPA : 1-1 and 1-Many
- JPA : Stored Procedure and CustomQuery
- Mongo DB : MongoRepository and MongoClient
- Kafka : Messaging based on the Partition in the request parameter
This java based library is mainly used for serialization(Java Object to JSON) and deserialization(JSON to Java Object) purposes.
Bean used to manage the HttpMessageConverters used in a Spring Boot application. Provides a convenient way to add and merge additional HttpMessageConverters to a web application.
1.Based on the Content-Type header it will call the corresponding MessageConvertor (For @RequestBody)
2.Based on the Accept header it will call the the corresponding MessageConveror (For @ResponseBody)
It supports various custom SQL/JPQL queries to accomplish specialized application tasks. There are three ways of implementing the custom queries.
Stored Procedures allow to reuse the queries over multiple times just by passing the required parameters. spring-data-JPA provides flexible way to access the stored procedures by just annotating the entity class with @NamedStoredProcedureQuery.
- Introduction and Creation of Stored Procedures-1
- Introduction and Creation of Stored Procedures-2 (Specific to MYSQL)
- Spring Docs on Stored Procedure
- Sample Article
Mongo DB is one type of the database technology which works based on the documents. Some of the basic terminologies in Mongo DB which has similar context in MySQL
Mongo DB | MySQL |
---|---|
Database | Database |
Collection | Table |
Document | Row |
Field | Column |
Primary Key | Primary Key |
Joining | Linking & Embedding |
One of the distributed messaging platform to send/receive messages through topics.
Get familiar with kafka jargon using this video. Basic documentation for starting zookeeper server, kafka server and creating topic see kafka docs. UI for kafka components kafdrop.
In this example kafka with multiple partitions is implemented. User have to specify the particular partition as part of the request parameter to send/receive messages.