I would like to know about pros and cons of glassfish server and jboss (glassfish v3 vs jboss 7.0) in using in production environment, i know more people use jboss as the application server, but glassfish has more features and stability over jboss do you agree with me?
Ask the question on the GlassFish forums and you'll get GlassFish as an answer. Ask the question on the JBoss forums and you'll get JBoss as an answer. Ask here, and you'll likely get both :-)
Stability. I can tell you that the amount of testing we put into GlassFish Server Open Source Edition is substantial - it has the same high quality as the commercial version (Oracle GlassFish Server) when released, although the commercial version ships patches more regularly. According to JBoss (and someone correct me if I am wrong), JBoss does not do their full quality testing on the open source bits - full QA is only on their commercial distributions (JBoss Enterprise Application Platform). I can't say with any empirical evidence which open source appserver has better quality, but the approach to quality for the open source distributions are very different between the two.
Features. IMHO, GlassFish has a more mature and feature rich administration console, command line tool (useful for automation), and RESTful administration and monitoring API. The former two have been available in GlassFish since before 2005 when the Sun appserver was open-sourced as GlassFish, the RESTful API since 2008.
FYI, I am the GlassFish Server product manager, so I am heavily biased :-)
Hope this helps and please let us all know what you finally decide and why.
Thanks.