<?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: Allisson Lima</title>
    <description>The latest articles on DEV Community by Allisson Lima (@allisson_lima).</description>
    <link>https://dev.to/allisson_lima</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3258800%2F3f40f7af-c459-4ba4-9a22-952d1ea79921.png</url>
      <title>DEV Community: Allisson Lima</title>
      <link>https://dev.to/allisson_lima</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/allisson_lima"/>
    <language>en</language>
    <item>
      <title>teste</title>
      <dc:creator>Allisson Lima</dc:creator>
      <pubDate>Thu, 19 Jun 2025 00:40:20 +0000</pubDate>
      <link>https://dev.to/allisson_lima/teste-2ld4</link>
      <guid>https://dev.to/allisson_lima/teste-2ld4</guid>
      <description>&lt;p&gt;teste de criação de post&lt;/p&gt;

</description>
      <category>firstpost</category>
    </item>
    <item>
      <title>Teste maria</title>
      <dc:creator>Allisson Lima</dc:creator>
      <pubDate>Mon, 16 Jun 2025 18:33:27 +0000</pubDate>
      <link>https://dev.to/allisson_lima/teste-maria-2cf1</link>
      <guid>https://dev.to/allisson_lima/teste-maria-2cf1</guid>
      <description>&lt;p&gt;Vamos la&lt;/p&gt;

</description>
      <category>spanish</category>
    </item>
    <item>
      <title>Momoca edit</title>
      <dc:creator>Allisson Lima</dc:creator>
      <pubDate>Sat, 14 Jun 2025 21:02:28 +0000</pubDate>
      <link>https://dev.to/allisson_lima/momoca-6cd</link>
      <guid>https://dev.to/allisson_lima/momoca-6cd</guid>
      <description>&lt;p&gt;Teste de momoca editado momo&lt;/p&gt;

</description>
      <category>spanish</category>
    </item>
    <item>
      <title>Teste de edicao 1</title>
      <dc:creator>Allisson Lima</dc:creator>
      <pubDate>Sat, 14 Jun 2025 18:25:12 +0000</pubDate>
      <link>https://dev.to/allisson_lima/teste-53bj</link>
      <guid>https://dev.to/allisson_lima/teste-53bj</guid>
      <description>&lt;h2&gt;
  
  
  BSON and MongoDB internals
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;BSON is how MongoDB &lt;strong&gt;stores&lt;/strong&gt; documents on disk.
&lt;/li&gt;
&lt;li&gt;BSON is how MongoDB &lt;strong&gt;communicates&lt;/strong&gt; between client and server.
&lt;/li&gt;
&lt;li&gt;Indexes, metadata, and replication all operate on BSON.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our Java driver handles the BSON encoding and decoding transparently. But if we're building performance-sensitive applications or exploring custom serialization, or we’re even just curious, it's worth understanding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup and project structure
&lt;/h2&gt;

&lt;p&gt;In order to follow along with the code, make sure you have Java 24 and Maven installed. You will also need a MongoDB cluster set up. A &lt;a href="https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/?utm_campaign=devrel&amp;amp;utm_source=third-party-content&amp;amp;utm_medium=cta&amp;amp;utm_content=java+intro+to+bson+syndicated&amp;amp;utm_term=tim.kelly" rel="noopener noreferrer"&gt;MongoDB M0&lt;/a&gt; free-forever tier is perfect for this.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Project structure:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/src
  └── main
      └── java
          └── com
              └── mongodb
                  ├── Main.java
                  ├── User.java
                  └── Address.java
pom.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Maven dependency (pom.xml):&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;dependencies&amp;gt;
    &amp;lt;dependency&amp;gt;  
        &amp;lt;groupId&amp;gt;org.mongodb&amp;lt;/groupId&amp;gt;  
        &amp;lt;artifactId&amp;gt;mongodb-driver-sync&amp;lt;/artifactId&amp;gt;  
        &amp;lt;version&amp;gt;5.4.0&amp;lt;/version&amp;gt;  
    &amp;lt;/dependency&amp;gt;
&amp;lt;/dependencies&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  BSON data types and document creation
&lt;/h2&gt;

&lt;p&gt;In MongoDB’s Java driver, we can interact directly with BSON types using classes like &lt;code&gt;BsonString&lt;/code&gt;, &lt;code&gt;BsonInt32&lt;/code&gt;, and &lt;code&gt;BsonObjectId&lt;/code&gt;. However, we rarely do this. Instead, we work with standard Java types, and MongoDB automatically handles the conversion to BSON.&lt;/p&gt;

&lt;p&gt;Here’s a look at BSON-specific types:&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>teste</category>
    </item>
    <item>
      <title>Outro teste</title>
      <dc:creator>Allisson Lima</dc:creator>
      <pubDate>Fri, 13 Jun 2025 22:10:24 +0000</pubDate>
      <link>https://dev.to/allisson_lima/outro-teste-3iha</link>
      <guid>https://dev.to/allisson_lima/outro-teste-3iha</guid>
      <description>&lt;h2&gt;
  
  
  BSON and MongoDB internals
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;BSON is how MongoDB &lt;strong&gt;stores&lt;/strong&gt; documents on disk.
&lt;/li&gt;
&lt;li&gt;BSON is how MongoDB &lt;strong&gt;communicates&lt;/strong&gt; between client and server.
&lt;/li&gt;
&lt;li&gt;Indexes, metadata, and replication all operate on BSON.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our Java driver handles the BSON encoding and decoding transparently. But if we're building performance-sensitive applications or exploring custom serialization, or we’re even just curious, it's worth understanding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup and project structure
&lt;/h2&gt;

&lt;p&gt;In order to follow along with the code, make sure you have Java 24 and Maven installed. You will also need a MongoDB cluster set up. A &lt;a href="https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/?utm_campaign=devrel&amp;amp;utm_source=third-party-content&amp;amp;utm_medium=cta&amp;amp;utm_content=java+intro+to+bson+syndicated&amp;amp;utm_term=tim.kelly" rel="noopener noreferrer"&gt;MongoDB M0&lt;/a&gt; free-forever tier is perfect for this.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Project structure:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/src
  └── main
      └── java
          └── com
              └── mongodb
                  ├── Main.java
                  ├── User.java
                  └── Address.java
pom.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Maven dependency (pom.xml):&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;dependencies&amp;gt;
    &amp;lt;dependency&amp;gt;  
        &amp;lt;groupId&amp;gt;org.mongodb&amp;lt;/groupId&amp;gt;  
        &amp;lt;artifactId&amp;gt;mongodb-driver-sync&amp;lt;/artifactId&amp;gt;  
        &amp;lt;version&amp;gt;5.4.0&amp;lt;/version&amp;gt;  
    &amp;lt;/dependency&amp;gt;
&amp;lt;/dependencies&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  BSON data types and document creation
&lt;/h2&gt;

&lt;p&gt;In MongoDB’s Java driver, we can interact directly with BSON types using classes like &lt;code&gt;BsonString&lt;/code&gt;, &lt;code&gt;BsonInt32&lt;/code&gt;, and &lt;code&gt;BsonObjectId&lt;/code&gt;. However, we rarely do this. Instead, we work with standard Java types, and MongoDB automatically handles the conversion to BSON.&lt;/p&gt;

&lt;p&gt;Here’s a look at BSON-specific types:&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>teste</category>
      <category>dev</category>
    </item>
  </channel>
</rss>
