Shared resources in a Java project for server and client packages
<p>I have a Java project that has both server and client packages.  In addition I have a library package.  </p>

<p>I use eclipse and have put everything in a single Java project, each section server,client and library are in separate packages, the problem is that when I export, everything gets added to the Jar file.</p>

<p>So I suppose I need two different projects, client and server, but what about the shared library files?  What do I do about them?  Do I actually need three different projects?  It will become a little unwieldy as everything is actually related and I would like to keep them together.</p>
