<?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 Vignesh A Sathiyanantham on Medium]]></title>
        <description><![CDATA[Stories by Vignesh A Sathiyanantham on Medium]]></description>
        <link>https://medium.com/@asvignesh?source=rss-6d664a39f251------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9wSNfrY5y26y75QRmtyklA.jpeg</url>
            <title>Stories by Vignesh A Sathiyanantham on Medium</title>
            <link>https://medium.com/@asvignesh?source=rss-6d664a39f251------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:04:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@asvignesh/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[Using EHCache in Spring Boot]]></title>
            <link>https://asvignesh.medium.com/using-ehcache-in-spring-boot-267e300f2b73?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/267e300f2b73</guid>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Tue, 06 Feb 2024 07:32:36 GMT</pubDate>
            <atom:updated>2024-08-05T16:32:19.072Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1kywjOWGxo7Vs1bcjNWMag.png" /></figure><p>EHCache is a widely used open-source caching library that provides efficient in-memory caching for Java applications. In this blog post, we will explore how to integrate EHCache into a Spring Boot application.</p><h3>Step 1: Add EHCache Dependency</h3><p>The first step is to add the EHCache dependency to your Spring Boot project. Open the pom.xml file and add the following dependency:</p><pre>&lt;dependency&gt; &lt;groupId&gt;org.ehcache&lt;/groupId&gt; &lt;artifactId&gt;ehcache&lt;/artifactId&gt; &lt;version&gt;3.8.1&lt;/version&gt; &lt;/dependency&gt;</pre><h3>Step 2: Configure EHCache</h3><p>Next, we need to configure EHCache in our Spring Boot application. Create a new Java class and annotate it with @Configuration. In this class, we will define a bean for the CacheManager that will be used to manage our caches.</p><pre>@Configuration public class EHCacheConfig { @Bean public CacheManager cacheManager() { Configuration configuration = new ConfigurationBuilder() .diskStore(new DiskStoreConfigurationBuilder(&quot;path/to/disk/store&quot;)) .build(); return new DefaultCacheManager(configuration); } }</pre><p>In the above example, we are creating a DefaultCacheManager with a disk store configuration. You can customize the configuration based on your requirements.</p><h3>Step 3: Enable Caching</h3><p>To enable caching in your Spring Boot application, you need to add the @EnableCaching annotation to your main application class. This annotation enables Spring&#39;s caching support and looks for caches defined in the CacheManager bean.</p><pre>@SpringBootApplication @EnableCaching public class MyApplication { public static void main(String[] args) { SpringApplication.run(MyApplication.class, args); } }</pre><h3>Step 4: Define Caches</h3><p>Now that we have configured EHCache and enabled caching in our application, we can define caches to store our data. To define a cache, create a new method in any Spring bean and annotate it with @Cacheable. This annotation tells Spring to cache the method&#39;s return value based on the provided cache name.</p><pre>@Service public class MyService { @Cacheable(&quot;myCache&quot;) public String getData(String key) { // This method will be cached // Implement your logic to retrieve data return &quot;Data for key: &quot; + key; } }</pre><p>In the above example, we defined a cache named “myCache” and annotated the getData method with @Cacheable. The method&#39;s return value will be cached, and subsequent calls with the same key will return the cached value instead of executing the method.</p><h3>Step 5: Test Caching</h3><p>Finally, let’s test our caching implementation. Create a new Spring MVC controller and inject the MyService bean into it. Define a method that calls the getData method and returns the result.</p><pre>@RestController public class MyController { private final MyService myService; public MyController(MyService myService) { this.myService = myService; } @GetMapping(&quot;/data/{key}&quot;) public String getData(@PathVariable String key) { return myService.getData(key); } }</pre><p>Start your Spring Boot application and make a GET request to /data/{key}. The first request will execute the getData method, and subsequent requests with the same key will return the cached value.</p><p>That’s it! You have successfully integrated EHCache into your Spring Boot application. EHCache provides a powerful caching mechanism that can significantly improve the performance of your application by reducing the load on your database or expensive external services.</p><p>Remember to fine-tune your caching strategy based on your application’s specific requirements. Experiment with different cache configurations and monitor the performance to achieve the best results.</p><p><em>Originally published at </em><a href="https://asvignesh.in/using-ehcache-in-spring-boot-2/"><em>https://asvignesh.in</em></a><em> on February 6, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=267e300f2b73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generate Java POJOs from XSD Schema: Simplifying Java Development]]></title>
            <link>https://faun.pub/generate-java-pojos-from-xsd-schema-simplifying-java-development-ad873fcb6431?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad873fcb6431</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[pojo]]></category>
            <category><![CDATA[soap]]></category>
            <category><![CDATA[xml]]></category>
            <category><![CDATA[wsdl]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Fri, 23 Jun 2023 01:16:35 GMT</pubDate>
            <atom:updated>2023-06-25T17:09:53.465Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rmwv9Tm8BDN-dOsF.jpg" /></figure><p>In the world of Java development, creating Plain Old Java Objects (POJOs) from XML Schema Definition (XSD) files is a common task. This process can be time-consuming and error-prone if done manually. Fortunately, there are several tools available that can automate this process, allowing developers to generate Java POJOs directly from XSD schemas. In this blog post, we will explore the benefits of generating Java POJOs from XSD schemas and discuss a few popular tools that simplify this task.</p><p>Understanding XSD Schema: XML Schema Definition (XSD) is a language used to describe the structure and constraints of XML documents. XSD schemas define the elements, attributes, data types, and relationships within an XML document. These schemas serve as a blueprint for generating Java classes that can parse, validate, and manipulate XML data.</p><p>Benefits of Generating Java POJOs from XSD Schema:</p><ol><li>Time-saving: Manually creating Java classes based on an XSD schema can be a tedious and error-prone process. By utilizing automated tools, developers can save significant time and effort by generating the necessary POJOs directly from the XSD schema.</li><li>Maintainability: XSD schemas serve as a single source of truth for the XML structure. By generating Java POJOs from the schema, any changes made to the XSD will automatically reflect in the generated classes. This ensures consistency and reduces the chances of introducing bugs due to manual updates.</li><li>Type Safety: The generated Java classes provide type safety when working with XML data. Instead of dealing with raw XML documents or strings, developers can work with strongly-typed objects, leveraging the benefits of the Java-type system. This reduces the likelihood of runtime errors and makes code more robust.</li></ol><p>Popular Tools for Generating Java POJOs from XSD Schema:</p><ol><li>JAXB (Java Architecture for XML Binding): JAXB is a standard Java technology that allows developers to generate Java classes from XML schemas. It provides a set of annotations that can be used to customize the generated classes. JAXB is widely used and integrated into the Java SE platform, making it readily available for use.</li><li>XJC (XML to Java Compiler): XJC is a command-line tool provided by JAXB for generating Java classes from XSD schemas. It offers various customization options through command-line arguments and bindings files. XJC provides flexibility and control over the generated code, allowing developers to tailor it to their specific needs.</li><li>Apache XMLBeans: Apache XMLBeans is a powerful framework for binding XML schemas to Java classes. It provides a rich set of features, including full XML schema support, XML instance validation, and XML manipulation capabilities. Apache XMLBeans can generate Java classes based on XSD schemas and offers advanced options for customization.</li></ol><p>For generating the <a href="https://asvignesh.in/wsdl-2-java-generate-soap-client-from-url/">Java Client and the POJO from th</a><a href="https://asvignesh.in/wsdl-2-java-generate-soap-client-from-url/">e WSDL read here</a></p><h4>Sample with JAXB2 Maven plugin</h4><p>Before proceeding, ensure that you have the following prerequisites in place:</p><ol><li>Java Development Kit (JDK) installed</li><li>Apache Maven installed</li><li>A valid XSD schema file</li></ol><p>Add JAXB2 Maven Plugin configuration:</p><pre>&lt;build&gt;<br>                &lt;plugins&gt;<br>                    &lt;!-- Add JAXB2 Maven Plugin --&gt;<br>                    &lt;plugin&gt;<br>                        &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;<br>                        &lt;artifactId&gt;jaxb2-maven-plugin&lt;/artifactId&gt;<br>                        &lt;version&gt;2.5.0&lt;/version&gt;<br>                        &lt;executions&gt;<br>                            &lt;execution&gt;<br>                                &lt;goals&gt;<br>                                    &lt;goal&gt;xjc&lt;/goal&gt;<br>                                &lt;/goals&gt;<br>                            &lt;/execution&gt;<br>                        &lt;/executions&gt;<br>                        &lt;configuration&gt;<br>                            &lt;sources&gt;<br>                                &lt;source&gt;src/main/xsd/asvignesh.xsd&lt;/source&gt;<br>                            &lt;/sources&gt;<br>                            &lt;outputDirectory&gt;${project.build.directory}/generated-sources/&lt;/outputDirectory&gt;<br>                            &lt;externalEntityProcessing&gt;true&lt;/externalEntityProcessing&gt;<br>                        &lt;/configuration&gt;<br>                        &lt;dependencies&gt;<br>                            &lt;!-- Add JAXB dependencies --&gt;<br>                            &lt;dependency&gt;<br>                                &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;<br>                                &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;<br>                                &lt;version&gt;2.3.1&lt;/version&gt;<br>                            &lt;/dependency&gt;<br>                            &lt;dependency&gt;<br>                                &lt;groupId&gt;org.glassfish.jaxb&lt;/groupId&gt;<br>                                &lt;artifactId&gt;jaxb-runtime&lt;/artifactId&gt;<br>                                &lt;version&gt;2.3.1&lt;/version&gt;<br>                            &lt;/dependency&gt;<br>                        &lt;/dependencies&gt;<br>                    &lt;/plugin&gt;<br>                &lt;/plugins&gt;<br>            &lt;/build&gt;</pre><p>Place your XSD Schema under <strong><em>src/main/xsd</em></strong> folder of your maven project</p><p>Maven clean and compile, the generated Java classes will be created in the/generated-sources/directory.</p><p>Utilize the generated Java classes: You can now use the generated Java classes in your Java code to parse, manipulate, or serialize XML data based on the defined schema.</p><p>Conclusion: Generating Java POJOs from XSD schemas simplifies Java development by automating the process of creating classes that can handle XML data. This approach saves time, improves maintainability, and enhances type safety. Tools like JAXB, XJC, and Apache XMLBeans provide developers with the necessary capabilities to generate Java classes from XSD schemas and customize them according to their requirements. By leveraging these tools, developers can focus on building robust and efficient Java applications that interact seamlessly with XML data.</p><p><em>Originally published at </em><a href="https://asvignesh.in/generate-java-pojos-from-xsd-schema-simplifying-java-development/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*4AiDCdc0vVExkk5f.png" /></figure><h4>👋 If you find this helpful, please click the clap 👏 button below a few times to show your support for the author 👇</h4><h4>🚀<a href="http://from.faun.to/r/8zxxd">Join FAUN Developer Community &amp; Get Similar Stories in your Inbox Each Week</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad873fcb6431" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/generate-java-pojos-from-xsd-schema-simplifying-java-development-ad873fcb6431">Generate Java POJOs from XSD Schema: Simplifying Java Development</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello World Program with Map Struct]]></title>
            <link>https://asvignesh.medium.com/hello-world-program-with-map-struct-bc7251937910?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc7251937910</guid>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 03:30:19 GMT</pubDate>
            <atom:updated>2023-04-10T08:59:31.183Z</atom:updated>
            <content:encoded><![CDATA[<p>MapStruct is an open-source code generation library for Java that simplifies the mapping between Java Beans, DTOs, and other data transfer objects. It generates mapping code at compile time, which can help reduce the amount of boilerplate code needed to map between objects. MapStruct supports various data mapping scenarios, including:</p><ol><li>Mapping between objects with the same or similar field names.</li><li>Mapping between objects with different field names.</li><li>Mapping between objects with distinct types.</li><li>Mapping between collections and arrays.</li></ol><p>MapStruct uses a simple and intuitive annotation-based approach to define the mapping between objects. The annotations are used to specify the mapping between the source and target objects, as well as any conversion or custom mapping logic required. The generated mapping code is efficient and type-safe and can be customized to meet specific application requirements.</p><p>Some of the key benefits of using MapStruct include:</p><ol><li>Improved code readability: MapStruct generates mapping code that is concise and easy to read, making it easier to understand and maintain code.</li><li>Reduced development time: MapStruct automates the process of mapping between objects, which can save developers time and effort.</li><li>Improved performance: MapStruct generates optimized mapping code that can improve application performance by reducing the overhead associated with mapping objects at runtime.</li><li>Reduced errors: MapStruct eliminates the need for manual mapping code, which can reduce the risk of errors and improve the overall quality of the code.</li></ol><p>To use MapStruct in a Spring Boot project, you will need to follow the below steps:</p><p>Add the MapStruct dependency to your project:</p><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;org.mapstruct&lt;/groupId&gt;<br>    &lt;artifactId&gt;mapstruct&lt;/artifactId&gt;<br>    &lt;version&gt;1.4.2.Final&lt;/version&gt;<br>&lt;/dependency&gt;</pre><p>Create your source and target DTOs or domain objects.</p><pre>public class User {<br>    private Long id;<br>    private String firstName;<br>    private String lastName;<br>    private String email;<br>    <br>    // Constructors, getters, and setters<br>}</pre><pre>public class UserDto {<br>    private Long id;<br>    private String firstName;<br>    private String lastName;<br>    private String email;<br>    <br>    // Constructors, getters, and setters<br>}</pre><p>In this example, the User class and UserDto class have the same fields, but they are separate classes with different purposes. The User class might represent a user in a database, while the UserDto class might represent a user&#39;s information as it is displayed in a web application.</p><p>Create a mapper interface that defines the mapping methods.</p><pre>@Mapper<br>public interface UserMapper {<br>    UserDTO userToUserDTO(User user);<br><br>    User userDTOToUser(UserDTO userDTO);<br>}</pre><p>Annotate the mapper interface with the @Mapper annotation.</p><p>Use the mapper in your Spring Boot application. For example:</p><pre>@RestController<br>@RequestMapping(&quot;/users&quot;)<br>public class UserController {<br>    @Autowired<br>    private UserService userService;<br>    <br>    @Autowired<br>    private UserMapper userMapper;<br>    <br>    @GetMapping(&quot;/{id}&quot;)<br>    public UserDTO getUserById(@PathVariable(&quot;id&quot;) Long id) {<br>        User user = userService.getUserById(id);<br>        UserDTO userDTO = userMapper.userToUserDTO(user);<br>        return userDTO;<br>    }<br>    <br>    @PostMapping<br>    public void createUser(@RequestBody UserDTO userDTO) {<br>        User user = userMapper.userDTOToUser(userDTO);<br>        userService.createUser(user);<br>    }<br>}</pre><p>Note: In the above example, we are injecting the UserMapper interface into the UserController class using Spring&#39;s @Autowired annotation.</p><p>That’s it! MapStruct will automatically generate the mapping code during the build process and make it available to your Spring Boot application.</p><p><em>Originally published at </em><a href="https://asvignesh.in/hello-world-program-with-map-struct/"><em>Vignesh A S — Blog</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc7251937910" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup LAMP dev environment in docker — Mac / Linux]]></title>
            <link>https://asvignesh.medium.com/setup-lamp-dev-environment-in-docker-mac-linux-c2f00e6b7833?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2f00e6b7833</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[lamp]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Thu, 06 Apr 2023 12:09:31 GMT</pubDate>
            <atom:updated>2023-04-06T17:39:24.728Z</atom:updated>
            <content:encoded><![CDATA[<p>Here are the steps to set up a LAMP development environment with Docker on a Mac:</p><p>Install Docker Desktop on your Mac if you haven’t already. You can download it from the official Docker website: <a href="https://www.docker.com/products/docker-desktop">https://www.docker.com/products/docker-desktop</a></p><p>Create a new directory for your project on your local machine. In this example, we’ll call it “asvignesh”.</p><p>Create a new file named “docker-compose.yml” inside the “asvignesh” directory, and add the following content:</p><pre>version: &#39;3&#39;<br>services:<br>  web:<br>    image: php:7.4-apache<br>    ports:<br>      - &quot;80:80&quot;<br>    volumes:<br>      - ./src:/var/www/html/<br>    depends_on:<br>      - db<br>  db:<br>    image: mysql:8<br>    ports:<br>      - &quot;3306:3306&quot;<br>    environment:<br>      MYSQL_ROOT_PASSWORD: vignesh<br>      MYSQL_DATABASE: vignesh<br>      MYSQL_USER: vignesh<br>      MYSQL_PASSWORD: vignesh<br>    volumes:<br>      - ./mysql:/var/lib/mysql</pre><p>This file specifies two Docker services: “web” and “db”.</p><p>The “web” service uses the official PHP 7.4 Apache image and maps port 80 on the Docker container to port 80 on the host machine. It also mounts the “src” directory inside the Docker container at “/var/www/html/”, which allows you to edit your PHP files on your local machine and see the changes immediately on the Docker container. The “db” service uses the official MySQL 8 image and maps port 3306 on the Docker container to port 3306 on the host machine. It also sets some environment variables to configure the MySQL server and mounts the “mysql” directory inside the Docker container at “/var/lib/mysql”, which allows you to persist the database data between Docker container restarts.</p><p>Create a new directory named “src” inside the “asvignesh” directory and add your PHP files inside it.</p><p>For testing i create index.php with the below code</p><pre>&lt;?php<br><br>// Show all information, defaults to INFO_ALL<br>phpinfo();<br><br>// Show just the module information.<br>// phpinfo(8) yields identical results.<br>phpinfo(INFO_MODULES);<br><br>?&gt;</pre><p>Open a terminal window and navigate to the “asvignesh” directory.</p><p>Run the following command to start the Docker containers:</p><pre>docker-compose up -d</pre><p>This command downloads the necessary Docker images (if they are not already downloaded) and starts the “web” and “db” services in the background.</p><p>Open a web browser and go to <a href="http://localhost/">http://localhost</a> to access your PHP application running inside the Docker container.</p><p>That’s it! You now have a LAMP development environment running inside Docker on your Mac. You can edit your PHP files on your local machine and see the changes immediately on the Docker container, and you can use the MySQL server running inside the Docker container to store your data.</p><p><em>Originally published at </em><a href="https://asvignesh.in/setup-lamp-dev-environment-in-docker-mac-linux/"><em>Vignesh A S — Blog</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2f00e6b7833" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WSDL 2 Java Generate SOAP client from URL]]></title>
            <link>https://asvignesh.medium.com/wsdl-2-java-generate-soap-client-from-url-a476c165368b?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/a476c165368b</guid>
            <category><![CDATA[maven]]></category>
            <category><![CDATA[soap]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Thu, 06 Apr 2023 03:02:38 GMT</pubDate>
            <atom:updated>2023-04-06T08:32:03.709Z</atom:updated>
            <content:encoded><![CDATA[<p>SOAP stands for <strong>S</strong>imple <strong>O</strong>bject <strong>A</strong>ccess <strong>Proto</strong>col; it is an XML ( e<strong>X</strong>tensible <strong>M</strong>arkup <strong>La</strong>nguage) based protocol to exchange messages with a web service. SOAP uses HTTP for communication</p><p>To generate a Java SOAP client from a WSDL file, you can use the following steps:</p><p>Open a command prompt or terminal and navigate to the directory where you want to generate the client code.</p><p>Use the <strong>wsimport</strong> tool that comes with the Java Development Kit (JDK) to generate the client code. The <strong>wsimport</strong> tool reads the WSDL file and generates the client code. The syntax of the wsimport command is as</p><pre>wsimport &lt;WSDL_URL_OR_FILE_PATH&gt; -d &lt;DIRECTORY_TO_STORE_GENERATED_FILES&gt;</pre><p>Replace &lt;WSDL_URL_OR_FILE_PATH&gt; with the URL or file path to the WSDL file, and &lt;DIRECTORY_TO_STORE_GENERATED_FILES&gt; with the directory where you want to store the generated client code.</p><p>For example, if the WSDL file is located at http://asvignesh.in/MyService?wsdl and you want to store the generated code in a directory named generated, you can use the following</p><pre>wsimport http://example.com/MyService?wsdl -d /Users/vignesh/MyService/generated</pre><p>Wait for the wsimport tool to finish generating the client code. Once it&#39;s finished, you should see several Java files and directories in the directory you specified in the previous step.</p><p>Use the generated client code in your Java application to call the SOAP web service.</p><p>or you can also use Maven to generate the code</p><p>To generate a Java SOAP client from a WSDL file using Maven, you can use the jaxws-maven-plugin plugin.</p><p>Here are the steps:</p><p>In your project directory, create a new directory to store the generated client code. For example, you could create a directory called generated-sources.</p><p>Add the jaxws-maven-plugin plugin to your project&#39;s pom.xml file. Here&#39;s an example configuration:xml</p><pre>&lt;build&gt;<br>    &lt;plugins&gt;<br>        &lt;plugin&gt;<br>            &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;<br>            &lt;artifactId&gt;jaxws-maven-plugin&lt;/artifactId&gt;<br>            &lt;version&gt;2.5&lt;/version&gt;<br>            &lt;executions&gt;<br>                &lt;execution&gt;<br>                    &lt;goals&gt;<br>                        &lt;goal&gt;wsimport&lt;/goal&gt;<br>                    &lt;/goals&gt;<br>                    &lt;configuration&gt;<br>                        &lt;wsdlUrls&gt;<br>                            &lt;wsdlUrl&gt;http://asvignesh.in/MyService?wsdl&lt;/wsdlUrl&gt;<br>                        &lt;/wsdlUrls&gt;<br>                     &lt;packageName&gt;in.asvignesh.myservice.client&lt;/packageName&gt;<br>                        &lt;outputDirectory&gt;${project.build.directory}/generated-sources/&lt;/outputDirectory&gt;<br>                    &lt;/configuration&gt;<br>                &lt;/execution&gt;<br>            &lt;/executions&gt;<br>        &lt;/plugin&gt;<br>    &lt;/plugins&gt;<br>&lt;/build&gt;</pre><p>Replace http://asvignesh.in/MyService?wsdl with the URL or file path to the WSDL file you want to use, in.asvignesh.myservice.client with the name of the package you want to use for the generated client code, and ${project.build.directory}/generated-sources/ with the path to the directory where you want to store the generated client code.</p><p>Run the Maven generate-sources goal to generate the client code. You can run this command from the command line or from within your IDE.</p><pre>mvn generate-sources</pre><p>Use the generated client code in your Java application to call the SOAP web service. The package name and class names of the generated code will depend on the package name you specified in the jaxws-maven-plugin configuration.</p><p><em>Originally published at </em><a href="https://asvignesh.in/wsdl-2-java-generate-soap-client-from-url/"><em>Vignesh A S — Blog</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a476c165368b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debugging Techniques for Public Cloud Applications]]></title>
            <link>https://faun.pub/debugging-techniques-for-public-cloud-applications-7626c44eb677?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/7626c44eb677</guid>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 12:05:27 GMT</pubDate>
            <atom:updated>2022-04-25T11:37:47.471Z</atom:updated>
            <content:encoded><![CDATA[<p>Debugging applications deployed in the cloud can be challenging. Microservices have become a popular software architecture, the applications are designed to run independently with their own databases and the logging creates hurdles for the developer when they attempt to trace the bug. There are scenarios where the bugs are not because of the logical issues but the infrastructure or the environment issues which can be found only after deploying the application. In this article, we will know more about the Debugging Techniques for Public Cloud Applications</p><h4><strong>The Challenge</strong></h4><p>The way the microservices are deployed debugging them is not a straightforward task, unlike monolith applications the microservices state of the application is spread across multiple services, it is very difficult to get the state of the application and trace the request of the multiple application is very difficult, modern deployment in the public cloud the application running in the Virtual machine instances or the cloud services or the Kubernetes services scale differently in the production</p><h4><strong>Techniques to Debug code in the public cloud</strong></h4><ul><li>Application Performance Management</li><li>Remote Debugging</li><li>Log Analyser</li></ul><h4><strong>Application Performance Management</strong></h4><p><a href="https://en.wikipedia.org/wiki/Application_performance_management">APMs </a>help the DevOps admins to detect the problem early and sometimes even before a problem occurs by helping them by parsing the web application request logs, error rates, incoming requests of the application endpoint and also identify the bottleneck and slowdowns of the cloud Database Services or Queuing / Streaming services ( like AWS RDS, MQ, Azure SQL ) which the application is using.</p><p>The first step in the APM is to identify and fix the application performance problems, the key application metric to monitor is the resource availability, is all the instances or the VM in which your application is deployed is still up and running, the cloud database or queues are running or not then trace the application errors what is the frequency of errors and the source of errors</p><p>Another key factor is the Traffic level and the response time of the application, is there any slowness of the application due to traffic or the services used by the application have higher response times can be identified and set up the sufficient scalability and tweak the high availability configurations in the cloud</p><p>APM tools like <a href="https://newrelic.com/">New Relic</a>, <a href="https://www.datadoghq.com/">DataDog</a>, Splunk, etc help the developers or the DevOps admins to stay on top of their application performance, there are multiple tools that do the native cloud support for the Container monitoring( ECS / EKS ), Function as a Service ( AWS Lambda ) monitoring or Pivotal cloud foundry monitoring</p><h4><strong>Remote Debugging</strong></h4><p>In layman’s terms, remote debugging is the concept of debugging an application that is not running on your local machine. The core concept of remote debugging is to open a connection with the application server / POD and look into the problem in the log or the events.</p><p>In the microservice deployment or the serverless architecture if your code is running the Function as a Service model remote debugging will help the developer to root cause and fix the bugs. Remote debugging tools can be used as silo applications to analyze the log trace, flow of execution, and memory dump or they can be used along with your favorite IDEs.</p><p>Usually <a href="https://lightrun.com/debugging/remote-debugging/">remote debugging</a> using remote PowerShell or the SSH into the production machine and look into the logs or add a breakpoint and re-run the application to understand the values of the variables or input to the functions. There are multiple ways to do remote debugging, but the tools like <a href="https://lightrun.com/cloud/">Lightrun </a>simplify the process of remote debugging and allow the developers to manage and debug multiple nodes, and also help the developers to add the new log statement dynamically on the fly without the code change and re-deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*1Np8_gdvQit3XJ1v" /></figure><p><em>Source</em><a href="https://lh3.googleusercontent.com/7W5iGLNtrKKJ6Cthfsx13theeSGPwdbm5lN3Vy6TUQHar-HC2DOmecMdcOKcqrU8bbx_OTH9zrU=e14-rw-lo-sc0xffffff-w1270"><em>: Google Cloud</em></a></p><h4><strong>Log Analyzers</strong></h4><p>Analyzing the log for the issues is one of the ways to debug the applications, it’s simple and easy. Developers need to trace the flow of sequence and the values of variables written into the log, the logs are generated by using the Log frameworks available for every programming language ( like Log4J, Log4Net ) but analyzing of the logs becoming more and more complex with the muti threaded and multi-node deployments of the applications</p><p>There are plenty of log analyzers like <a href="https://www.elastic.co/what-is/elk-stack">ELK</a>, <a href="https://www.nagios.com/products/nagios-log-server/">Nagios, </a>etc can help to break down the problem when you have large sets of data, it simplifies the log collection to the representation of data with the alerts and creates a ticket in the bug tracking tools when a certain condition triggered.</p><p>If your application is running on pods the Kubernetes services will scale the pod depending on your requirement which in turn your application may be running on multiple pods and if you have event-driven architecture any of the pods will take the Job for execution to get the frictionless experience in log analyzing the data ingestion must be streamlined and the logs of all your container should be managed in the single pane of glass. There are tools that provide the cloud-native integration with the AWS, Azure, or GCP which does the streamlining of the log and the event shipping,</p><h4><strong>Take Away</strong></h4><p>Debugging is an art and it takes discipline and time to master it, In the modern microservice and cloud deployment model, it becomes more and more complex. Using third-party tools for each technique mentioned in the post helps the developers to track and create a more observable environment by adding the application metric and tracing, remote debugging using the in-production breakpoints and the log analyzers</p><p><em>Originally published at </em><a href="https://asvignesh.in/debugging-techniques-for-public-cloud-applications/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><a href="https://faun.to/bP1m5"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCiLLad3dvZLwBa-B5cAVQ.png" /></a></figure><p>Join FAUN: <a href="https://faun.to/i9Pt9"><strong>Website</strong></a><strong> </strong>💻<strong>|</strong><a href="https://faun.dev/podcast"><strong>Podcast</strong></a><strong> </strong>🎙️<strong>|</strong><a href="https://twitter.com/joinfaun"><strong>Twitter</strong></a><strong> </strong>🐦<strong>|</strong><a href="https://www.facebook.com/faun.dev/"><strong>Facebook</strong></a><strong> </strong>👥<strong>|</strong><a href="https://instagram.com/fauncommunity/"><strong>Instagram</strong></a><strong> </strong>📷|<a href="https://www.facebook.com/groups/364904580892967/"><strong>Facebook Group</strong></a><strong> </strong>🗣️<strong>|</strong><a href="https://www.linkedin.com/company/faundev"><strong>Linkedin Group</strong></a><strong> </strong>💬<strong>|</strong> <a href="https://faun.dev/chat"><strong>Slack</strong></a> 📱<strong>|</strong><a href="https://thechief.io/"><strong>Cloud Native</strong> <strong>News</strong></a><strong> </strong>📰<strong>|</strong><a href="https://linktr.ee/faun.dev/"><strong>More</strong></a><strong>.</strong></p><p><strong>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7626c44eb677" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/debugging-techniques-for-public-cloud-applications-7626c44eb677">Debugging Techniques for Public Cloud Applications</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Debug Efficiently for High-Level Languages]]></title>
            <link>https://faun.pub/how-to-debug-efficiently-for-high-level-languages-f89991bc3292?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/f89991bc3292</guid>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 12:02:23 GMT</pubDate>
            <atom:updated>2022-04-25T11:37:03.267Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*hKatkuAuh8dsH3x7" /></figure><p>Photo by <a href="https://unsplash.com/@nublson?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Nubelson Fernandes</a> on <a href="https://unsplash.com/s/photos/debugging?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p><h4><strong>Introduction</strong></h4><p>Debugging is an essential part of the development cycle. Debugging helps developers identify and fix defects in an application. Thus, performing debugging efficiently and picking a good tool for your debugging needs is an important decision. For example, compile-time defects are easier to understand and fix, but runtime errors can happen on various parameters, including the user input, environment, state of the application, etc.</p><p>Time spent on debugging is time away from developing interesting features to add to your application. Therefore, developers are always on the lookout for effective ways to debug code. In this article, we will discuss some useful ways of improving the efficiency of your debugging like using watchpoints or <a href="https://lightrun.com/debugging/remote-debugging/">remote debugging</a> methods.</p><h4><strong>Efficient Debugging</strong></h4><p>The realistic way of reducing time in debugging is using the right tools and techniques. As deployment models are changing and many SaaS companies are adopting the use of microservices architectures and serverless code deployment, it’s becoming a nightmare for developers to identify defects in code using only the log files.</p><p>Developers can run applications written in a high-level language in the debug mode using the command line debugger or the debugger in their integrated development environment (IDE). You can find <a href="https://faun.pub/introduction-to-the-types-of-debugging-398228b55126">online articles</a> that tell you more about the types of debugging.</p><h4><strong>Conditional Breakpoint</strong></h4><p>Running the application in debug mode and creating a breakpoint will help you identify the value of the variables. However, if you are iterating a list of objects, hitting the breakpoint, and watching the variables, that is not a very efficient way of doing things. You need to stop at a breakpoint on a line inside the loop only when the element’s value matches a specific value.</p><p>Let’s assume you debug a program that has a <a href="https://en.wikipedia.org/wiki/While_loop">while loop</a>, and the loop is processing some files. However, you find that during the 10th file, it always fails. Having a breakpoint inside the while will make it hit every time, and you will need to skip it 9 times to reach the 10th file. Instead, you can add a condition for the breakpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*ya4BkicE6Wc2GAOV" /></figure><p>Adding conditional breakpoint in IntelliJ IDE</p><h4><strong>Watchpoint</strong></h4><p>A <a href="https://sourceware.org/gdb/onlinedocs/gdb/Set-Watchpoints.html">watchpoint</a> is a breakpoint setup on a variable or field. Each time the variable or field gets changed or used in the execution, the debugger will stop at the variable so the developer can evaluate the value of the variable.</p><p>Let’s say we have a counter for the skipped files in the while loop. Instead of debugging line by line, we can add a watchpoint to the variable skippedCount. Then, whenever the application skips a file and increments the skippedCount++, the breakpoint will hit (watchpoint).</p><h4><strong>Exception Breakpoint</strong></h4><p>In many cases, there is no point in debugging the code line by line. The developer wants to evaluate the stack trace when a specific exception occurs. For example, let’s assume some null pointer exception has occurred in the execution, but the developer wants to identify the defect. Instead of performing line-by-line debugging on all the variables, enable the exception breakpoint and choose the NullPointerException class. The debugger will break when the code throws that specific exception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*-xB61RAM_Ti0FeYd" /></figure><h4><strong>Step Filter</strong></h4><p>While debugging, we developers often step into the code (press F5, which is the default keymap for the eclipse to step into the executing line). If your execution line is calling a 3rd party library that is used by multiple developers or a well-tested library, there is no point in debugging those libraries. We can filter them out in the preferences to avoid wasting time looking for bugs in well-tested or popular 3rd-party code.</p><h4><strong>Remote Debugging</strong></h4><p>Usually, developers have control over the test machine and UAT machines. However, when the code is shipped to production, the developer loses direct control over the machine, which makes the debugging stage a nightmare for the developer.</p><p>If your production setup is a single agent or application and is running behind a load balancer or microservice-based multi-agent deployment (any distributed systems), you should use remote debugging. Do not rely on log statements.</p><p>Remote debugging helps you control the execution during runtime. The developer can debug in the production setup, as well as an application running in a complex deployment.</p><p>There are some useful tools that let you insert the logs and metrics in the run time to the code, which allows the developer to have control over the execution and observe which variables increase developer productivity, enhance site reliability, resolve bugs faster and debug anywhere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*8wbDvTTf3wSXsSiM" /></figure><h4><strong>Conclusion</strong></h4><p>The most effective way of debugging is avoiding bugs — writing better code, always trying to chunk down complex logic into many smaller isolated units, and writing proper unit tests to verify the correct behavior of your application and keep revising it periodically.</p><p>Before starting your application container, always ask yourself: Is there a way to check the behavior with a unit test? There are multiple scenarios where debugging is required. So, use the right tools and techniques to increase your productivity.</p><p><em>Originally published at </em><a href="https://asvignesh.in/how-to-debug-efficiently-for-high-level-languages/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><a href="https://faun.to/bP1m5"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCiLLad3dvZLwBa-B5cAVQ.png" /></a></figure><p>Join FAUN: <a href="https://faun.to/i9Pt9"><strong>Website</strong></a><strong> </strong>💻<strong>|</strong><a href="https://faun.dev/podcast"><strong>Podcast</strong></a><strong> </strong>🎙️<strong>|</strong><a href="https://twitter.com/joinfaun"><strong>Twitter</strong></a><strong> </strong>🐦<strong>|</strong><a href="https://www.facebook.com/faun.dev/"><strong>Facebook</strong></a><strong> </strong>👥<strong>|</strong><a href="https://instagram.com/fauncommunity/"><strong>Instagram</strong></a><strong> </strong>📷|<a href="https://www.facebook.com/groups/364904580892967/"><strong>Facebook Group</strong></a><strong> </strong>🗣️<strong>|</strong><a href="https://www.linkedin.com/company/faundev"><strong>Linkedin Group</strong></a><strong> </strong>💬<strong>|</strong> <a href="https://faun.dev/chat"><strong>Slack</strong></a> 📱<strong>|</strong><a href="https://thechief.io/"><strong>Cloud Native</strong> <strong>News</strong></a><strong> </strong>📰<strong>|</strong><a href="https://linktr.ee/faun.dev/"><strong>More</strong></a><strong>.</strong></p><p><strong>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f89991bc3292" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/how-to-debug-efficiently-for-high-level-languages-f89991bc3292">How to Debug Efficiently for High-Level Languages</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to the Types of Debugging]]></title>
            <link>https://faun.pub/introduction-to-the-types-of-debugging-157d87516d86?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/157d87516d86</guid>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 11:58:02 GMT</pubDate>
            <atom:updated>2022-04-25T11:38:18.450Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*wxe8rvrZ_CWawGnT" /></figure><p><a href="https://softwareengineeringdaily.com/tag/software-debugging/"><em>Source</em></a></p><p>Every software developer faces bugs and errors in their source code at some point. Whether it is while developing the code or after deploying the application in the test environment, bugs are the bane of a developer’s existence. In these cases, developers use different tools and techniques to identify the bug or error in the source code and resolve it.</p><h4>Introduction to Debugging</h4><p><a href="https://en.wikipedia.org/wiki/Debugging">Debugging</a> is the technique of monitoring a software code and finding and removing any potential errors, bugs, or defects that can cause the application to behave unexpectedly or crash. Debugging plays a very crucial role in the software development life cycle.</p><p>Debugging involves multiple steps, like identifying the source of the bug, correcting the problem, or fixing the bug. This sounds simple enough. However, debugging really becomes a nightmare when the various subsystems or modules are tightly coupled. Sometimes, it takes more time to debug or fix bugs than it takes to do the actual coding. To simplify the process, developers can locate the bug and remove them using various tools and techniques.</p><p>To resolve the defect in the program or application, the developer has to identify the piece of source code that is causing the problem. Various debugging tools can be used depending on the stage of development. Developers can trace the program execution step by step by evaluating the values of the variables and the return values of the functions.</p><p>The types of errors and the debugging techniques vary depending on the stage of development and the environment.</p><h4>Types of Possible Errors</h4><p>To understand different types of debugging, we need to understand the different types of errors. Errors are usually of three types:</p><ul><li>Build and compile-time errors</li><li>Runtime errors</li><li>Logic errors</li></ul><p><a href="https://docs.revenera.com/installshield19helplib/helplibrary/IHelpBuildErrors.htm">Build and compile-time errors</a> happen at the development stage when the code is being built. These errors are thrown by the compiler or the interpreter while building the source code. In other words, build or compile-time errors prevent the application from even starting. These errors often result from syntax errors, like missing semicolons at the end of a statement or class not found. These errors are easy to spot and rectify because most IDE or compilers find them for you. The compiler or the interpreter will tell you the exact piece of code that is causing the problem.</p><p><a href="https://www.lifewire.com/how-to-fix-runtime-error-4688919">Runtime errors</a> occur and can be identified only while running the application. They occur only when the source code doesn’t have any compiler or syntax error, and the compiler or the interpreter cannot identify the runtime error during the build stage. Mostly, runtime errors depend on the user input or the environment. These kinds of errors can be identified by using try-catch blocks in your program and logging the error message properly.</p><p><a href="https://blog.penjee.com/what-is-a-logic-error/">Logic errors</a> occur after the program is successfully compiled and running and it gives you an output. A logic error is when the result of the program is incorrect. These errors can not be caught using the try-catch blocks. Logic errors are also called semantic errors, and they occur due to some incorrect logic used by the developer to solve a problem while building the application.</p><h4>Types of Debugging</h4><p>Not all errors can be treated or debugged in the same way. The developer has to set up the right strategy to fix different errors. There are two types of debugging techniques: reactive debugging and preemptive debugging.</p><p>Most debugging is reactive — a defect is reported in the application or an error occurs, and the developer tries to find the root cause of the error to fix it. Solving build errors is easier, and generally, the compiler or build system clearly tells you the errors.</p><p>Solving a runtime error can be done using a debugger, which can provide additional information about the error and the stack trace of the error. It will tell you exactly the line where the fault is happening or exception is raised.</p><p>Solving logic errors is trickier. We don’t get clues as we do in other errors from the compiler or the stack trace. We need to use other strategies to identify the code causing the error.</p><h4>Reactive Debugging</h4><p>Reactive debugging refers to any debugging protocol that is employed after the bug manifests itself. Reactive debugging is deployed to reduce runtime and logic errors. Examples of reactive debugging are print debugging and using a debugger.</p><h4>Print debugging</h4><p>Print debugging is the print statements developers write in their source code (printf in C or System.Out.print in Java or print in Python). Developers write them to print out the values of the variables to the console or to the file to get a better sense of what is happening. These printed statements help find the root cause of the problem, especially when a variable has unexpected values.</p><p>Let’s say, for example, the source code has three functions, foo, bar, and baz. The source code is printing wrong values in baz, and baz is using foo and bar functions. To find the root cause, developers can add the print statement in the foo return values first, then bar, and then baz. The developer will identify the function causing the problem by narrowing down the search. Once we find the function returning the wrong value, we can analyze the variables or logic inside it.</p><h4>Debugger</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*ITWXszrnjJcPRnQL" /></figure><p><em>IntelliJ Debugger Attached to the Java Code</em></p><p>Print debugging is an easy technique, and sometimes developers use it to find the root cause of an error. However, it is a time-consuming and tedious process if the developer is dealing with several modules, functions, and variables. If a developer finds themself writing more than 10 print statements to identify the issue, then it’s time to switch to a debugger.</p><p>The debugger allows the developer to trace the execution of the program and identify the state of the variable functions as the program runs. In a sense, it is not too different from a print debugger. What makes it better for larger applications is that it prints every single variable and line of source code as the program executes. Integrated development environments like Eclipse, Jetbrains IntelliJ, Pycharm, and Visual Studio include built-in GUI debuggers. There are many command-line debuggers like GDB for C and pdb for Python available in the market.</p><p>Additionally, sometimes one can face a situation where the application in question runs on a different host. Collecting data from that system thus becomes really challenging. In such cases, <a href="https://lightrun.com/debugging/remote-debugging/">remote debuggnging</a> allows developers to trace the issue on a different host. Most modern IDEs support remote debugging. You can, at times, also couple remote debugging with multi-client debugging tools when the deployment architecture is multi-node or micro-service.</p><h4>Preemptive Debugging</h4><p>Preemptive debugging involves writing code that doesn’t impact the functionality of the program but helps developers, either catch bugs sooner or debug the source code easily when the bug occurs.</p><h4>Assertions</h4><p>Most programming languages have the inbuilt ability to add <a href="https://en.wikipedia.org/wiki/Assertion_(software_development)">assertions </a>in the source code. An assertion is a binary condition that is false. The assertions will make the execution of the code exit immediately with a helpful message.</p><p>Example:</p><p>assert value &gt;= 0, “Cannot divide with a negative value”</p><h4>Logging</h4><p>Logging is not very different from print debugging. Logging statements of the variables or the error trace are added to the source code during the development. These logging statements will not affect the functionality of the application but writes the log statement to the file or console or database, etc.</p><p>Note, the logging statements are not added in reaction to the errors or bugs in the source code. They are added from the get-go because the information included in the log statements can be useful in identifying which functions are receiving the proper inputs and returning the expected result and which are not. This helps us streamline the search.</p><p>log.info(“persisting the item {} Quantity {}”.format(item, quantity))</p><h4>Conclusion</h4><p>Most debugging is like investigating a murder — you are both the detective and the murderer. Your takeaway from this guide should be the following:</p><ul><li>During the development, assume nothing, verify everything should be your rule of thumb. This will help you avoid errors in production.</li><li>During debugging, narrow down your search as much as possible, use the proper tools to increase productivity, and treat warnings as seriously as you would compiler errors. While a warning will still allow your program to compile, it may be a sign of trouble further down the road.</li></ul><p><em>Originally published at </em><a href="https://asvignesh.in/introduction-to-the-types-of-debugging/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><a href="https://faun.to/bP1m5"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCiLLad3dvZLwBa-B5cAVQ.png" /></a></figure><p>Join FAUN: <a href="https://faun.to/i9Pt9"><strong>Website</strong></a><strong> </strong>💻<strong>|</strong><a href="https://faun.dev/podcast"><strong>Podcast</strong></a><strong> </strong>🎙️<strong>|</strong><a href="https://twitter.com/joinfaun"><strong>Twitter</strong></a><strong> </strong>🐦<strong>|</strong><a href="https://www.facebook.com/faun.dev/"><strong>Facebook</strong></a><strong> </strong>👥<strong>|</strong><a href="https://instagram.com/fauncommunity/"><strong>Instagram</strong></a><strong> </strong>📷|<a href="https://www.facebook.com/groups/364904580892967/"><strong>Facebook Group</strong></a><strong> </strong>🗣️<strong>|</strong><a href="https://www.linkedin.com/company/faundev"><strong>Linkedin Group</strong></a><strong> </strong>💬<strong>|</strong> <a href="https://faun.dev/chat"><strong>Slack</strong></a> 📱<strong>|</strong><a href="https://thechief.io/"><strong>Cloud Native</strong> <strong>News</strong></a><strong> </strong>📰<strong>|</strong><a href="https://linktr.ee/faun.dev/"><strong>More</strong></a><strong>.</strong></p><p><strong>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=157d87516d86" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/introduction-to-the-types-of-debugging-157d87516d86">Introduction to the Types of Debugging</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tricks for Easier Debugging in Python]]></title>
            <link>https://faun.pub/tricks-for-easier-debugging-in-python-a4df1346da4b?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4df1346da4b</guid>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 01:09:41 GMT</pubDate>
            <atom:updated>2022-04-20T10:05:20.603Z</atom:updated>
            <content:encoded><![CDATA[<p>Even if you write clean, efficient, readable code and have good coverage of your code with unit test cases, it is impossible to write once and run it all the time perfectly. In most cases, bugs are inevitable, and debugging is part of the daily life of a developer. Therefore, learning debugging tricks will improve your and your code’s performance and efficiency. This post introduces you to some tricks and tools for easier debugging in Python.</p><h3>Strategies</h3><p>The first and foremost step of effective debugging is identifying the actual error. Once we get the error details, we need to find the error location, analyze the condition of the error and the underlying cause of the issue and resolve it. You need to have the right strategy along with the right tools.</p><p>There are a couple of strategies for debugging. One is forward analysis, and the other is backward analysis.</p><p><strong>The forward analysis</strong> method involves re-running the code in debugger mode, setting up the breakpoint in the suspicious line, and debugging it. To do forward analysis, you can use pdb and IDE to debug efficiently.</p><p><strong>The backward analysis</strong> method involves tracing the problem using the logs collected from the production environment when the error occurred. For doing backward analysis, tools like print functions, logger, snapshots, etc., work.</p><p>The combination of backward and forward analysis can be implemented for real-time debugging using tools like Lightrun Cloud, which we will discuss later in this article.</p><p>Using such tools, developers can perform real-time debugging in any type of application — monolith and legacy applications, microservices, and distributed systems. Integrating with the APM and other DevOps tools gives developers access to snapshot, log, and performance metrics to identify the bug and resolve the issue efficiently.</p><h3>Forward Analysis with Python Debugger (pdb)</h3><p>If you enable the program to run in the single-step mode, you can check the status of the running code anytime. pdb is <a href="https://docs.python.org/3/library/pdb.html">Python’s built-in debugger tool</a>. There are some other tools, like web-pdb, but in most cases, pdb is useful enough.</p><p>To run the program in pdb, run the following command:</p><p>python -m pdb addition.py</p><p>The program will start running the first step. If you want to skip and run full code, press 1. To execute the next line, press n. This will help you understand the variable values and the flow of execution.</p><p>If your code is large and you want to set breakpoints, use the set_trace method:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*uEATVdh_6rfCxULq" /></figure><h3>Forward Analysis with IDE Debugger</h3><p>Most <a href="https://www.codecademy.com/articles/what-is-an-ide">IDE</a>s have a lot of functionalities, like set breakpoint, step over, step into, continue, etc. These commands help developers debug efficiently. Some of the current good IDE available for Python are:</p><p><a href="https://www.jetbrains.com/pycharm/">PyCharm</a>: The PyCharm IDE from JetBrains has an integrated debugger and test runner along with a huge collection of tools out of the box.</p><p><a href="https://code.visualstudio.com/">Visual Studio Code</a>: Visual Studio Code has Python support with the Microsoft Python extension.</p><p>If you are using Windows 10 or 11 and building applications for Linux Systems, <a href="https://docs.microsoft.com/en-us/windows/wsl/install">WSL </a>is a great way to do development and testing. Visual Studio coupled with the Remote WSL extension and Python extension gives developers access to editing and remote debugging as it runs in WSL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*OnFaYhvDyTSM6HCb" /></figure><p><a href="https://code.visualstudio.com/">Source</a></p><p>In a few cases, it is not possible to reproduce a similar scenario. In such cases, backward analysis helps the developer identify and resolve the issue.</p><h3>Backward Analysis with Print/Assert Function</h3><p>The simplest yet powerful method of debugging is printing the variables and event messages to the console and checking whether the value printed is expected or something went wrong in the code execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*IqqhrvIKwiExUOce" /></figure><p>To overcome the problem in print statements, developers can use assert statements. Python’s built-in assert method can raise an AssertionError if its statement condition is not met.</p><p>Python gives you the flexibility to enable or disable when using assert. You can use the -0 argument while running the code to close all the assert statements in the program. After that, all the assert methods will not work.</p><p>Still, having a lot of assert statements makes the code not readable and a bit confusing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*6yaEy6w2AWFAjFDL" /></figure><h3>Backward Analysis with Logger</h3><p>Replacing all the print statements with the logger is the most professional and powerful way to debug log statements. It is a heavy weapon for developers because it gives them more flexibility to enable and disable. Moreover, there are log levels that you can set to enable certain logs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*ryzQCLSfPSFltV95" /></figure><p>One of the easiest ways to debug with the log statement is by adding the debug statement in all the methods. So, when any method is executed, the method will log a debug statement with the values of the arguments. Instead of writing the log statement in all the methods, the developer can use the decorator function, which will internally log the values of the arguments. Use the code snippet below to create a decorator function and add <strong><em>@enable_args_debugger </em></strong>before all the methods where you want to print the arguments.</p><h3>Lightrun Cloud</h3><p>Whether the application is on cloud or on-premise, running on an application server or serverless, or is containerized, <a href="https://lightrun.com/cloud/">Lightrun Cloud</a> is a free tool that helps developers easily identify issues and resolve them quickly. It reduces delivery time and adds flexibility to add logs or snapshots in real-time without changing the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*gyYW47Z0wiwXUN64" /></figure><h4><strong>Real-Time Debugging with Lightrun Logs</strong></h4><p>It is a tedious process to add logs or an assert statement after the code is shipped. Instead of invoking the CI/CD pipeline for a couple of line changes, you can use Lightrun Logs to add logs. It allows you to add as many logs as you want in the run-time on the production system. It can be integrated with the leading IDEs. With this tool, developers can freely focus on the core business logic under the bells and whistles.</p><h4><strong>Real-Time Debugging with Lightrun Snapshots</strong></h4><p>In many cases, developers have a hard time understanding the flow of execution. If the developer has the stack trace and the variables, it is easy for them to understand if there is missing logic or if the conditional execution is not working as expected. Lightrun Snapshots are virtual breakpoints that extract all the data without breaking the system.</p><p>With Lightrun, you can have conditional snapshots, integrate with the IDE you are using, and add as many snapshots as you want without breaking the system.</p><h4><strong>Real-Time Debugging with Lightrun Performance Metrics</strong></h4><p>Bugs are not only missing/wrong logic. They can be bottlenecks and long queries too. These performance-related bugs can be addressed using Lightrun. You can add performance metric monitoring along with logs examples, count the number of times the particular code is executed, measure the time between two function executions, and collect system stats, like latency and throughput counters.</p><p>Developers and DevOps engineers use multiple tools for each debugging strategy, like remote debugging, log shipping, application performance monitoring, and memory snapshot. However, Lightrun Cloud is the one place to satisfy all your developer needs for debugging, including logging, metrics and APM, snapshot, and <a href="https://lightrun.com/debugging/remote-debugging/">remote debugging</a>. It also integrates with various DevOps tools, which enables smooth implementation of its advantages.</p><p><em>Originally published at </em><a href="https://asvignesh.in/tricks-for-easier-debugging-in-python/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><a href="https://faun.to/bP1m5"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCiLLad3dvZLwBa-B5cAVQ.png" /></a></figure><p>Join FAUN: <a href="https://faun.to/i9Pt9"><strong>Website</strong></a><strong> </strong>💻<strong>|</strong><a href="https://faun.dev/podcast"><strong>Podcast</strong></a><strong> </strong>🎙️<strong>|</strong><a href="https://twitter.com/joinfaun"><strong>Twitter</strong></a><strong> </strong>🐦<strong>|</strong><a href="https://www.facebook.com/faun.dev/"><strong>Facebook</strong></a><strong> </strong>👥<strong>|</strong><a href="https://instagram.com/fauncommunity/"><strong>Instagram</strong></a><strong> </strong>📷|<a href="https://www.facebook.com/groups/364904580892967/"><strong>Facebook Group</strong></a><strong> </strong>🗣️<strong>|</strong><a href="https://www.linkedin.com/company/faundev"><strong>Linkedin Group</strong></a><strong> </strong>💬<strong>|</strong> <a href="https://faun.dev/chat"><strong>Slack</strong></a> 📱<strong>|</strong><a href="https://thechief.io/"><strong>Cloud Native</strong> <strong>News</strong></a><strong> </strong>📰<strong>|</strong><a href="https://linktr.ee/faun.dev/"><strong>More</strong></a><strong>.</strong></p><p><strong>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4df1346da4b" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/tricks-for-easier-debugging-in-python-a4df1346da4b">Tricks for Easier Debugging in Python</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Multi-Agent Remote Debugging for Java]]></title>
            <link>https://faun.pub/understanding-multi-agent-remote-debugging-for-java-de79c946f51e?source=rss-6d664a39f251------2</link>
            <guid isPermaLink="false">https://medium.com/p/de79c946f51e</guid>
            <dc:creator><![CDATA[Vignesh A Sathiyanantham]]></dc:creator>
            <pubDate>Wed, 20 Apr 2022 00:52:48 GMT</pubDate>
            <atom:updated>2022-04-20T10:04:46.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*yf1PmanDeg8Seije" /></figure><p>Photo by <a href="https://unsplash.com/@nublson?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Nubelson Fernandes</a> on <a href="https://unsplash.com/s/photos/debugging?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p><p>As the use of complex architecture and dynamic deployments increases, the term ‘remote debugging’ instills fears into the bravest of dev hearts. Many are comfortable following the trusted path of debugging on their own machine. However, developers and traditional tools are only adequately equipped for solving debugging issues on monolith applications. Microservice architectures, on the other hand, are becoming increasingly complex.</p><p>With the rise of new techniques and architectures, debugging techniques need to become complex. Thus, tools also need to be more sophisticated to perform remote debugging and multi-agent remote debugging.</p><h4><strong>Introduction to Remote Debugging</strong></h4><p>As the name says, debugging ( de+bugging) is removing the bugs or the process of identifying or locating the abnormalities and removing those from the computer program. Debugging is one of the biggest nightmares if you don’t use the proper tools and plugins. But it is also a must-have skill for every developer. Debugging helps you understand the flow of the program code.</p><p>Troubleshooting the problem in the application may be easy, but if you are debugging in a remote system, especially in production, it is not such an easy task. Usually, the production servers run in a strict environment where not all tools and plugins are available.</p><h4><strong>Java Configuration for Remote Debugging</strong></h4><p>Java has a set of well-defined interfaces and the set of rules to do the debugging or remote debugging. The Java Platform Debugger Architecture (<a href="https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/architecture.html?spm=5176.blog56.yqblogcon1.7.LCGs7p">JPDA</a>) includes three well designed APIs / Interfaces for implementing the customer debuggers</p><ol><li>Java Virtual Machine Tool Interface to interact with the application running in Java Virtual Machine</li><li>Then an extensible set of APIs that are part of the Java Debug Wire Protocol (JDWP), a special debugging protocol used between the application and the debugger tool</li><li>The last one is Java Debug Interface JDI which is used to implement the debugger application</li></ol><h4>JDWP Options</h4><p><strong>Transport</strong>: This defines the transport mechanism to use. <em>dt_shmem </em>only works on windows, and both the debuggee and debugger process runs on the same machine. <em>dt_socket </em>is compatible with all platforms and allows for the process to take place on different machines (remote debugging).</p><p><strong>Server</strong>: This is not a mandatory option. When this flag is on, it means that the JVM will listen for a debugger to attach to it on the address specified in the address option.</p><p><strong>Suspend</strong>: This<strong> </strong>defines whether the <a href="https://en.wikipedia.org/wiki/Java_virtual_machine">JVM</a> should wait for the debugger to attach.</p><p><strong>Address</strong>: It contains the address and the port exposed by the debuggee.</p><p>The following is a sample command with the JDWP options to enable the debugger:</p><p><em>java -agentlib:jdwp=transport=dt_socket,server=y, suspend=y,address=127.0.0.1:8181</em></p><h4>Java Debugger</h4><p>JDB, the Java debugger, is included in the JDK. To start the debug session, one needs to attach the JDB to the port where the JDWP is running.</p><p>jdb -attach 127.0.0.1:8181</p><h4><strong>Multi-Agent Remote Debugging</strong></h4><p>Developers are moving from monolith architectures towards serverless, <a href="https://en.wikipedia.org/wiki/Microservices">microservices architectures</a>. With an increase in the use of producer-consumer, microservice, serverless, and distributed architectures, applications are being deployed in multiple instances, including bare-metal, virtual machine, and container pods.</p><p>Debugging multiple application instances is hard due to their distributed environment and concurrent, adaptive, mobile, and heterogeneous nature. The toolset we use for debugging the multi-agents should be able to trace the exceptions, logs of the applications, and the metrics and traces, and all these have always been defined during the development stage.</p><p>Sophisticated tools are required to find bugs in the production environment and resolve possible defects in such programs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*ALCyjiX6MfwcQLRo" /></figure><p>In traditional multi-agent debugging, illustrated in the picture, the developer has to connect to every environment whenever they need to debug and follow the process, as shown in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*n5kGAltP6DZjZYL9" /></figure><h4><strong>Tools for Multi-Agent Remote Debugging</strong></h4><p>We understand the need for tools for multi-agent remote debugging. It’s not an easy task to debug the application deployed in multiple servers using the JDWP and Java debugger.</p><p>Additionally, when using JDWP and the Java debugger to debug, the exception trace, logs, and metrics required for debugging the system must be identified and added during development. If you attempt production debugging in such an architecture, you will have to sift through many log files, often write additional logs in your application, and then redeploy and restart the application to get the additional data from the server to get the trace of the error. This process is not only time-consuming, but it also needs more patience and practice. These modern and complex requirements and the software architecture bring the gap between the dev ( debug) environment and the production environment.</p><p>Classic debugging might yield results, but remote debugging and multi-agent remote debugging done right reduce significant time and headache. With the current trend, it seems very likely that remote debugging and multi-agent remote debugging will soon become necessities.</p><h4><strong>Multi-Agent Remote Debugging is Broken — Fix it</strong></h4><p>Multi-agent remote debugging is the same as localhost debugging. However, the application is deployed on multiple machines, and machine access is restricted because the production runs in a tight environment. Connecting to multiple machines and collecting logs from all the machines is not an easy task.</p><p>There are newer tools that offer solutions to this problem. One such tool is <a href="http://lightrun.com/">Lightrun</a>. It is a developer-native observatory platform that integrates into the developer workflow to seamlessly debug applications. It allows you to troubleshoot and debug without having to rebuild the application.</p><p>Lightrun is one of those rare platforms that are able to provide a hundred percent code visibility to its developers. There is absolute visibility irrespective of the environment and the deployment model, be it a monolith application or the microservices architecture</p><p>With the help of Lightrun, you have easy access to the exceptions occurring in the production environment as they occur and also the capability to add logs, metrics, and traces to the production code on the fly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*QPp3s9CQdUmdykKJ" /></figure><h4><strong>How I Started Using Lightrun</strong></h4><p>Installing and using Lightrun is very easy. I am running the cloud edition.</p><p>Firstly, I <a href="https://app.lightrun.com/">signed up</a> for it and completed the process; the <strong>backend </strong>is the service running in their cloud.</p><p>Then, I installed the Lightrun plugin from the marketplace in my Intellij Idea ultimate, which acts as my debugger <strong>client.</strong> I then logged into Lightrun to communicate with the backend.</p><p>And then <strong>agents:</strong> I have my agent running on multiple servers. A few are running in Windows, a few in Linux Virtual Machines in the cloud, and very few in Docker containers.</p><p>Lightrun supports all the major environments like Linux, Alpine, Mac, and Windows (WSL), so it can be added to your Docker container as well.</p><p>I installed the agent in all the nodes and added LIGHTRUN_KEY with the API Key of my account. So the agents also can communicate with the backend.</p><p>The agents are automatically listed in the Lightrun window of my IDE. I can filter it by tags. Below is the screenshot filtered using the ‘Production’ tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*MQKqqe3WqSfDl2-u" /></figure><p>To debug, right-click on the code, choose Lightrun, choose the log, snapshot, or metric based on your requirement, and run the application. If any of the agents hit the breakpoint, the backend will do the mentioned operation. You have the option to run on a single agent or with all the agents with the tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*cHL2Z0UvswUnp132" /></figure><h4><strong>Conclusion</strong></h4><p>Using the legacy tools built for monolith architectures will reduce developer performance and result in huge delays in applications releases for any organization. Tools and plugins need to evolve along with the software architecture and deployment methodologies. Investing in the right tools ensures that you stay ahead of the curve and operate in the most effective and efficient manner.</p><p><em>Originally published at </em><a href="https://asvignesh.in/understanding-multi-agent-remote-debugging-for-java/"><em>Vignesh A S — Blog</em></a><em>.</em></p><figure><a href="https://faun.to/bP1m5"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCiLLad3dvZLwBa-B5cAVQ.png" /></a></figure><p>Join FAUN: <a href="https://faun.to/i9Pt9"><strong>Website</strong></a><strong> </strong>💻<strong>|</strong><a href="https://faun.dev/podcast"><strong>Podcast</strong></a><strong> </strong>🎙️<strong>|</strong><a href="https://twitter.com/joinfaun"><strong>Twitter</strong></a><strong> </strong>🐦<strong>|</strong><a href="https://www.facebook.com/faun.dev/"><strong>Facebook</strong></a><strong> </strong>👥<strong>|</strong><a href="https://instagram.com/fauncommunity/"><strong>Instagram</strong></a><strong> </strong>📷|<a href="https://www.facebook.com/groups/364904580892967/"><strong>Facebook Group</strong></a><strong> </strong>🗣️<strong>|</strong><a href="https://www.linkedin.com/company/faundev"><strong>Linkedin Group</strong></a><strong> </strong>💬<strong>|</strong> <a href="https://faun.dev/chat"><strong>Slack</strong></a> 📱<strong>|</strong><a href="https://thechief.io/"><strong>Cloud Native</strong> <strong>News</strong></a><strong> </strong>📰<strong>|</strong><a href="https://linktr.ee/faun.dev/"><strong>More</strong></a><strong>.</strong></p><p><strong>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author 👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de79c946f51e" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/understanding-multi-agent-remote-debugging-for-java-de79c946f51e">Understanding Multi-Agent Remote Debugging for Java</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>