
which is better server? apache or jboss?

JBOSS is a full application sever that includes Tomcat and has support for many J2ee spec features (e.g EJBs) but Tomcat is a servlet container only ideal for when you want to use servlets, JSP and other JSP related. So JBoss provides some extra services and capabilities which makes it better.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.