This contains both the JAVA SDK library and Examples. The project files are ECLIPSE friendly, just add a referance to the C2MAPI project as well.
The minimal code samples for sending mail for rest (i.e. 1 document that goes to a address list) are located in: rest_simpleSend
The minimal code samples for sending mail via Batch (i.e. 1 PDF that contains multiple mailers by page range) are located in: batch_simpleSend
Examples for common calls are included as well.