For the sake of personal use and for the educational reasons I wanna make a Java wrapper around a certain service's web API. That is, no additional software is required to use it on a client machine - just my code.
I also want to make that wrapper reusable and possibly utilized by other people who might want to access that service from Java code.
So my question is: is there any common practice or a standard design pattern for the cases like mine that states that such wrappers be packed in a Java Bean and used accordingly? Or is such software typically distributed in a source code form and compiled as a part of the project that makes use of it?