title: How can I share classes between client and server?
body: <p>I've created a jax-ws service endpoint and now I want to write a client. I want to have a shared jar between the client and server for common (JAXB annotated) entity classes and interfaces for the services. Is it possible to force jax-ws to generate (or allow me to write) a client using my existing entites/interfaces?</p>
  
  <p>For those that are wondering why I would want to do this: I want to allow services to be in the same physical server or across the internet, but not make web service calls and just use a different implementation locally.</p>