<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by JeyaSree on Medium]]></title>
        <description><![CDATA[Stories by JeyaSree on Medium]]></description>
        <link>https://medium.com/@jeyasreechandran123?source=rss-4adad149b47e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*KNVG8tBZm_LgLIpY</url>
            <title>Stories by JeyaSree on Medium</title>
            <link>https://medium.com/@jeyasreechandran123?source=rss-4adad149b47e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:17:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeyasreechandran123/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Async Feature in Spring Boot]]></title>
            <link>https://medium.com/@jeyasreechandran123/async-feature-in-spring-boot-7083dc88b67b?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7083dc88b67b</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Fri, 09 Jan 2026 11:09:05 GMT</pubDate>
            <atom:updated>2026-01-09T11:19:23.305Z</atom:updated>
            <content:encoded><![CDATA[<p>Before going to Async feature ,let’s understand about what in Synchronous and what is the difference between Synchronous and Asynchronous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5zFKCpmLiaNcdURYJBN5g.png" /></figure><p>In Microservices, there are <strong>2 ways</strong> of communication.</p><ol><li>Synchronous</li><li>Asynchronous</li></ol><p><strong>Synchronous: </strong>One service <strong>waits</strong> for the response from another service.</p><p>For Example: Lets take e-commerce website</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRA5hVGXI8NfhnJupaAz7Q.png" /></figure><ol><li>User place a order , then it goes to Order Service.</li><li>Then the order service check whether the product is available or not in the product service. It <strong>sends a request</strong> and <strong>waits for the response.</strong></li><li>The product service sends the response to the order service.</li><li>After receiving the response from the product service. Then it sends a request to payment service and <strong>waits for the response</strong>. At this time it <strong>only waits and not communicate with services.</strong></li><li>The payment service sends the response to the order service.</li><li>Then the order service sends a request to the Mailing service to send a mail for order conformation to user and<strong> waits for the response</strong></li><li>The Mailing service sends the response to the order service.</li><li>Then the order service sends the request to the Analytics service to manage data and <strong>waits for the response.</strong></li><li>The Analytics service sends the response to the order service.</li><li>After these all services completed then the order service sends the response to the user.</li></ol><p>Here the Analytics Service does not need to wait for Mailing service sends a mail and the User does not need to wait for Mailing service and Analytics service to complete. But in Synchronous each service is wait for another to service to complete.</p><p>It makes the user waits for the long to get a product.</p><p>So to resolve this problem , we are using <strong>Asynchronous Communication.</strong></p><p><strong>Asynchronous: </strong>One service <strong>does not wait</strong> for a response from the another service.</p><p>Let’s take the same e-commerce example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*cGrpu3IcRfOM47Gf1Vlv0A.png" /></figure><p>Here the first 5 steps are as same as Synchronous because we need to wait to check the product availability and Payment service.</p><p>In Asynchronous , the <strong>Message Broker</strong> a plays a crucial role which handles the Mailing service and Analytics service response.</p><p>6. The order service sends a request to the mailing service by using Message Broker which has queues to manage the request and response.</p><p>7. same as step 6 for Analytics Service.</p><p>So the order service<strong> don’t need to wait </strong>for the responses from Mailing service and Analytics service.</p><p>8. Order service sends a response to the user without waiting.</p><p>Therefore, <strong>Asynchronous </strong>is used to saves the time and boost the application performance.</p><p><strong>Difference between Synchronous and Asynchronous</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*3DPA7YeuLHZoqjN8Q4YCHQ.png" /></figure><p>There are mainly 2 Annotations in Spring Boot for Asynchronous:</p><p><strong>1.@Async</strong></p><p><strong>2.@EnableAsync</strong></p><p><strong>@Async: </strong>The <strong>@Async</strong> annotation can be applied to methods to indicate that they should be executed Asynchronously. i.e separate thread.</p><p><strong>@EnableAsync: </strong>The <strong>@EnableAsync</strong> is added to the configuration class or Main to class to use <strong>@Async.</strong></p><pre>package com.asyncannotation.demo;<br><br>import org.springframework.boot.SpringApplication;<br>import org.springframework.boot.autoconfigure.SpringBootApplication;<br>import org.springframework.scheduling.annotation.EnableAsync;<br><br>@SpringBootApplication<br>@EnableAsync<br>public class AsyncannotationApplication {<br><br> public static void main(String[] args) {<br>  SpringApplication.run(AsyncannotationApplication.class, args);<br> }<br><br>}</pre><p>@Async has 2 common return types:</p><ol><li>void</li><li>Future or CompletableFuture</li></ol><p><strong>Example:</strong></p><p>Controller:</p><pre>package com.asyncannotation.demo.controller;<br><br>import com.asyncannotation.demo.service.DbService;<br>import org.springframework.beans.factory.annotation.Autowired;<br>import org.springframework.web.bind.annotation.GetMapping;<br>import org.springframework.web.bind.annotation.RestController;<br><br>@RestController<br>public class DbController {<br>    @Autowired DbService dbService;<br><br>    @GetMapping(&quot;/db&quot;)<br>    public String db() throws InterruptedException{<br><br>        dbService.db1();<br>        dbService.db2();<br><br>        return &quot;Running&quot;;<br>    }<br>}</pre><p>Service:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D6jCbYNebAgWcqL3S7e3Uw.png" /></figure><p>Here Without Async the Db2 is wait for the Db1 to complete.</p><p>But with Async Db1 and Db2 start at the same time.</p><p><strong>Output:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*5WHN12ioGF1OoJs4oVYZBQ.png" /><figcaption>Without Async</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*VtuyZEJ-SfDIw4l6GK-KSA.png" /><figcaption>With Async</figcaption></figure><p>I hope this blog gives the better understanding of Async Feature in Spring Boot.</p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7083dc88b67b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12 Essential Spring & Spring Boot Annotations You Must Know]]></title>
            <link>https://medium.com/@jeyasreechandran123/12-essential-spring-spring-boot-annotations-you-must-know-b2eba6a46824?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2eba6a46824</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Thu, 08 Jan 2026 16:47:18 GMT</pubDate>
            <atom:updated>2026-01-08T16:47:18.754Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I will explain<strong> 12 important Spring and Spring Boot Annotations</strong> in a simple way, so you can understand them easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aXFxsatEXy6QvZeqJWb57w.png" /></figure><p><strong>What is Annotation?</strong></p><p>Annotations in Spring Boot are metadata that simplify configuration and development. Instead of XML, annotations are used to define beans, inject dependencies and create REST endpoints. They reduce boilerplate code and make building applications faster and easier.</p><p><strong><em>Boilerplate code means repetitive code that you have to write again and again , but it is not the main business logic.</em></strong></p><ol><li><strong>@Component:</strong></li></ol><p>@Component is a class-level annotation used to mark a class as a <strong>Spring-managed bean.</strong></p><p>It tells spring, that this class is important ,please manage it and it automatically <strong>creates the object</strong> and <strong>supports dependency injection.</strong></p><pre>@Component<br>public class Student {<br>    public void study() {<br>        System.out.println(&quot;Student is studying&quot;);<br>    }<br>}</pre><p>Here Student class is annotated with <strong>@Component , </strong>so spring creates an object automatically for the student class.</p><p><strong>2.@Service</strong></p><p>@Service is a used to mark a class that contains<strong> business logic</strong>.</p><p>It tells spring, this class handles the business logic and make them available for autowiring.</p><p>It also creates bean , @Component also creates the bean but @Service informs Spring and other developers reading a code , this is a service bean.</p><pre>@Service<br>public class StudentService {<br><br>    public String getStudentName() {<br>        return &quot;Jeya Sree&quot;;<br>    }<br>}</pre><p>Here StudentService class is annotated with @Service , Spring creates the StudentService object and manages it as a Spring Bean that contains business logic.</p><p><strong>3.@Repository</strong></p><p>@Repository is used to mark a class that <strong>handles database operations</strong>. It is used for a class which have database related logic.</p><p>As same as @Component , it also creates a bean but it specifies it is a Repository Layer.</p><pre><br>@Repository                                  <br>public class StudentRepository {<br><br>    public Student findById(int id) {<br><br>        return new Student();<br>    }<br>}</pre><p><strong>4.@Controller</strong></p><p>It is used to mark a class as a Spring MVC Controller, responsible for handling web requests and returning responses.</p><p>Controllers are like entry points inside your application from the outside.</p><pre>@Controller<br>public class StudentController {<br><br>    @GetMapping(&quot;/hello&quot;)<br>    public String hello() {<br>        return &quot;hello!!&quot;;  <br>    }<br>}</pre><p><strong>5.@Autowired</strong></p><p>Adding @Autowired to a constructor or field or a setter method you are telling the spring to automatically wire up that dependency for you.</p><p>@Autowired is used to automatically inject a required Spring Bean into another class.</p><pre>@Service<br>public class StudentService {<br>    public String getName() {<br>        return &quot;Jeya Sree&quot;;<br>    }<br>}</pre><pre>@RestController<br>public class StudentController {<br><br>    @Autowired<br>    private StudentService studentService;<br><br>    @GetMapping(&quot;/name&quot;)<br>    public String getName() {<br>        return studentService.getName();<br>    }<br>}</pre><p><strong>6.@Value</strong></p><p>@Value is a property or setter annotation and this is very useful for injecting external property values into your beans.</p><p>It is used to directly inject values from the configuration file into variables.</p><p>It is used to read values from application.properties or application.yml, avoid hard-coding, and make configuration changes easy.</p><pre>app.name=Student Management System<br>app.version=1.0</pre><pre>@Component<br>public class AppInfo {<br><br>    @Value(&quot;${app.name}&quot;)<br>    private String appName;<br><br>    @Value(&quot;${app.version}&quot;)<br>    private String version;<br>}</pre><p><strong>7.@Configuration</strong></p><p>@Configuration is a Spring annotation used to define configuration classes that create and manage Spring Beans.</p><p>@Configuration classes contain your setup and wiring logic.</p><pre>@Configuration<br>public class AppConfig {<br><br>    @Bean<br>    public Student student() {<br>        return new Student();<br>    }<br>}</pre><p><strong>8.@Bean</strong></p><p>@Bean is a method level annotation you can use it to annotate methods of a class.</p><p>It tells spring , execute this method and whatever this method returns take that instance and make that is a spring bean.</p><pre>@Configuration<br>public class AppConfig {<br><br>    @Bean<br>    public Message message() {<br>        return new Message();<br>    }<br>}</pre><p><strong>9.@Transactional</strong></p><p>Before @Transactional, managing transactions what was done using imperative code. So basically you write code to start a transaction and write code to execute during a transaction and then you write code to end transaction.</p><p>So spring provides a transaction template which makes it little bit easier. It is used to <strong>manage database transactions</strong>.</p><p>It maintains data consistency , avoid partial update and handles automatic commit and rollback.</p><pre>@Service<br>public class StudentService {<br><br>    @Transactional<br>    public void saveStudent() {<br>        <br>    }<br>}</pre><p><strong>10.@RequestMapping</strong></p><p>It is most commonly used annotation in both a class level annotation and the method level annotation and you use it on controllers.</p><p>By adding this at a class level ,you map all the HTTP request to that controller class for that URL.</p><pre>@RestController<br>@RequestMapping(&quot;/students&quot;)<br>public class StudentController {<br><br>    @RequestMapping(&quot;/hello&quot;)<br>    public String hello() {<br>        return &quot;Hello Student&quot;;<br>    }<br>}</pre><p><strong>11.@RestController</strong></p><p>@RestController combines the @Controller + @ResponseBody into one convenient single annotation that declares a controller class that handles web requests and returns JSON responses.</p><p>It is used to create <strong>REST APIs</strong>.</p><pre>@RestController<br>public class HelloController {<br><br>    @GetMapping(&quot;/hello&quot;)<br>    public String hello() {<br>        return &quot;Hello Spring Boot&quot;;<br>    }<br>}</pre><p><strong>12.@SpringBootApplication</strong></p><p>@SpringBootApplication is the main annotation used to start a Spring Boot application.</p><p>It combines the @Configuration + @EnableAutoConfiguration + @ComponentScan.</p><p>It is used to avoid writing multiple annotations and reduce configuration and boilerplate code.</p><pre>@SpringBootApplication<br>public class MyApplication {<br><br>    public static void main(String[] args) {<br>        SpringApplication.run(MyApplication.class, args);<br>    }<br>}</pre><p>These are only the basic annotations, but there are many more annotations to learn. I hope this gives you a basic idea of spring annotations.</p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2eba6a46824" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOLID Principles in Java: Basics Every Developer Should Know]]></title>
            <link>https://medium.com/@jeyasreechandran123/solid-principles-in-java-basics-every-developer-should-know-a82647f99b8a?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a82647f99b8a</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 15:54:54 GMT</pubDate>
            <atom:updated>2026-01-07T15:54:54.093Z</atom:updated>
            <content:encoded><![CDATA[<p>SOLID Principles are 5 important design rules that helps to improve software structure, making code clean, flexible and scalable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_jFlnFhDzukVQ_GE.png" /></figure><ol><li><strong>Single Responsibility Principle(SRP)</strong></li></ol><p>The<strong> S in the SOLID Principle</strong> stands for Single Responsibility Principle. It means that every class in Java should have a <strong>single job to do</strong>.</p><p>If one class has multiple functionalities means that leads to mistake or major problems.</p><p>For Example,</p><p><strong>Without SRP:</strong> The Student class has multiple responsibilities like addStudent and calculateGrade. If one responsibility changes the whole class may be modified.</p><pre>class Student {<br>    void addStudent() {<br>        System.out.println(&quot;Student added&quot;);<br>    }<br><br>    void calculateGrade() {<br>        System.out.println(&quot;Grade calculated&quot;);<br>    }<br>}</pre><p><strong>With SRP: </strong>Here each class has only one responsibility, so changing one class can’t affect the another class.</p><pre>class Student {<br>    String name;<br>    int marks;<br>}<br><br>class StudentService {<br>    void addStudent(Student student) {<br>        System.out.println(&quot;Student added&quot;);<br>    }<br>}<br><br>class GradeCalculator {<br>    void calculateGrade(Student student) {<br>        System.out.println(&quot;Grade calculated&quot;);<br>    }<br>}<br>}</pre><p><strong>2.Open and Close Principle(OCP)</strong></p><p>A class should be open for extension but closed for modification. That means we can add new features without any modification.</p><p>For Example,</p><p><strong>Without OCP: </strong>Every time you add a new shape, you need to modify the class. If you add rectangle, you need to modify the class.</p><pre>class AreaCalculator {<br>    double calculate(String shape, double value) {<br><br>        if (shape.equals(&quot;CIRCLE&quot;)) {<br>            return 3.14 * value * value;<br>        } else if (shape.equals(&quot;SQUARE&quot;)) {<br>            return value * value;<br>        }<br><br>        return 0;<br>    }<br>}</pre><p><strong>With OCP: </strong>You can add a new shape without modifying the class. If you need to add rectangle ,you can create a new class named Rectangle.</p><pre>interface Shape {<br>    double area();<br>}</pre><pre>class Circle implements Shape {<br>    double radius = 5;<br><br>    public double area() {<br>        return 3.14 * radius * radius;<br>    }<br>}<br><br>class Square implements Shape {<br>    double side = 4;<br><br>    public double area() {<br>        return side * side;<br>    }<br>}</pre><pre>class AreaCalculator {<br>    double calculate(Shape shape) {<br>        return shape.area();<br>    }<br>}</pre><p><strong>3.Liskov’s Substitution Principle(LSP)</strong></p><p>Objects of a child class should be able to replace objects of a parent class without breaking the program.</p><p>If class B extends class A, then you should be able to use B wherever A is used.</p><p>For Example,</p><p><strong>Without LSP: </strong>Penguin is a bird, but it cannot fly. Using Penguin instead of bird, it breaks the program.</p><pre>class Bird {<br>    void fly() {<br>        System.out.println(&quot;Bird is flying&quot;);<br>    }<br>}<br>class Eagle extends Bird{<br>void fly() {<br>        System.out.println(&quot;Eagle is flying&quot;);<br>    }<br>} <br><br>class Penguin extends Bird {<br>    void fly() {<br>        throw new RuntimeException(&quot;Penguin can&#39;t fly&quot;);<br>    }<br>}</pre><p><strong>With LSP:</strong> Here Penguin is not extending the Fly method, it only extends the common feature of the Bird.</p><pre>class Bird {<br>    void eat() {<br>        System.out.println(&quot;Bird is eating&quot;);<br>    }<br>}<br><br>class Fly extends Bird {<br>    void fly() {<br>        System.out.println(&quot;Bird is flying&quot;);<br>    }<br>}<br><br>class Eagle extends Fly {<br>}<br><br>class Penguin extends Bird {<br>}</pre><p><strong>4.Interface Segregation Principle(ISP)</strong></p><p>If an interface has too many methods, a class may be to implement methods it doesn’t need.</p><p>ISP used to split the interface so classes only implement what they need to use.</p><p>For Example,</p><p><strong>Without ISP: </strong>Here the dog can only to eat not to fly, but the implements both eat and fly methos which throws an exception</p><pre>interface Animal {<br>    void eat();<br>    void fly();<br>    <br>}<br><br>class Dog implements Animal {<br>    public void eat() {<br>        System.out.println(&quot;Dog is eating&quot;);<br>    }<br><br>    public void fly() {<br>        throw new UnsupportedOperationException(&quot;Dog cannot fly&quot;);<br>    }<br>   <br>}</pre><p><strong>With ISP:</strong> Here the dog can implement only eat method and a bird can implements both methods.</p><pre>interface Eater {<br>    void eat();<br>}<br><br>interface Flyer {<br>    void fly();<br>}<br><br>class Dog implements Eater{<br>    public void eat() {<br>        System.out.println(&quot;Dog is eating&quot;);<br>    }    <br>}<br><br>class Bird implements Eater, Flyer {<br>    public void eat() {<br>        System.out.println(&quot;Bird is eating&quot;);<br>    }<br><br>    public void fly() {<br>        System.out.println(&quot;Bird is flying&quot;);<br>    }<br>}</pre><p><strong>5.Dependency Inversion Principle(DIP)</strong></p><p>High-level modules should not depend on low-level modules.</p><p>Use interfaces or abstract classes so you can change implementation without touching main code.</p><p><strong>Without DIP: </strong>Here AnimalTrainer depends Dog directly. If you want a cat, you have to<strong> </strong>modify AnimalTrainer, which breaks DIP.</p><pre><br>class Dog {<br>    void makeSound() {<br>        System.out.println(&quot;Dog is Barking&quot;);<br>    }<br>}<br>class AnimalTrainer {<br>    Dog dog; <br>    AnimalTrainer() {<br>        dog = new Dog();<br>    }<br><br>    void train() {<br>        dog.makeSound();<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        AnimalTrainer trainer = new AnimalTrainer();<br>        trainer.train(); <br>    }<br>}</pre><p><strong>With DIP: </strong>AnimalTrainer depends on the Animal interface, not concrete classes. You can add new animals without changing AnimalTrainer.</p><pre><br>interface Animal {<br>    void makeSound();<br>}<br><br><br>class Dog implements Animal {<br>    public void makeSound() {<br>        System.out.println(&quot;Dog is Barking&quot;);<br>    }<br>}<br><br>class Cat implements Animal {<br>    public void makeSound() {<br>        System.out.println(&quot;Meow Meow&quot;);<br>    }<br>}<br><br><br>class AnimalTrainer {<br>    Animal animal; <br><br>    AnimalTrainer(Animal animal) {<br>        this.animal = animal;<br>    }<br><br>    void train() {<br>        animal.makeSound();<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        AnimalTrainer trainer1 = new AnimalTrainer(new Dog());<br>        trainer1.train();<br><br>        AnimalTrainer trainer2 = new AnimalTrainer(new Cat());<br>        trainer2.train(); <br>    }<br>}</pre><p>I hope this blog helped you understand the <strong>SOLID principles</strong> in Java.</p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a82647f99b8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Maven and pom.xml : A Beginner’s Guide]]></title>
            <link>https://medium.com/@jeyasreechandran123/understanding-maven-and-pom-xml-a-beginners-guide-446f1a06fd61?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/446f1a06fd61</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Tue, 06 Jan 2026 18:01:26 GMT</pubDate>
            <atom:updated>2026-01-06T18:02:04.776Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding Maven and pom.xml :A Beginner’s Guide</h3><p>In this blog , we will learn about <strong>Maven and pom.xml</strong>, which play an important role in Java project development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*4VJfccyfQs-lDr1j.png" /></figure><p><strong>What is Maven?</strong></p><p>Maven is a tool used to build a <strong>Java project</strong> and helps to <strong>manage</strong> <strong>dependencies</strong>. It helps developers build, test, and manage libraries in a simple and organized way.</p><p>Maven reads the pom.xml file while creating a software project and builds the Java project into JAR and WAR files.</p><p><strong><em>JAR File: </em></strong><em>A JAR file (Java Archive) is a package file format used to aggregate multiple Java class files, associated metadata, and resources into a single file.</em></p><p><strong><em>WAR File: </em></strong><em>A WAR file(Web Application Archive) is used to package and deploy Java web applications on web servers like Tomcat.</em></p><p><strong>How does Maven work?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*NYDpf341f2LLaqZaqrCebA.png" /></figure><p>Before Maven we need to download the dependencies from website and add to our project. We need to add manually those dependencies for our project.</p><p>But using Maven , it can automatically creates pom.xml and we can add dependencies from maven remote repo.</p><p><strong><em>Dependencies: </em></strong><em>Dependencies are external libraries or JAR files that a Java project needs to run, compile or test successfully.</em></p><ol><li><strong>Run mvn install</strong></li></ol><p>We run the<strong> mvn install</strong> command to start the build process.</p><p><strong>2.Reads pom.xml</strong></p><p>The Maven reads the pom.xml for required dependencies for the project.</p><p><strong>3</strong>.<strong>Checks the Local Repository</strong></p><p>Then the pom.xml checks the Local Repository , if there is a dependency or not. If the dependency is present means it will use it or it will download from the Maven Remote Repository.</p><p><strong>4.Gets from Remote Repository</strong></p><p>If dependencies not found in local repository, then it will <strong>download from</strong> <strong>the remote repository</strong> were we have all the dependencies and plugins.</p><p><strong>5.Saves in Local Repository</strong></p><p>Once we download from the remote repo, it will automatically<strong> saves it to the local repository.</strong></p><p><strong>Project Object Model(pom.xml)</strong></p><p>Project Object model contains <strong>maven project </strong>and <strong>configuration information </strong>to build the project such as build directory, source directory, plugin, test source directory ,etc…</p><p>Before Maven 2 , it was named as<strong> project.xml file</strong> , but since maven 2 it was renamed as <strong>pom.xml</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*e74CTkjwVylGNg4SSjmm1w.png" /></figure><p><strong>&lt;project&gt;&lt;/project&gt;: </strong>It is the Root Element of pom.xml file.</p><p><strong>&lt;modelVersion&gt;&lt;/modelVersion&gt;:</strong> It specifies the model version and it should be set to 4.0.0</p><pre>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;</pre><p><strong>&lt;groupId&gt;&lt;/groupId&gt;: </strong>It is usually in the reverse name of the organization and should be unique. It represents the organization, company or package name.</p><pre>&lt;groupId&gt;com.demo&lt;/groupId&gt;</pre><p><strong>&lt;artifactId&gt;&lt;/artifactId&gt;: </strong>artifactId is the name of the project</p><p>artifactId = project name</p><pre>&lt;artifactId&gt;my-first-project&lt;/artifactId&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*o0ocPJ4Le98j1fV97VbyJg.png" /></figure><p><strong>&lt;version&gt;&lt;/version&gt;: </strong>version tells which stage or update of the project it is.</p><pre>&lt;version&gt;1.0&lt;/version&gt; //first version<br>&lt;version&gt;1.1&lt;/version&gt; //small change<br>&lt;version&gt;2.0&lt;/version&gt; //big change<br>&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt; //still under development</pre><p>These are the basic elements of pom.xml. I hope this blog will help you to understand better about Maven and pom.xml.</p><p>Happy reading!</p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=446f1a06fd61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom Annotations in Spring Boot]]></title>
            <link>https://medium.com/@jeyasreechandran123/custom-annotations-in-spring-boot-d273bf6c074b?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d273bf6c074b</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Sat, 29 Nov 2025 09:46:56 GMT</pubDate>
            <atom:updated>2025-11-29T09:48:11.670Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction:</strong></p><p>Hii all, I recently came across with the concept of custom annotations and learned few things about it. Lets start learning together.</p><p>Before we jump into custom annotations , lets first understand what annotations are.</p><p><strong>What are Annotations?</strong></p><p>Annotations in spring boot are meta data that simplifies configuration and development. Instead of writing long XML files, you can use annotations to create Beans, inject dependencies and build REST API’s. They reduce lot of extra code and makes the development faster and easier.</p><p><strong><em>Annotations starts with @ Symbol.</em></strong></p><p>Some common annotations are,</p><p>@SpringBootApplication : The main annotation that starts the spring boot application.</p><p>@RestController: Used to create RESTAPI’s</p><p><strong>What are Custom Annotations?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*EkE_Cx9qoVA8GzP6" /></figure><p>Custom Annotations means creating your own annotations. It allows developers to define their own annotations to encapsulate specific behavior, meta data or logic.</p><p><strong>Why we use Custom Annotations?</strong></p><ol><li><strong>Encapsulation: </strong>Encapsulate repetitive code or configuration into single annotation.</li><li><strong>Readability:</strong> Improves code readability and reduce the boilerplate codes.</li><li><strong>Reusability</strong>: Apply the same behavior across multiple components easily.</li><li><strong>Custom Behavior</strong>: Add behavior specific to the application’s needs.</li></ol><p><strong>Steps to create custom annotation:</strong></p><ol><li><strong>Define the Annotation</strong></li></ol><p>Use the @interface keyword to define a custom annotation, following that give the name of your custom annotation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*zawBMQ4_KX1jrkXuWBB_RA.png" /></figure><p>2.<strong>Two Annotations is mainly needed to create custom annotation</strong></p><p>1.@Retention</p><p>2.@Target</p><p><strong>@Retention</strong></p><p>It specifies the retention policy. A retention policy determines at what time the annotation should be discarded.</p><p>There are mainly 3 types of Retention policies. They are<strong> SOURCE , CLASS AND RUNTIME.</strong></p><p><strong>SOURCE: </strong>The annotation is discarded by the compiler and not included in the class file.</p><pre>@Retention(RetentionPolicy.SOURCE)</pre><p><strong>CLASS: </strong>The annotation is recorded in the class file but not available at runtime.</p><pre>@Retention(RetentionPolicy.CLASS)</pre><p><strong>RUNTIME: </strong>The annotation is available at runtime.</p><pre>@Retention(RetentionPolicy.RUNTIME)</pre><p><strong>@Target</strong></p><p>@Target tells where your custom annotations is allowed to use.It takes Element Type enumeration as a argument. It specifies where to apply the annotation.</p><p>It consists of</p><ol><li><strong>Type(class, interface, constructor)</strong></li></ol><pre>@Target(ElementType.TYPE)</pre><p><strong>2.Field</strong></p><pre>@Target(ElementType.FIELD)</pre><p><strong>3. Method etc..</strong></p><pre>@Target(ElementType.METHOD)</pre><p>Lets create our own simple custom annotation “SayHI”</p><ol><li>create a custom annotation using @interface and give the name SayHI</li><li>Mention the Retention policy and target</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*ziDxmpISDKWKFgMliv_DmQ.png" /></figure><p>3.use the custom annotation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*Cd2pAWNCBGzciJtXETUVsw.png" /></figure><p>I hope this helps everyone to understand the custom annotations.</p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d273bf6c074b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Strength of One Woman]]></title>
            <link>https://medium.com/@jeyasreechandran123/the-strength-of-one-women-edb54a5119fd?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/edb54a5119fd</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 05:36:39 GMT</pubDate>
            <atom:updated>2025-09-04T06:32:06.823Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers,</p><p>Today I’m going to share a Motivational and inspiring Story about one single women who faced many struggles in her life, this story may connect with many of you who have a single parent.</p><p>Let’s Start the story,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*pcBzU-uNR2Tam7tLgH8AOQ.png" /></figure><p>She was born in a rural village and her name is Radha. She had two one elder brother Raja and one younger brother Murugan.</p><p>When Radha was in 5th standard , she was already helping her family financially by working in fields. By the time she reached 8th standard she had to drop out of school to support her family.</p><p>After few years later, Radha lost her father and her mother also had some heart problem, so Radha took care of her mother and her family. Because of her condition they got Radha married to one man named Mohan who stays with her family after marriage.</p><p>Radha entered into a new life. But her new life was never happy for her. Radha faced so many traumas because her husband addicted to alcohol. When their daughter was 3 years old he abandoned them.</p><p>At the time Radha was never loss hope and she did not expect anything from her family. As a single mother, she worked hard to raise her child. At morning she had went to telephone booth to work, afternoon she went to tailoring shop and evening she went to work at milk shop. After finishing all the work , she went to home at night 10 0 clock.</p><p>At 2009, she got a job at government school as a helper to cook in MGR afternoon lunch scheme. That time Radha had knew about after completed 10th only she get a promotion to organiser. So, she decided to continue her studies and completed 10th and enrolled for 12th.</p><p>Life was never easy for her, unfortunately she had undergone one major surgery to remove her uterus. Before her recovery, she gone to work because that time no one help her. <strong>She never gave up no matter how hard life pushed her down. As a single mother Radha always stood strong for her daughter.</strong></p><p>At 2017, she got a promotion and still working hard.</p><p><strong>Life gives many struggles and obstacles, but she never loss hope. After many failures and setbacks, she is still strong and brave facing them alone and I am proud to be her daughter and she is my biggest motivation.</strong></p><p><a href="https://medium.com/u/54d13afd404b">Senthil Kumar Thangavel</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edb54a5119fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Microservices in Spring Boot Application]]></title>
            <link>https://medium.com/@jeyasreechandran123/what-is-microservices-in-spring-boot-application-b7dad8e81513?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7dad8e81513</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 18:11:28 GMT</pubDate>
            <atom:updated>2025-08-04T18:11:28.257Z</atom:updated>
            <content:encoded><![CDATA[<p>Before going to Micro Services, Let’s see about Monolithic Architecture.</p><p>Monolithic Architecture is a traditional method of creating spring boot applications.</p><p>In monolithic architecture all the services like customer service, product service,order service, inventory service all are written in one spring boot application.</p><p>They all share the same code base, deployment and data base.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*aEvlSzmNnaZt-vrEhCkJcA.webp" /></figure><p>If there is any issue in one service it will affect the whole application.</p><p>It is the major problem in monolithic architecture.</p><p>To overcome this problem, we can use Microservices Architecture .</p><p><strong>Microservices Architecture</strong></p><p>Microservices Architecture is breaking down the application into small independent services.</p><p>These applications are developed and deployed independently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OL6utRV9RQcFK-k81SGF_A.jpeg" /></figure><p>These services communicate with each other by using REST APIs.</p><p>In Microservices Architecture all the services like customer service, order service are built as independent applications and deployed separately.</p><p>If there is any issue or change in one service it doesn’t affect the entire application.</p><p>Here are some Components of Microservices Architecture.</p><p><strong>1.Spring Cloud</strong></p><p>Spring Cloud provides the tools for building and managing the microservices.</p><p><strong>2.API Gateway</strong></p><p>An API Gateway is the entry point for clients and provides access to multiple microservices. API Gateway handles the requests and based on the request it performs routing,load balancing and authentication.</p><p>Examples for API Gateway are Spring Cloud Gateway and Netflix Zuul.</p><p><strong>3.Service Discovery</strong></p><p>Service discovery allows services to locate and communicate with each other dynamically.</p><p>Service discovery has all the information about the services which are registered.</p><p><strong>4.Service Registry</strong></p><p>A service registry is a centralised component that keeps the track of registered services and their location.</p><p>Here the micro services register themselves when they start, providing information such as hostname , IP address and available endpoints. It enables other services that can easily discover the available service instances.</p><p>Common service Registry are Netflix Eureka and Spring Cloud consul.</p><p><strong>Use Case Explanation</strong></p><p>The most common example for microservices in spring boot applications is <strong>E -commerce platform.</strong></p><p>The E - commerce platform handles the various services such as Product service, Inventory service, Customer service and Order service.</p><p>Each of these services can be developed as separate spring boot applications , allowing for independent deployment and maintenance.</p><p>Let’s take one E- commerce website like flipkart</p><p>In flipkart there is a big diwali sale for every year, many customers may visit the product page and there will be traffic in the product page.</p><p>At that time we need to add extra resources in product service,by using microservices we can easily add the extra resources without affecting the entire website.</p><p><strong>Microservices vs Monolithic</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-xGM8Yo7e-AsJps0ezf-w.jpeg" /></figure><p><a href="https://medium.com/u/b19f3c2484a0">Senthil Kumar</a></p><p><a href="https://medium.com/u/6ff84f1aab3e">Dhileepan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7dad8e81513" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Jenkins]]></title>
            <link>https://medium.com/@jeyasreechandran123/introduction-to-jenkins-d06d166a4c78?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d06d166a4c78</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Fri, 13 Jun 2025 14:22:51 GMT</pubDate>
            <atom:updated>2025-06-13T14:22:51.609Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Jenkins?</strong></p><p>Jenkins is a free and open source tool that helps developers to automate some process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*wSrnCpITLtGCYjszyQU_RQ.png" /></figure><p>The processes are <strong>building</strong>, <strong>testing </strong>and<strong> deploying the code</strong>.</p><p>Jenkins need <strong>java</strong> installation because Jenkins written in java and run in java platform.</p><p>Jenkins is a platform for creating pipelines. Pipelines that contains sequence of steps to execute the desired work.</p><p>Jenkins is the most popular tool for <strong>CI/CD</strong> (Continuous Integration and Continuous Delivery or Deployment)</p><p><strong>CI/CD means?</strong></p><p>Continuous Integration helps developers to frequently integrate their code into the shared repository like Git hub. Each integration CI automatically build and test the code and detect the errors, early as possible.</p><p>Continuous Delivery or Deployment means after CI completed CD packages the code and ready for release. In Continuous Delivery deployment is Manual but in Continuous Deployment ,deployment is automatic.</p><p><strong>Requirements for Jenkins Installation</strong></p><ol><li>OS: Windows, Linux, Mac OS</li><li>Java JDK 11 or 17 or 21</li><li>RAM: Minimum 1GB</li><li>Web Browser</li></ol><p><strong>Why Jenkins used?</strong></p><p>Jenkins is used in application or software development by developers to automate following processes.</p><ol><li>Integration module process</li><li>Development test process</li><li>end to end automation test</li><li>Building applications</li><li>Testing</li><li>Deployment of applications</li></ol><p><strong>Key features</strong></p><ol><li>Open source</li><li>Easy installation and configuration</li><li>Support pipeline(CI/Cd)</li><li>Automates build and test phase</li></ol><p><strong>Conclusion</strong></p><p>Jenkins is popular CI/CD tool used for automate the process of building, testing and deploying software. This CI/CD automation makes development faster and more reliable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d06d166a4c78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Dockerize A Spring Boot Application]]></title>
            <link>https://medium.com/@jeyasreechandran123/how-to-dockerize-a-spring-boot-application-9752f1be3703?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9752f1be3703</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Tue, 27 May 2025 18:50:07 GMT</pubDate>
            <atom:updated>2025-05-27T18:50:07.632Z</atom:updated>
            <content:encoded><![CDATA[<p>Several years ago the developer developed an application that ran correctly on their computer. When deploying the applications it encounters compatibility issues related to different windows version, JDK versions etc. These issues arrives because the developer and the deployer were using different versions.</p><p>So it takes more time and heavy workload to deploy an application. The solution for the problem was using <strong>Docker. </strong>Using the Docker the developer will able to package the application along with its dependencies and configuration to run across different environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*ABW-ZwOGbakgJg_D.png" /></figure><p><strong>Prerequisites:</strong></p><ol><li>Java Development Kit(JDK)</li><li>Spring Boot build with Maven</li><li>Docker</li></ol><p><strong>Steps:</strong></p><p><strong>1.Set up your Spring Boot Application.</strong></p><p>Check your spring boot application is correctly build with Maven. Create the project structure in correct way.</p><p>For Example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*-VMeaRO98i-kVoTOJbRrxw.png" /></figure><p><strong>2.Prepare your Spring Boot Application</strong></p><p>Ensure the Pom.xml have all the dependencies for this application.</p><p>For example,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*qc6o6LclGwNGR1pLV4YtFA.png" /></figure><p><strong>3.Create the Dockerfile</strong></p><p>Create the <strong>Dockerfile</strong> with contains the instructions on how to build a <strong>Dockerimage.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*iGfzeOrrHw1rf9shC6E3Zw.png" /></figure><p>Use only this name to create create a Dockerfile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*Sv-93L5uQyssBIUPcq-nkA.png" /></figure><p>These the are instructions to create a Dockerfile.</p><p><strong>4.Build the Docker Image</strong></p><p>To build Dockerimage ,Navigate to the root directory of your Spring Boot application in the terminal and run the following command.</p><p><strong>docker build -t &lt;imagename&gt;:&lt;tag&gt;</strong></p><p><strong>docker build -t application:latest .</strong></p><p>This command builds the new Dockerimage based on the Dockerfile instructions.</p><p>With the Dockerimage we can build the application in any computer without the compatibility issues because the Dockerimage contains the all the versions, Ram, dependencies and configuration. It’s like a mini computer.</p><p><strong>5.Run your Docker Container</strong></p><p>Once you built the Dockerimage you can run your spring boot application inside a Docker Container using the following command.</p><p><strong>docker run -p 8080:8080 application</strong></p><p>Ensure that the Spring Boot application is correctly running in your container.</p><p><strong>Conclusion:</strong></p><p>Dockerizing your Maven Spring Boot application can significantly simplify the development and deployment process and making your applications more portable and scalable. By following the steps , you can containerize your Spring Boot application, ensuring it runs across different environments without any issues.</p><p>Happy Reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9752f1be3703" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Spring Boot]]></title>
            <link>https://medium.com/@jeyasreechandran123/introduction-to-spring-boot-eb4012db71ce?source=rss-4adad149b47e------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb4012db71ce</guid>
            <dc:creator><![CDATA[JeyaSree]]></dc:creator>
            <pubDate>Sun, 25 May 2025 15:25:28 GMT</pubDate>
            <atom:updated>2025-05-25T15:25:28.193Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello Readers,</p><p>In this blog we are going to see about Spring Boot. Spring Boot helps developer build and launch applications quickly and efficiently with minimal setup.</p><p>In traditional Spring MVC projects developers need to write heavy XML configuration but in Spring Boot everything is auto-configured. Developers only need to add the configuration for specific functionalities.</p><p>For example, we use annotations @Data , @Autowired etc. @Data is used for setter ,getter method and @Autowired used for bean creation. Without these annotations developer can’t create quick and efficient applications.</p><p>Here we use RESTAPI, which is used to build webservices that allow different systems to communicate over HTTP. We also use annotations like <strong>@RestController — </strong>It is a annotation<strong> </strong>that combines @Controller and @Responsebody</p><p><strong>@RequestMapping — </strong>Map HTTP requests like GET and POST</p><p><strong>@GetMapping —</strong> To get data</p><p><strong>@PostMapping —</strong> To create data</p><p><strong>@PutMapping — </strong>To update data</p><p><strong>@DeleteMapping — </strong>To delete data</p><p>For example,</p><p><a href="http://twitter.com/RestController"><strong>@RestController</strong></a><strong><br></strong><a href="http://twitter.com/RequestMapping"><strong>@RequestMapping</strong></a><strong>(“/app”)<br>public class StudentController {<br> </strong><a href="http://twitter.com/GetMapping"><strong>@GetMapping</strong></a><strong>()<br> public String addstudent() {<br> return “Sree”;<br> }<br>}</strong></p><p><strong>Spring Boot Architecture:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VzUF5J1VUeQ-xexM516mNQ.png" /></figure><p><strong>Client Layer:</strong></p><p>This represents user interacts with application by sending HTTP requests.</p><p><strong>Controller layer:</strong></p><p>Handles incoming HTTP requests from clients. Process the requests and send the response. Delegates business logic processing to the Service Layer.</p><p><strong>Service Layer:</strong></p><p>Contains business logic and Communicates with Repository layer to update data.</p><p><strong>Repository Layer:</strong></p><p>Handles Create, Update, Store, Delete operations on the Database.</p><p><strong>Database Layer:</strong></p><p>The Database to store the application Data. Here for database we use MongoDB.</p><p><strong>Flow in Spring Boot:</strong></p><p>1.First a client makes a HTTP request like GET,POST,DELETE and UPDATE.</p><p>2.It was handled by the Controller.</p><p>3.If business logic needed , Controller calls the Service Layer.</p><p>4.The Service Layer process the logic and interacts with Repository Layer to retrieve , store or modify the data in the database.</p><p>5.The response is return back to the client.</p><p>Happy Reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb4012db71ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>