title: Creating a custom field in Magnolia (new to Magnolia Java development)
body: <p>I want to create a new custom field for magnolia, but I'm quite new to magnolia and have limited java knowledge ( about 1 year  separate from magnolia ). In the magnolia docs custom field docs is here <a href="https://documentation.magnolia-cms.com/display/DOCS57/Custom+fields" rel="nofollow noreferrer">https://documentation.magnolia-cms.com/display/DOCS57/Custom+fields</a> </p>
  
  <p>However, I don't understand from this what new code I need to create or where I need to put it.</p>
  
  <p>It says I need to  implement it as a simple Vaadin Field in Magnolia. I tried googling this and found some links, but nothing useful for me. I need a full code example of making a custom field in magnolia. I also need to know where I should put the java code and how mangolia knows about my new code.</p>
  
  <p>In magnolia docs, it says I need Definition class, factory class and field class.  Are these in separate files? Where should they go in magnolia file structure? </p>
  
  <p>UPDATE: 
  I think I know where to put the code inside custom magnolia module under fieldTypes folder.</p>