I have been used your second solution (standalone service by java4less )
You mean suggestion one.
but i have very much problems to run and use it;
1) initializing modem by AT&T flow control command is very difficult because these commands are not easily known for any common kind of modems especially for our end users ;
I told you if you have the commands for your card.
2) sending and receiving fax by this package is possible for pure text and not for any documents types such pdf or doc extensions or images ;
Read the FAQ on their website about pdfs. For rendering of docs and generating the fax immage I suppose you should take the doc to pdf and then pdf to fax solutions.
please give me more explanations about this product or suggest me another standalone fax services in java ;
Read the FAQ and documentations of both this product and Javacomm and get sure you cover your usecase before you design. Hacking is very good to get a feeeling about the time you will need for a full integration, but you need to know what are the possibliites some packge offer you and what you want to do before you rush into it.