> lets say I had a sample servlet from a book that I am
> reading on servlets. How do I get it to work with
> Where do I put it?
> Will jboss automatically recompile it if it changes
> (and is requested)?
> Sorry to be a pain, but I spent many hours trying to
> decifer the quickstart guide draft 3 but it was
Well I has a nice answer all typed out, went to post it and the server said I was not logged in... so lost the message, Ill try again tonight.
Well, IHMO, the Jboss docs are only about JBoss server specif stuff. Part of what you want to know is not specific to JBoss, so would not be covered by JBoss docs. Part of what you want to know is covered in the J2EE spec, so get your self a good book on that. In the mean time, you can read this: http://www2.theserverside.com/resources/articles/J2EE-Deployment/chapter.html
I'll give you the jsp run down and you can configure your web.xml for servlets if you need servlets
Contents of test:
Inside test contains jsps
Inside classes contains Java Objects
Inside lib contains library jar files such as oracle classes12.zip
If your environment pathing is correct to your sdk you type
jar -cvf ../test.war .
That will place your war file one directory back. Run jboss default drop test.war in JBOSS_HOME/server/default/deploy
That will get you started on Web Applications, good luck with EJBs major hassle, I have not gotten all the EJBs to work due to confusion of XML files and locations. This stuff is alot easier on other servers because they have deployment GUIs. The automatic deployment is nice but I was able to get things running on sun, weblogic and oracle9ias alot easier.
URL: http://localhost:8080/test/index.jsp if you use default ports
Indentions did not show up on post I'll use dashes