Illinois POS tagger sample of usage.
There are libs (LBJPOS.jar and LBJ2Library.jar) are required.

http://cogcomp.cs.illinois.edu/page/software_view/3
http://cogcomp.cs.illinois.edu/page/software_view/11
http://en.wikipedia.org/wiki/Learning_Based_Java