But raghavan, for me i need to write the code for this conversion of this word to pdf in my EJB.So is it possible to use any open office for this conversion or we had to use java api...?, i prefer java api because that's how the requirement was informed to me by my superiors.. please help me out..
Check out OpenOffice API . Provides nice API for everything OpenOffice application provides .
Now, in OpenOffice Writer you can open or create document and convert it to PDF. You can make it through this Java API respectively.