JSMS is a free, open-source and Java based framework that provides support for integrating SMS messaging into enterprise systems or Java apps.
JSMS comes with a pluggable architecture and supports the following providers:
Giper.Mobi, http://giper.mobi, WEBSMS, http://www.websms.ru and Generic SMPP protocol.
You will be able to send text, query statuses as well as to balance checking.
Being developed using Java, JSMS is a cross-platform library that can be used on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).