Install the source RPM for apache. The spec file is in /usr/src/redhat/xxxxx/SPEC or something like that. "xxxx" is the name of the httpd server package. The JBoss source RPM is not part of the desktop linuxes. For that, you'd have to pull from the Red Hat Enterprise Linux collection. CentOS may have a publicly-accessible copy.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com