This content has been marked as final.
Show 2 replies
-
1. Re: where to put servlet class file in jboss without using a
wolfgangknauf Nov 27, 2007 9:53 AM (in response to jainendra.pathak)Hi !
It seems you are really new to Java web application development. Explaining the structure of one of those would be too much for a short post. I would advice you to use an IDE like Eclipse with WebTools-Plugin, or NetBeans, or the Eclipse based JBoss IDE. They provide options to create web projects, and so you won't have to care for the deploy structure.
Just a hint: the EAR file has to contain a WAR file with all the web project data. There, class files are placed in a subdirectory "WEB-INF\classes".
For JBoss 4.2, you have to add the web module to "application.xml" of the EAR project, otherwise JBoss will not find the modules.
Best regards
Wolfgang Knauf -
2. Re: where to put servlet class file in jboss without using a
jainendra.pathak Nov 28, 2007 12:44 AM (in response to jainendra.pathak)"Wolfgang Knauf" wrote:
Hi !
It seems you are really new to Java web application development. Explaining the structure of one of those would be too much for a short post. I would advice you to use an IDE like Eclipse with WebTools-Plugin, or NetBeans, or the Eclipse based JBoss IDE. They provide options to create web projects, and so you won't have to care for the deploy structure.
Just a hint: the EAR file has to contain a WAR file with all the web project data. There, class files are placed in a subdirectory "WEB-INF\classes".
For JBoss 4.2, you have to add the web module to "application.xml" of the EAR project, otherwise JBoss will not find the modules.
Best regards
Wolfgang Knauf
Thanks wolfgang knauf ,
thanks for interest in my problem. I want to tell u that i knew that using Ant we can create an EAR / WAR file and deploy directly into jboss deploy folder.
But i just wanted to ensure me that can i deploy myapplication folder directly in Jboss or not that why putted this question here....
i already using netbeans ide....
but i just want to know about the extra features of jboss... can it support to Application folder or not....
thanks a lot for ur opinion... if u hv some more suggestion u r always welcome.. i need the guidence
bye