<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Java on Deep Blogs</title>
    <link>https://blog.deepdhamala.com.np/tags/java/</link>
    <description>Recent content in Java on Deep Blogs</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>dev.deepdhamala.com.np (Deep Dhamala)</managingEditor>
    <webMaster>dev.deepdhamala.com.np (Deep Dhamala)</webMaster>
    <copyright>© 2025 Deep Dhamala</copyright>
    <lastBuildDate>Sun, 27 Jul 2025 13:20:54 +0545</lastBuildDate>
    <atom:link href="https://blog.deepdhamala.com.np/tags/java/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Checked vs Unchecked Exceptions in Java</title>
      <link>https://blog.deepdhamala.com.np/posts/checked-vs-unchecked/</link>
      <pubDate>Sun, 27 Jul 2025 11:17:47 +0545</pubDate><author>dev.deepdhamala.com.np (Deep Dhamala)</author>
      <guid>https://blog.deepdhamala.com.np/posts/checked-vs-unchecked/</guid>
      <description>&lt;p&gt;In this article, we will explore the very important topic of exceptions in Java: Checked vs Unchecked exceptions. Let&amp;rsquo;s start with the basics.&lt;/p&gt;&#xA;&lt;h2 id=&#34;exceptions-in-java&#34;&gt;Exceptions in Java&lt;/h2&gt;&#xA;&lt;p&gt;An unexpected event that disturbs the normal flow of the program is called an Exception. This can be due to various reasons such as dividing by zero, accessing an invalid index in an array, or trying to read a file that does not exist.&lt;br&gt;&#xA;You can take an analogy with a car accident. In your commute to job you met an accident. This is an unexpected even that disturbs you normal flow of the day. How you are going to handle this situation (exception)? Similarly, for Java exceptions, you need to define explicitly how you are going to handle the exception in order to prevent the program from crashing.&lt;/p&gt;</description>
    </item>
    <item>
      <title>JDK vs JRE vs JVM</title>
      <link>https://blog.deepdhamala.com.np/posts/jdk-vs-jre-vs-jvm/</link>
      <pubDate>Fri, 25 Jul 2025 13:54:59 +0545</pubDate><author>dev.deepdhamala.com.np (Deep Dhamala)</author>
      <guid>https://blog.deepdhamala.com.np/posts/jdk-vs-jre-vs-jvm/</guid>
      <description>&lt;p&gt;Ever wondered what &lt;code&gt;JDK&lt;/code&gt;, &lt;code&gt;JRE&lt;/code&gt;, and &lt;code&gt;JVM&lt;/code&gt; mean?&#xA;In this blog post, we will explore the differences between these three components of the Java ecosystem.&lt;/p&gt;</description>
    </item>
    <item>
      <title>One-to-One Relationship in JPA</title>
      <link>https://blog.deepdhamala.com.np/posts/one-to-one-relationship-in-jpa/</link>
      <pubDate>Sun, 08 Sep 2024 20:53:00 +0545</pubDate><author>dev.deepdhamala.com.np (Deep Dhamala)</author>
      <guid>https://blog.deepdhamala.com.np/posts/one-to-one-relationship-in-jpa/</guid>
      <description>&lt;p&gt;In this JPA (Java Persistence API) article, we will discuss different ways of achieving one-to-one mappings in JPA.&lt;/p&gt;&#xA;&lt;h2 id=&#34;1-what-is-a-one-to-one-relationship&#34;&gt;1 What is a One-to-One Relationship?&lt;/h2&gt;&#xA;&lt;p&gt;A &lt;strong&gt;one-to-one relationship&lt;/strong&gt; in JPA is a type of association where each instance of an entity is directly linked to a single, unique instance of another entity. Formally, for every row in the first table, there is at most one corresponding row in the second table, and vice versa. This ensures that the relationship between the two entities is exclusive and bidirectional or unidirectional, depending on the mapping configuration.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
