<?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: Ignacio Baca Moreno-Torres</title>
    <description>The latest articles on DEV Community by Ignacio Baca Moreno-Torres (@ibaca).</description>
    <link>https://dev.to/ibaca</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%2F703%2F1042225.jpeg</url>
      <title>DEV Community: Ignacio Baca Moreno-Torres</title>
      <link>https://dev.to/ibaca</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibaca"/>
    <language>en</language>
    <item>
      <title>Modern GWT, first steps</title>
      <dc:creator>Ignacio Baca Moreno-Torres</dc:creator>
      <pubDate>Thu, 22 Nov 2018 17:48:41 +0000</pubDate>
      <link>https://dev.to/ibaca/modern-gwt-first-steps-509k</link>
      <guid>https://dev.to/ibaca/modern-gwt-first-steps-509k</guid>
      <description>&lt;h2&gt;
  
  
  The GWT context 💎
&lt;/h2&gt;

&lt;p&gt;GWT is a powerful tool, but sometimes this power might get perceived as complexity.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Long unnecessary explanation here, if you just want to start with GWT jump to &lt;a href="https://dev.to/ibaca/modern-gwt-first-steps-509k#the-starting-guide"&gt;the guide itself&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I think this complexity can be divided into two causes; 1. big projects are complex, and when you try to explain how to solve a complex situation, then the explanation itself is complex. 2. GWT has a huge ecosystem, and there are various solutions for each problem. This forces you to make complex decisions.&lt;/p&gt;

&lt;p&gt;But, &lt;strong&gt;how did we get there?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GWT was borns in 2006, the evolution of the web ecosystem has been amazing since then, even inside GWT itself there have been a lot of changes, alternatives, and third parties that have created amazing solutions to manage big client-side web APPs. &lt;/p&gt;

&lt;p&gt;From 2006 to 2012 GWT was called "Google Web Toolkit", and it was an all-in-one solution. In June 2012, Google handed control to the &lt;a href="https://groups.google.com/forum/#!forum/gwt-steering" rel="noopener noreferrer"&gt;steering committee&lt;/a&gt; and rename the project as "GWT". Since then, GWT has been evolving into a more open tool and most of the architectural solutions embedded into GWT itself have been overcome by third-party alternatives. Nowadays, the number of solutions is huge, and at this point, GWT is just the core, and it is not biased in how you should organize your code. So, GWT is no longer a &lt;em&gt;web toolkit&lt;/em&gt; nor a &lt;em&gt;client-side framework&lt;/em&gt;, it is just a &lt;em&gt;transpiler&lt;/em&gt; with a giant ecosystem around it.&lt;/p&gt;

&lt;p&gt;For example, nowadays if you want to choose a client architectural pattern, you must choose between &lt;a href="http://www.gwtproject.org/doc/latest/DevGuideMvpActivitiesAndPlaces.html" rel="noopener noreferrer"&gt;gwt-activities&lt;/a&gt;, &lt;a href="https://github.com/ArcBees/GWTP" rel="noopener noreferrer"&gt;gwtp&lt;/a&gt;, &lt;a href="http://erraiframework.org/" rel="noopener noreferrer"&gt;errai&lt;/a&gt;, &lt;a href="https://github.com/react4j/react4j" rel="noopener noreferrer"&gt;react4j&lt;/a&gt;, &lt;a href="https://github.com/VueGWT/vue-gwt" rel="noopener noreferrer"&gt;vue-gwt&lt;/a&gt;, &lt;a href="https://github.com/NaluKit/nalu" rel="noopener noreferrer"&gt;nalu&lt;/a&gt;, and more! or if you are looking for a transport layer you should choose between &lt;a href="http://www.gwtproject.org/doc/latest/tutorial/RPC.html" rel="noopener noreferrer"&gt;gwt-rpc&lt;/a&gt;, &lt;a href="http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html" rel="noopener noreferrer"&gt;request-factory&lt;/a&gt;, &lt;a href="https://resty-gwt.github.io/" rel="noopener noreferrer"&gt;resty-gwt&lt;/a&gt;, &lt;a href="https://dev.arcbees.com/gwtp/communication/" rel="noopener noreferrer"&gt;gwtp-rest-dispatch&lt;/a&gt;, &lt;a href="https://github.com/intendia-oss/autorest" rel="noopener noreferrer"&gt;autorest&lt;/a&gt;, and more!&lt;/p&gt;

&lt;p&gt;All this complexity (only justified for big projects with experienced java teams) and all these alternative architectural solutions (which is actually a good thing) make it a bit confusing to start with GWT.&lt;/p&gt;

&lt;p&gt;Said all this, &lt;strong&gt;when should I use GWT?&lt;/strong&gt; I think that you only should use GWT in a company project if you meet these two points. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;you have a &lt;strong&gt;senior Java team&lt;/strong&gt; that already knows Java and Web development (HTML5, CSS3, ES6). To develop with GWT you &lt;em&gt;must&lt;/em&gt; know browsers, you don't need to be a JavaScript expert, but you need to know a lot around the web world (&lt;a href="https://developer.mozilla.org" rel="noopener noreferrer"&gt;MDN&lt;/a&gt; is your friend). &lt;/li&gt;
&lt;li&gt;you must want to &lt;strong&gt;share Java logic&lt;/strong&gt;, libs, and tools that you are already using in Java (servers or Android) with the client-side or even iOS with &lt;a href="https://github.com/google/j2objc" rel="noopener noreferrer"&gt;J2ObjC&lt;/a&gt;). This is the whole point with GWT, sharing code between platforms. This is useful and it solves a logic-duplication, e.g. whenever you edit a field, you frequently validate it with some rules, but then this is sent to the server and should be validated again. This simple but common use case is beautifully solved with GWT. You write your validator code, and you use it exactly the same validation code on all platforms, giving you the responsiveness on the client-side and also the security of the server-side (&lt;a href="https://github.com/xemantic/github-users" rel="noopener noreferrer"&gt;cross-platform example&lt;/a&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you already have various years of experience with GWT you can use it for a lot of things, even small APPs. But to justify the entry effort, you should satisfy those two points. But, eh! before a company project, you can just learn it for fun, and I hope you are here for that! &lt;/p&gt;

&lt;h2&gt;
  
  
  The starting guide ☝️
&lt;/h2&gt;

&lt;p&gt;To make this guide easier, I'm going to focus on the client-side. Also, I'll make some personal decisions that I think are common and future-proof. But remember, GWT is much more than I'll explain here!. This is what I have chosen:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;create a micro client-only APP&lt;/em&gt;, so no transport and no view components. Frequently guides start with a client-server app, it is much more complex and when you start with GWT you tend to confuse the client and server sides as just one unique magic virtual machine. Although everything is java, and you can run the same java code in the client or on the server, both are independent runtime environments and this concept should be clear.&lt;/p&gt;

&lt;p&gt;Also, if you create a client-only APP the guide gets much smaller, and you can play with it easier. Even more, I strongly encourage you to find micro-games or micro-apps written in JS or TypeScript and migrate it to GWT. This is a pretty good exercise to get used to GWT. For example, this is a snake game migrated from a JS project &lt;a href="https://github.com/ibaca/rxsnake-gwt" rel="noopener noreferrer"&gt;rxsnake-gwt&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;it is managed with Maven&lt;/em&gt;, no IDE or plugin required, just &lt;code&gt;java+maven&lt;/code&gt;. I'll use IntelliJ IDEA. We are not going to use any plugin, IntelliJ Ultimate has GWT support, and Eclipse has a super nice plugin, but I personally prefer not to depend on any of that. Also, the problem with those plugins is that the project configuration (classpath mostly) is not easy to keep exactly the same in the terminal or CI vs the IDE plugin. So with this solution, Maven solution, you will be able to run, test, and package your GWT in the same way in all those environments. IMO Maven is currently the easiest strategy to compile GWT.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  1. Maven basic archetype 💩
&lt;/h3&gt;

&lt;p&gt;First, we create a minimal maven project. You might follow this &lt;a href="https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html" rel="noopener noreferrer"&gt;guide&lt;/a&gt; or execute this command if you have maven already installed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;› mvn archetype:generate \
    -DarchetypeRepository=https://repo.maven.apache.org/maven2 \
    -DarchetypeGroupId=org.apache.maven.archetypes \
    -DarchetypeArtifactId=maven-archetype-quickstart \
    -DarchetypeVersion=1.4 -DinteractiveMode=false \
    -DgroupId=me -DartifactId=hello-app -Dversion=HEAD-SNAPSHOT
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I hope you know something about &lt;code&gt;maven&lt;/code&gt;. But, if not, note that you can compile, test, and package your app using &lt;code&gt;mvn verify&lt;/code&gt;. Run it now! 😉&lt;/p&gt;

&lt;p&gt;You can now open the created project in IntelliJ, just click open and go to the folder. IntelliJ detect maven automatically, and it will use the maven configurations to configure your project. I have reformated and removed comments,  change the target/source java version to 11 (fun 🥳, we can use &lt;code&gt;var&lt;/code&gt;), and update &lt;code&gt;maven-compiler-plugin&lt;/code&gt; to &lt;code&gt;3.8.1&lt;/code&gt;, &lt;code&gt;maven-surefire-plugin&lt;/code&gt; to &lt;code&gt;2.22.1&lt;/code&gt; and &lt;code&gt;junit&lt;/code&gt; to &lt;code&gt;4.13.2&lt;/code&gt;. Whenever you change something in the POM IntelliJ will ask you to "import changes", and click it to update the project configuration. This is what it should look like:&lt;br&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%2Fi%2Frfxzhtloepwa2mbfz30d.png" 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%2Fi%2Frfxzhtloepwa2mbfz30d.png" alt="Step 1: IDE layout" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try again the &lt;code&gt;mvn verify&lt;/code&gt; but this time use the IntelliJ maven menu. Any JDK ≥11 should work, but if you have any problem, just use JDK 11.&lt;br&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%2Fi%2Fqwhcqmwximjymooqphb2.png" 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%2Fi%2Fqwhcqmwximjymooqphb2.png" alt="Step 1: Configure JDK11" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I start from this basic maven archetype because I want to remark that the GWT project uses the whole Java ecosystem, and it uses similar patterns but is applied to front-end development.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ibaca/gsg-hello-app/commit/3488b27b" rel="noopener noreferrer"&gt;Step 1 diff.&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  2. GWTify it 🌈
&lt;/h3&gt;

&lt;p&gt;First, modify the &lt;code&gt;pom.xml&lt;/code&gt; to add the GWT dependencies and the GWT Maven plugin that will add some useful goals to compile and run GWT. Add this to the dependencies section:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;dependency&amp;gt;
  &amp;lt;groupId&amp;gt;com.google.gwt&amp;lt;/groupId&amp;gt;
  &amp;lt;artifactId&amp;gt;gwt-user&amp;lt;/artifactId&amp;gt;
  &amp;lt;version&amp;gt;2.9.0&amp;lt;/version&amp;gt;
&amp;lt;/dependency&amp;gt;
&amp;lt;dependency&amp;gt;
  &amp;lt;groupId&amp;gt;com.google.gwt&amp;lt;/groupId&amp;gt;
  &amp;lt;artifactId&amp;gt;gwt-dev&amp;lt;/artifactId&amp;gt;
  &amp;lt;version&amp;gt;2.9.0&amp;lt;/version&amp;gt;
&amp;lt;/dependency&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Those are the minimal GWT dependencies. The &lt;code&gt;gwt-user&lt;/code&gt; contains client-side java utilities, for example, the &lt;code&gt;EntryPoint&lt;/code&gt; interface that is used in GWT as a &lt;code&gt;static void main(args)&lt;/code&gt; equivalent (more on that later). And &lt;code&gt;gwt-dev&lt;/code&gt; contains the compiler and other development tools requirements.&lt;/p&gt;

&lt;p&gt;Then, you need to configure the GWT plugin and define the project as a &lt;code&gt;gwt-app&lt;/code&gt;. Add this to the build section:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;plugins&amp;gt;
  &amp;lt;plugin&amp;gt;
    &amp;lt;groupId&amp;gt;net.ltgt.gwt.maven&amp;lt;/groupId&amp;gt;
    &amp;lt;artifactId&amp;gt;gwt-maven-plugin&amp;lt;/artifactId&amp;gt;
    &amp;lt;version&amp;gt;1.0.1&amp;lt;/version&amp;gt;
    &amp;lt;extensions&amp;gt;true&amp;lt;/extensions&amp;gt;
    &amp;lt;configuration&amp;gt;
      &amp;lt;moduleName&amp;gt;me.App&amp;lt;/moduleName&amp;gt;
      &amp;lt;skipModule&amp;gt;true&amp;lt;/skipModule&amp;gt;
    &amp;lt;/configuration&amp;gt;
  &amp;lt;/plugin&amp;gt;
&amp;lt;/plugins&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And this is at the beginning, after the &lt;code&gt;artifactId&lt;/code&gt; and the &lt;code&gt;version&lt;/code&gt; elements:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;packaging&amp;gt;gwt-app&amp;lt;/packaging&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will extend maven adding the GWT specific executions to the maven lifecycle. So for example, after adding this if you run again the &lt;code&gt;mvn package&lt;/code&gt; you will notice that there are various new steps, the most important one is the one that runs the GWT compiler including our project source code, and outputs the final JS. Note that this doesn't work right now, because we haven't updated the java source code! There are 2 configs, the &lt;code&gt;moduleName&lt;/code&gt; points to the main &lt;code&gt;gwt.xml&lt;/code&gt; file (explained later) and &lt;code&gt;skipModule&lt;/code&gt; is used to avoid a nice but a bit "magically" utility from this plugin that will generate the &lt;code&gt;gwt.xml&lt;/code&gt; file for you, for now, I prefer to create it manually in the next step, so I just set the plugin to not generate this file for me.&lt;/p&gt;

&lt;p&gt;Update the IntelliJ project so the dependencies get downloaded and added to the project classpath.&lt;/p&gt;

&lt;p&gt;Now, we will update the current &lt;code&gt;App&lt;/code&gt; class that runs in the JVM to make it run on the client-side. Make &lt;code&gt;App&lt;/code&gt; implements &lt;code&gt;com.google.gwt.core.client.EntryPoint&lt;/code&gt;, remove the &lt;code&gt;static main&lt;/code&gt; method and implement the &lt;code&gt;onModuleLoad&lt;/code&gt; with the equivalent code. Simple, right? It is almost the same, &lt;code&gt;main&lt;/code&gt; for the JVM and &lt;code&gt;onModuleLoad&lt;/code&gt; for GWT. Your class content should be:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kn"&gt;package&lt;/span&gt; &lt;span class="nn"&gt;me.client&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.core.client.EntryPoint&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.dom.client.Document&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.dom.client.Text&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.user.client.ui.RootPanel&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;App&lt;/span&gt; &lt;span class="kd"&gt;implements&lt;/span&gt; &lt;span class="nc"&gt;EntryPoint&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

    &lt;span class="nd"&gt;@Override&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;onModuleLoad&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Text&lt;/span&gt; &lt;span class="n"&gt;textNode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Document&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;get&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;createTextNode&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World!"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;RootPanel&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;getBodyElement&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;appendChild&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;textNode&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I think the code is self-explanatory, but… yep, &lt;code&gt;getBodyElement&lt;/code&gt; returns the &lt;code&gt;body&lt;/code&gt; of the web page so we can add the &lt;code&gt;Hello World!&lt;/code&gt; and see it on our page.&lt;/p&gt;

&lt;p&gt;Just one more thing about the &lt;code&gt;App&lt;/code&gt; class, move it inside &lt;code&gt;client&lt;/code&gt; package (probably your IDE has already complained about that if you have copy&amp;amp;pasted the previous code). This makes it a bit easier. Note that GWT apps are all about sharing code, so you probably end up with a &lt;code&gt;server&lt;/code&gt;, &lt;code&gt;shared&lt;/code&gt;, and &lt;code&gt;client&lt;/code&gt; packages in your project. And although this is a minimal client only example, we will follow this convention, so move it to the &lt;code&gt;client&lt;/code&gt; package (warn: if you are using IntelliJ it can change the pom.xml &lt;code&gt;&amp;lt;moduleName&amp;gt;&lt;/code&gt; from &lt;code&gt;me.App&lt;/code&gt; to &lt;code&gt;me.client.App&lt;/code&gt; after moving the &lt;code&gt;App.java&lt;/code&gt; to the &lt;code&gt;client&lt;/code&gt; package, but it should be &lt;code&gt;me.App&lt;/code&gt; so check it out, sometimes IntelliJ is too smart).&lt;/p&gt;

&lt;p&gt;Next, create the &lt;code&gt;gwt.xml&lt;/code&gt; file called &lt;code&gt;App.gwt.xml&lt;/code&gt; (create it in the &lt;code&gt;me&lt;/code&gt; package, NOT in the &lt;code&gt;client&lt;/code&gt;). This name should match the package and name that we have configured in the &lt;code&gt;gwt-maven-plugin&lt;/code&gt; &lt;code&gt;moduleName&lt;/code&gt; configuration. Create the file with this content:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;module&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;inherits&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"com.google.gwt.user.User"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;entry-point&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"me.client.App"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="c"&gt;&amp;lt;!--&amp;lt;source path="client"/&amp;gt;--&amp;gt;&lt;/span&gt;
  &lt;span class="c"&gt;&amp;lt;!--&amp;lt;public path="public"/&amp;gt;--&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/module&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This file is called a &lt;a href="http://www.gwtproject.org/doc/latest/FAQ_Client.html#What_is_a_GWT_Module?" rel="noopener noreferrer"&gt;GWT module file&lt;/a&gt;. It is required so the GWT compiler knows which sources should be compiled, i.e. GWT does NOT compile everything that is in the classpath, it only compiles the sources indicated in the &lt;code&gt;source&lt;/code&gt; tag. It is commented because the module adds those 2 lines implicitly. The &lt;code&gt;source path="client"&lt;/code&gt; indicates that all java classes inside the package &lt;code&gt;{module-package}.client&lt;/code&gt; will be included, and this is why we have moved &lt;code&gt;App&lt;/code&gt; inside the &lt;code&gt;client&lt;/code&gt; package.  The &lt;code&gt;inherits&lt;/code&gt; module is a dependency, this module depends on the &lt;code&gt;gwt.user.User&lt;/code&gt; module and &lt;code&gt;User&lt;/code&gt; source will depend on other modules recursively. The second line &lt;code&gt;entry-point&lt;/code&gt; specifies an entry point. So when the GWT final compilation is loaded on the web page, those entry points will be called. This is the &lt;code&gt;onModuleLoad&lt;/code&gt; that we have created in the &lt;code&gt;App&lt;/code&gt; class. This is the equivalent to the &lt;code&gt;Main-Class&lt;/code&gt; manifest property for a &lt;code&gt;jar&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;Finally, create an &lt;code&gt;index.html&lt;/code&gt; file in &lt;code&gt;me.public&lt;/code&gt; package with this content:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"Content-Type"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"text/html; charset=UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;GWT • Hello App&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"text/javascript"&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"me.App.nocache.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first 2 lines are a "strong" recommendation, &lt;code&gt;title&lt;/code&gt; is optional, and the unique actual interesting line is the &lt;code&gt;script&lt;/code&gt;. This will bootstrap the GWT transpiled code, and after some steps, it will end up calling your &lt;code&gt;onModuleLoad&lt;/code&gt; entry point! yeah! As you can see, the name of the file is &lt;code&gt;{moduleName}.nocache.js&lt;/code&gt;. The &lt;code&gt;nocache&lt;/code&gt; is just an easy convention in GWT, the compiler generates various files, and some of them contain &lt;code&gt;.nocache.&lt;/code&gt; and others contain &lt;code&gt;.cache.&lt;/code&gt;. Files with &lt;code&gt;.nocache.&lt;/code&gt; should NEVER be cached and &lt;code&gt;.cache.&lt;/code&gt; can be cached FOREVER. This makes it trivial to add filters to the server to add cache headers, this is called &lt;a href="http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching" rel="noopener noreferrer"&gt;GWT perfect caching™&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Note, this &lt;code&gt;public/index.html&lt;/code&gt; is a utility that is configured in the GWT module file, but similar to the &lt;code&gt;&amp;lt;source path="client"/&amp;gt;&lt;/code&gt; convention, all modules contain an implicit &lt;code&gt;&amp;lt;public path="public"/&amp;gt;&lt;/code&gt; line. And, GWT compiler will copy everything from all modules &lt;code&gt;public&lt;/code&gt; paths to the final compiler output. BUT, my recommendation is that you try to add as less as possible to &lt;code&gt;public&lt;/code&gt; folders. GWT has a lot of options to add managed resources to your project, the public folder is just a drop-in that GWT copies blindly. I don't want to lose you here with explanations, but, believe me, if you add too many things into a &lt;code&gt;public&lt;/code&gt; folder, it might be considered a code smell. At that point, ask for help (at the end of this post I'll explain where is the best place to ask for help).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ibaca/gsg-hello-app/commit/007cc944" rel="noopener noreferrer"&gt;Step 2 diff.&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Package, Run, and Debug 🔥
&lt;/h3&gt;

&lt;p&gt;GWT transpiles code to JS and to see the result you will need to open it in your browser. But first, you need to compile and package the project. Run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mvn package
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will generate the required files and put them in the project target folder. Then, after success, open the result, in mac, you can use &lt;code&gt;open target/hello-app-HEAD-SNAPSHOT/me.App/index.html&lt;/code&gt; in the terminal. Otherwise, open that file in your browser or drag the file into the browser window. You should see &lt;code&gt;Hello World!&lt;/code&gt; in your browser.&lt;/p&gt;

&lt;p&gt;What is happening here? The &lt;code&gt;index.html&lt;/code&gt; in &lt;code&gt;me.App&lt;/code&gt; folder is the one that we have written previously in the &lt;code&gt;public&lt;/code&gt; package. So this is not generated by GWT, it is blindly copied from our &lt;code&gt;public&lt;/code&gt; resources. This file points to &lt;code&gt;me.App.nocache.js&lt;/code&gt; that are placed in the same folder by the GWT compiler. This file is the GWT bootstrapper. It is responsible for choosing the final client permutation. It is called permutation because GWT defines a special type of compile property that can be used to choose between different "implementations", and it can use to generate specific final compilation results for all possible combinations of all those properties, each of these combinations is called &lt;em&gt;a permutation&lt;/em&gt; (ex. &lt;code&gt;chrome+es&lt;/code&gt; is a permutation for the browser chrome and language Spanish). &lt;/p&gt;

&lt;p&gt;If you can see the &lt;code&gt;Hello World!&lt;/code&gt; that means that all those steps have happened successfully. I suggest opening the dev tools console in your browser and checking the network panel, you can see that the browser loads the &lt;code&gt;nocache&lt;/code&gt; file, and then it loads a weird &lt;code&gt;{hash}.cache.js&lt;/code&gt; file which is the actual permutation. You can try out another browser to see that this permutation file is different because by default GWT will generate a specific permutation per browser. This is configurable, but I'll omit it in this guide. Between version, the unique file that should be checked is the &lt;code&gt;nocache&lt;/code&gt;, because if something change, it will point to newly hashed files (this is why &lt;code&gt;cache&lt;/code&gt; files can be cached forever).&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%2Fhhthwvkwx8saufky2ix6.png" 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%2Fhhthwvkwx8saufky2ix6.png" alt="Step 3: Local run" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is nice, but this is not so nice if you need to debug or re-load with small changes. During development, you will use a special GWT feature called &lt;code&gt;codeserver&lt;/code&gt;. The &lt;code&gt;codeserver&lt;/code&gt; is a server that will compile and serve the code on the fly. You can run the &lt;code&gt;codeserver&lt;/code&gt; using &lt;code&gt;mvn gwt:codeserver&lt;/code&gt;, but we are going to use in this case the goal &lt;code&gt;mvn gwt:devmode&lt;/code&gt;. Ok, sorry, this is a bit confusing, but this will run 2 servers, the &lt;code&gt;codeserver&lt;/code&gt; and another jetty just to open the &lt;code&gt;index.html&lt;/code&gt;. I don't want to explain this, because it is a bit confusing and requires a long explanation. But for now, just keep in mind that what we are using is the &lt;code&gt;codeserver&lt;/code&gt;, and we use &lt;code&gt;devmode&lt;/code&gt; only to be able to open the &lt;code&gt;index.html&lt;/code&gt; (all this will make more sense in a future tutorial about the server-side). So, please run &lt;code&gt;mvn gwt:devmode&lt;/code&gt;. In IntelliJ, you can simply double-click in the &lt;code&gt;gwt:devmode&lt;/code&gt; goal in the maven panel, super handy!&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%2Fci590qrxp3yjop0n5tv7.png" 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%2Fci590qrxp3yjop0n5tv7.png" alt="Step 3: Run codeserver" width="800" height="622"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you inspect the log carefully you can see both servers, the &lt;code&gt;codeserver&lt;/code&gt; at port 9876 and the second jetty server at 8888. Start with the &lt;code&gt;codeserver&lt;/code&gt;. Open it in your browser. For now only check that in the second point, where there is a list of modules, you see your &lt;code&gt;me.App&lt;/code&gt; module. Hope you see it! Then, open the other server at port 8888 (both can be opened like &lt;code&gt;localhost:9876&lt;/code&gt; or &lt;code&gt;localhost:8888&lt;/code&gt; in any browser). When you open the jetty server, you will see your module directory, click on &lt;code&gt;me.App/&lt;/code&gt; to open that folder. This will end up opening our &lt;code&gt;index.html&lt;/code&gt;, then it will fetch the &lt;code&gt;me.App.nocache.js&lt;/code&gt; file but this time (and this is a bit of &lt;code&gt;devmode&lt;/code&gt; magic) it will use a special &lt;code&gt;nocache.js&lt;/code&gt; file that will detect the permutation and also it will communicate with the &lt;code&gt;codeserver&lt;/code&gt;, compile the code on the fly and sent the permutation plus source codes to your browser. During a few seconds, you should notice a "Compiling me.App" dialog that will disappear on success. You can change the &lt;code&gt;hello world&lt;/code&gt; message, e.g. remove the &lt;code&gt;world&lt;/code&gt; part, and reload the page. This will fire the compilation again. This is the standard development lifecycle, edit and reload.&lt;/p&gt;

&lt;p&gt;Now, I will ask you to move to chrome. You can do this in any browser, but easier to explain with one specific browser. Go to the &lt;code&gt;devtools&lt;/code&gt; and open the &lt;code&gt;Sources&lt;/code&gt; tab. Now find a resource (shortcut ctr+p or cmd+p) and write &lt;code&gt;App&lt;/code&gt; to find our entry point class. You should see the Java file in the browser, this is because the &lt;code&gt;codeserver&lt;/code&gt; generate JS source maps automatically, and chrome resolve that mapped Java sources and shows it in the &lt;code&gt;devtools&lt;/code&gt;. Click on the &lt;code&gt;RootPanel.getBodyElement&lt;/code&gt; line number to add a breakpoint, it should turn blue indicating an active breakpoint. Then, reload the page. If you have done it correctly, the debugger should stop in that line, you should be seeing something like this:&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%2F7w4y7i599rsxz1n2ibm0.png" 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%2F7w4y7i599rsxz1n2ibm0.png" alt="Step 3: debug" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is all you need to debug GWT code. But, note that you can write a lot of code in pure Java, this code, especially if you avoid the UI final layer, is trivial to run in JVM or to test using JUnit. GWT is all about sharing, and about using Java tooling, so if you are developing tools like for example a spatial-index, it is much easier and faster to test, run and debug it using plain Java. And then use it on the client-side.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Spice it up 🌮
&lt;/h3&gt;

&lt;p&gt;And this is where the personal touch gets crazy. Now I'm going to explain how to add 2 libs, a "pure" JS lib (Elemental2), and a "pure" Java lib (RxJava). I have chosen both libraries on purpose as opposite extreme cases. Using the "pure" JS libraries you should see how you can access native JS code in GWT and how easy and lightweight it is. And using the "pure" Java lib you'll see that in GWT you can use classic pure Java libraries in the browser. But, we are not going to depend directly on those 2 libs, instead, we will use this dependency graph:&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%2Fn4wo7o0d896da5axusj1.png" 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%2Fn4wo7o0d896da5axusj1.png" alt="Step 4: dependencies" width="800" height="568"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/google/elemental2" rel="noopener noreferrer"&gt;Elemental2&lt;/a&gt; is a Google library that exposes the whole Browser API in Java. The unique minor problem with this library is that in some cases the API is not javaish enough, specifically, events and element creation requires casts which is not common in the Java world. So, although we will use this library behind scenes, we are going to depend directly on a super small RedHat library called &lt;a href="https://github.com/hal/elemento" rel="noopener noreferrer"&gt;Elemento&lt;/a&gt; that adds those missing parts. This library is a handcrafted API for &lt;em&gt;elements&lt;/em&gt; and &lt;em&gt;events&lt;/em&gt;, a beautiful library that gives us the power of JS with the type-safety of Java.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/intendia-oss/rxgwt" rel="noopener noreferrer"&gt;RxGWT&lt;/a&gt; is a set of utilities to use RxJava in GWT, i.e. same as RxAndroid but for GWT. RxGWT depends on &lt;a href="https://github.com/intendia-oss/rxjava-gwt" rel="noopener noreferrer"&gt;RxJava GWT&lt;/a&gt;, a thin GWT adapter library over RxJava. Yep, ok, you cannot depend directly on RxJava, but if you go to the repo you will see that there are just a few minor changes and configurations to make it work in GWT, almost all of the actual RxJava source-code is the same.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Remember my recommendation; the idea with those 2 libraries is that you get able to find &lt;code&gt;JS+RxJS&lt;/code&gt; projects and migrate to &lt;code&gt;Java+RxJava&lt;/code&gt; with GWT using your Java knowledge! This is an awesome way to get used to GWT and there are a lot of fun micro reactive projects that can be improved!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To add this dependencies update the &lt;code&gt;pom.xml&lt;/code&gt; with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;project&lt;/span&gt; &lt;span class="na"&gt;xmlns=&lt;/span&gt;&lt;span class="s"&gt;"http://maven.apache.org/POM/4.0.0"&lt;/span&gt; &lt;span class="na"&gt;xmlns:xsi=&lt;/span&gt;&lt;span class="s"&gt;"http://www.w3.org/2001/XMLSchema-instance"&lt;/span&gt;
         &lt;span class="na"&gt;xsi:schemaLocation=&lt;/span&gt;&lt;span class="s"&gt;"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;modelVersion&amp;gt;&lt;/span&gt;4.0.0&lt;span class="nt"&gt;&amp;lt;/modelVersion&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;me&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;hello-app&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;HEAD-SNAPSHOT&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;packaging&amp;gt;&lt;/span&gt;gwt-app&lt;span class="nt"&gt;&amp;lt;/packaging&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;name&amp;gt;&lt;/span&gt;hello-app&lt;span class="nt"&gt;&amp;lt;/name&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;properties&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;project.build.sourceEncoding&amp;gt;&lt;/span&gt;UTF-8&lt;span class="nt"&gt;&amp;lt;/project.build.sourceEncoding&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;maven.compiler.source&amp;gt;&lt;/span&gt;11&lt;span class="nt"&gt;&amp;lt;/maven.compiler.source&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;maven.compiler.target&amp;gt;&lt;/span&gt;11&lt;span class="nt"&gt;&amp;lt;/maven.compiler.target&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/properties&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;dependencyManagement&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependencies&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;com.google.gwt&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;gwt&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;2.9.0&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;type&amp;gt;&lt;/span&gt;pom&lt;span class="nt"&gt;&amp;lt;/type&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;scope&amp;gt;&lt;/span&gt;import&lt;span class="nt"&gt;&amp;lt;/scope&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependencies&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/dependencyManagement&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;dependencies&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;com.google.gwt&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;gwt-user&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;com.google.gwt&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;gwt-dev&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;org.jboss.elemento&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;elemento-core&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;1.0.0-rc3&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;com.intendia.gwt.rxgwt2&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;rxgwt&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;2.3&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;com.intendia.gwt&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;rxjava2-gwt&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;2.2.20-gwt1&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;dependency&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;junit&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;junit&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;4.13.2&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;scope&amp;gt;&lt;/span&gt;test&lt;span class="nt"&gt;&amp;lt;/scope&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/dependency&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/dependencies&amp;gt;&lt;/span&gt;

  &lt;span class="nt"&gt;&amp;lt;build&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;plugins&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;plugin&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;groupId&amp;gt;&lt;/span&gt;net.ltgt.gwt.maven&lt;span class="nt"&gt;&amp;lt;/groupId&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;gwt-maven-plugin&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;1.0.1&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;extensions&amp;gt;&lt;/span&gt;true&lt;span class="nt"&gt;&amp;lt;/extensions&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;configuration&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;moduleName&amp;gt;&lt;/span&gt;me.App&lt;span class="nt"&gt;&amp;lt;/moduleName&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;skipModule&amp;gt;&lt;/span&gt;true&lt;span class="nt"&gt;&amp;lt;/skipModule&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/configuration&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/plugin&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/plugins&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;pluginManagement&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;plugins&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;plugin&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;artifactId&amp;gt;&lt;/span&gt;maven-compiler-plugin&lt;span class="nt"&gt;&amp;lt;/artifactId&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;version&amp;gt;&lt;/span&gt;3.8.1&lt;span class="nt"&gt;&amp;lt;/version&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/plugin&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/plugins&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/pluginManagement&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/build&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/project&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We have added a special dependency of type &lt;code&gt;pom&lt;/code&gt; and scope &lt;code&gt;import&lt;/code&gt; called &lt;em&gt;BOM&lt;/em&gt;. This is a utility dependency that asserts that all dependencies defined in the &lt;em&gt;BOM&lt;/em&gt; will be of the version specified in the &lt;em&gt;BOM&lt;/em&gt; itself. This is useful because we can end up with various &lt;code&gt;gwt-xxx&lt;/code&gt; libs with various versions and this might be a problem, so this &lt;em&gt;BOM&lt;/em&gt; asserts that all GWT core dependencies are at the same version.&lt;/p&gt;

&lt;p&gt;Alos, we have added 3 new explicit dependencies, &lt;code&gt;elemento-core&lt;/code&gt;, &lt;code&gt;rxgwt&lt;/code&gt; and &lt;code&gt;rxjava-gwt&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Then, go to your &lt;code&gt;App.gwt.xml&lt;/code&gt; module file and add this 2 dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;inherits&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"com.intendia.rxgwt2.RxElemento"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;inherits&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"org.jboss.gwt.elemento.Core"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you still have the &lt;code&gt;gwt:devmode&lt;/code&gt; running you will need to restart. There are new maven dependencies, and as those dependencies should be added to the classpath, you will get forced to restart it. It is just a few seconds, so no problem. Stop it and run &lt;code&gt;mvn gwt:devmode&lt;/code&gt; again. Open &lt;code&gt;localhost:8888&lt;/code&gt; and go to &lt;code&gt;app.App&lt;/code&gt; and check that you still see the &lt;code&gt;Hello World!&lt;/code&gt; in your browser.&lt;/p&gt;

&lt;p&gt;Now, update the content of &lt;code&gt;App.java&lt;/code&gt; with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kn"&gt;package&lt;/span&gt; &lt;span class="nn"&gt;me.client&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.core.client.EntryPoint&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;org.jboss.elemento.Elements&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;App&lt;/span&gt; &lt;span class="kd"&gt;implements&lt;/span&gt; &lt;span class="nc"&gt;EntryPoint&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

    &lt;span class="nd"&gt;@Override&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;onModuleLoad&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Elements&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World!"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cool, this is much less verbose. &lt;code&gt;Elements&lt;/code&gt; is an &lt;em&gt;elemento&lt;/em&gt; utility, it contains all those user-friendly type-safe element APIs. Most of the types of the &lt;code&gt;Elements&lt;/code&gt; methods return builders which are wrappers around the actual &lt;em&gt;elemental2&lt;/em&gt; type. You can extract the &lt;em&gt;elemental2&lt;/em&gt; type calling &lt;code&gt;get()&lt;/code&gt;. At that point, you are accessing the browser API almost directly. GWT will transpile the Java source-code to JS but a line of code like this &lt;code&gt;DomGlobal.document.body.background = "red";&lt;/code&gt; will gets translated to &lt;code&gt;document.bod.background = 'red';&lt;/code&gt;, almost the same. &lt;em&gt;TIP&lt;/em&gt;: Navigating through the &lt;em&gt;elemental2&lt;/em&gt; source code is a good strategy to learn how to map native API in Java GWT.&lt;/p&gt;

&lt;p&gt;Now we are going to apply &lt;em&gt;RxJava&lt;/em&gt;, and update the content of &lt;code&gt;App.java&lt;/code&gt; to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kn"&gt;package&lt;/span&gt; &lt;span class="nn"&gt;me.client&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.google.gwt.core.client.EntryPoint&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;com.intendia.rxgwt2.elemento.RxElemento&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;elemental2.dom.HTMLElement&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;org.jboss.elemento.Elements&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;static&lt;/span&gt; &lt;span class="n"&gt;elemental2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;dom&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;DomGlobal&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;document&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="nn"&gt;static&lt;/span&gt; &lt;span class="n"&gt;org&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;jboss&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;elemento&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;EventType&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;mousemove&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;App&lt;/span&gt; &lt;span class="kd"&gt;implements&lt;/span&gt; &lt;span class="nc"&gt;EntryPoint&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

    &lt;span class="nd"&gt;@Override&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;onModuleLoad&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;HTMLElement&lt;/span&gt; &lt;span class="n"&gt;el&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Elements&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;span&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;style&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"font-weight: bold;"&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="na"&gt;element&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
        &lt;span class="nc"&gt;Elements&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;&lt;span class="na"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"mouse position: "&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="na"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;RxElemento&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;fromEvent&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;document&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;mousemove&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
                &lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;subscribe&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ev&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;el&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;textContent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ev&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;clientX&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;", "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;ev&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;clientY&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We have replaced the &lt;code&gt;hello world&lt;/code&gt; with a &lt;code&gt;mouse position&lt;/code&gt; text, a &lt;code&gt;span&lt;/code&gt;, and an event listener for &lt;code&gt;mousemove&lt;/code&gt; events in the page &lt;code&gt;document&lt;/code&gt;. This is a pretty simple code, but with lots of nice things! &lt;code&gt;Elements.span()&lt;/code&gt; is an &lt;em&gt;elemento&lt;/em&gt; builder, see how easy is to set the style and to get the element using its fluent API. &lt;code&gt;HTMLElement&lt;/code&gt; is an &lt;em&gt;elemental2&lt;/em&gt; type, which is almost like using the browser API directly. &lt;code&gt;RxElemento.fromEvent&lt;/code&gt; is a &lt;em&gt;RxGWT&lt;/em&gt; utility that combines the &lt;em&gt;elemento&lt;/em&gt; type-safe events with &lt;em&gt;RxJava&lt;/em&gt;. This is the actual type &lt;code&gt;Observable&amp;lt;MouseEvent&amp;gt;&lt;/code&gt; returned by &lt;code&gt;fromEvent&lt;/code&gt;, i.e. it is an &lt;code&gt;Observable&lt;/code&gt; of the concrete event type. This observable will add a new event listener to each subscription and will remove it on unsubscribe. The last line is the actual subscription that will update the &lt;code&gt;el&lt;/code&gt; span element with the mouse client coordinates.&lt;/p&gt;

&lt;p&gt;In this micro example, we are mixing a pure Java lib to subscribe and compose events with a browser-native API. It's so simple that might not impress, but this is pretty awesome and powerful if you think about it 🤯! Actually, if you are an android developer and you have a lot of experience with UI, MVP, Dagger, RxJava, and all those fancy things to manage your UI state then this should be your starting point to start applying all this knowledge to create web-based UI applications!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ibaca/gsg-hello-app/commit/b384fc0e" rel="noopener noreferrer"&gt;Step 4 diff.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion 👋
&lt;/h2&gt;

&lt;p&gt;Disclaimer; no big conclusions here BUT I hope you liked it and made you curious enough to keep digging into GWT. GWT is a super powerful transpiler. We have not even talked about how it can manage resources (JS, CSS, HTML, translations, images, and more) and embed it all into one single JS file. It is huge, but even ignoring all those extra utilities, just as a "simple" transpiler, it is more than enough to be useful for all those Java experts that want to write browser code.&lt;/p&gt;

&lt;p&gt;If you like this intro, I'll try to make some client-server tutorials. I really think that client-only APPs are the best starting point, but yep, people love the idea of writing the client and server in the same language, and probably almost everyone using GWT is using it with this goal in mind. But, of course, this tutorial will be a pretty biased one too 😬.&lt;/p&gt;

&lt;p&gt;There is a project to start with GWT using a &lt;em&gt;spring boot approach&lt;/em&gt;. I personally prefer a manual approach as explained in this guide because the &lt;em&gt;spring boot approach&lt;/em&gt; adds many dependencies and makes you feel a bit like you have loose control. But if you like it, then you will love this project &lt;a href="https://github.com/gwtboot/gwt-boot-samples" rel="noopener noreferrer"&gt;gwt-boot-samples&lt;/a&gt; and it is even easier to start with. Anyway, this project has various modern popular solutions, so even if you don't use the dependencies themselves, you can get inspired and configure it manually.&lt;/p&gt;

&lt;p&gt;Finally, my recommendation about &lt;em&gt;asking for help&lt;/em&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://stackoverflow.com/questions/tagged/gwt" rel="noopener noreferrer"&gt;stackoverflow gwt&lt;/a&gt; - pretty obvious, but yep, the best place to standard problems&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://gitter.im/gwtproject/gwt" rel="noopener noreferrer"&gt;gitter gwt&lt;/a&gt; - gitter chat, this is pretty active, if you have no idea or have a quick question this is the best place&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://groups.google.com/forum/#!forum/google-web-toolkit" rel="noopener noreferrer"&gt;groups gwt&lt;/a&gt; - contains a lot of old questions, also there are various specific groups for contributors, the steering committee, various classic GWT libs, and more&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those 3 places should be enough. But, if you want to find more things, maybe some surprise, then go to &lt;a href="https://gwt.zeef.com/awesomegwt" rel="noopener noreferrer"&gt;awesome gwt&lt;/a&gt; where there is an infinite list of useful GWT resources, tutorials, libs, videos, blogs, and more!&lt;/p&gt;

</description>
      <category>gwt</category>
      <category>java</category>
      <category>startingguide</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Hi, I'm Ignacio Baca Moreno-Torres</title>
      <dc:creator>Ignacio Baca Moreno-Torres</dc:creator>
      <pubDate>Sun, 11 Dec 2016 17:08:40 +0000</pubDate>
      <link>https://dev.to/ibaca/hi-im-ignacio-baca-moreno-torres</link>
      <guid>https://dev.to/ibaca/hi-im-ignacio-baca-moreno-torres</guid>
      <description>&lt;p&gt;I have been coding for 10 years.&lt;/p&gt;

&lt;p&gt;You can find me on GitHub as &lt;a href="https://github.com/ibaca" rel="noopener noreferrer"&gt;@ibaca&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I live in MÃ¡laga, Spain.&lt;/p&gt;

&lt;p&gt;I work for Intendia.&lt;/p&gt;

&lt;p&gt;I mostly program in these languages: Java.&lt;/p&gt;

&lt;p&gt;I am currently learning more about Rx.&lt;/p&gt;

&lt;p&gt;Nice to meet you.&lt;/p&gt;

</description>
      <category>introduction</category>
    </item>
  </channel>
</rss>
