title: Why self-contained Application?
body: <p>I am beginner in apache spark-scala, and I have been created a project with SBT (self-contained application).
   I searched on Internet and I asked many people, why we create the self-contained application on scala with SBT ? Why we need for self-contained application ? What is the interest of the self-contained application ?
   I arrived to these results:
  - we create the self-contained application in scala with sbt to create an arborescence of project and we can run a full program.
  - In the running of program we genere a file jar.</p>
  
  <p>I run my program like this:</p>
  
  <pre><code>spark-submit --class "name_file" --master local[*] target/scala-2.11/"name_project"_2.11-1.0.jar
  </code></pre>
  
  <ul>
  <li>With the self-contained application we can give my file jar to another person  and he can running my program without install spark or scala in another machine (like the files .dll in C++).</li>
  </ul>
  
  <p>And finally, may be my question is not normaly, but I told, that I can ask my question in StackoverFlow and I am sure that I'll find the best answer.</p>
  
  <p>Thank you!</p>