title: Hiding classes in a jar file
body: <p>Is it really impossible to hide some classes in a jar file?</p>
  
  <p>I wanted not to allow direct instantiation of the classes to keep it more flexible. Only the factory (or a facade) should be visible of this jar.</p>
  
  <p>Is there any other way than solve this problem than creating two projects?
  (Two projects: the first one contains the classes (implementation) and the other one references to the first one and contains the factory; later only the second one will be referenced)</p>