title: Java Package Vs Folder-Structure? what is the difference
body: <p>I would like to know What are the difference between folder-structure and package used in Eclipse IDE for Java EE development. </p>
  
  <p>When do we use which one and why?.</p>
  
  <p>Whats should be the practice </p>
  
  <ul>
  <li>create a folder structure like src/com/utils and then create a class inside it </li>
  <li>create a package like src.com.util and then create a class inside it</li>
  </ul>
  
  <p>which option would be better and easy to deploy if i have to write a ant script later for deployment ?</p>
  
  <p>if i go for the folder-structure will the deployment is as easy as copying files from development to deployment target ?</p>