<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eya Filali</title>
    <description>The latest articles on DEV Community by Eya Filali (@eya_filali_a68c4d5bad918a).</description>
    <link>https://dev.to/eya_filali_a68c4d5bad918a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3622810%2Fcf89312d-a88e-4d6f-bad6-a942daf5f12e.png</url>
      <title>DEV Community: Eya Filali</title>
      <link>https://dev.to/eya_filali_a68c4d5bad918a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eya_filali_a68c4d5bad918a"/>
    <language>en</language>
    <item>
      <title>Difference between .JAR and .WAR packaging in JAVA</title>
      <dc:creator>Eya Filali</dc:creator>
      <pubDate>Fri, 21 Nov 2025 12:38:30 +0000</pubDate>
      <link>https://dev.to/eya_filali_a68c4d5bad918a/difference-between-jar-and-war-packaging-in-java-nph</link>
      <guid>https://dev.to/eya_filali_a68c4d5bad918a/difference-between-jar-and-war-packaging-in-java-nph</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. JAR packaging&lt;/strong&gt;&lt;br&gt;
A JAR (Java ARchive) file is a compressed archive that can contain compiled .class files, resources, libraries, and metadata.&lt;br&gt;
It is used to package Java applications or libraries into a single file.&lt;br&gt;
&lt;strong&gt;2. WAR packaging&lt;/strong&gt;&lt;br&gt;
A WAR (Web Application Archive) file is used to package Java web applications.&lt;br&gt;
It contains everything needed to deploy a web app on a Servlet/JSP container (such as Apache Tomcat, Jetty, or GlassFish). &lt;br&gt;
WAR files are specifically designed for &lt;strong&gt;web application deployments.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Key differences&lt;/strong&gt;&lt;br&gt;
The key difference is their purpose and the way they function. JAR files allow us to package multiple files in order to use them as a library, plugin, or any kind of application. On the other hand, WAR files are only used for web applications.&lt;br&gt;
The structure of the archives is also different. We can create a JAR with any desired structure. In contrast, WAR has a predefined structure.&lt;br&gt;
Finally, we can run a JAR from the command line if we build it as an executable JAR without using additional software, or we can use it as a library. In contrast, we need a server to execute a WAR.&lt;/p&gt;

</description>
      <category>java</category>
      <category>basic</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Understanding JDK, JRE, and JVM (Clear &amp; Simple Explanation)</title>
      <dc:creator>Eya Filali</dc:creator>
      <pubDate>Fri, 21 Nov 2025 12:19:01 +0000</pubDate>
      <link>https://dev.to/eya_filali_a68c4d5bad918a/understanding-jdk-jre-and-jvm-clear-simple-explanation-3bg1</link>
      <guid>https://dev.to/eya_filali_a68c4d5bad918a/understanding-jdk-jre-and-jvm-clear-simple-explanation-3bg1</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. What is the JDK?&lt;/strong&gt;&lt;br&gt;
The Java Development Kit (JDK) is a collection of software tools used to develop, compile, and run Java programs.&lt;br&gt;
It includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JRE (for running Java programs)&lt;/li&gt;
&lt;li&gt;Development tools such as:  [ javac : java compiler / jdb: java debuggr] and other utilities used during the development.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. What is the JRE?&lt;/strong&gt;&lt;br&gt;
The Java Runtime Environment (JRE) is needed only to run Java applications.&lt;br&gt;
You don’t need the JDK unless you want to compile code.&lt;br&gt;
The JRE contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JVM (Java Virtual Machine)&lt;/li&gt;
&lt;li&gt;Java class libraries (e.g., networking, collections, I/O)&lt;/li&gt;
&lt;li&gt;Other runtime components&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3. What is the JVM?&lt;/strong&gt;&lt;br&gt;
The Java Virtual Machine (JVM) is the core execution engine of java. It is responsible for compiling your Java code (.java file) to bytecode (.class file) and then into native machine code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F022onret9yqcesjuypmr.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F022onret9yqcesjuypmr.webp" alt=" " width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>basic</category>
    </item>
  </channel>
</rss>
