You can now send SMS from your PC using GSM modem connected to your computer to your COM port. First of All , you should download comm.jar API to use this component .
It could be downloaded from the following link
You are not allowed to view links.
The components contains the following java classes
1.Connection.java --Connection class is used to connect to the COM port from the java program
2. ConnectionException.java-- ConnectionException Class is for handling connection exceptions in your Java program
3. Parameters.java --Parameters program is used to set your COM port properties
4. Sender.java --Sender class sends SMS using the serial connection
5. Client.java --Client class is the main class that can be instantiated in your java program and called to send SMS. This program in turn will use all the above four files internally to send out your SMS.
The PC should contain a modem and an appropriate driver in order to use this component successsfully.