-
1. Re: how do you use jboss
glmason Nov 17, 2002 3:34 PM (in response to tezz)> lets say I had a sample servlet from a book that I am
> reading on servlets. How do I get it to work with
> jboss.
>
> 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
> hopeless.
> -
2. Re: how do you use jboss
glmason Nov 17, 2002 3:39 PM (in response to tezz)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.
-
3. Re: how do you use jboss
sgturner Nov 17, 2002 4:00 PM (in response to tezz)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
-
4. Re: how do you use jboss
koltar Nov 18, 2002 1:29 AM (in response to tezz)I'll give you the jsp run down and you can configure your web.xml for servlets if you need servlets
Contents of test:
test
WEB-INF
classes
lib
web.xml
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
Good Luck! -
5. Re: how do you use jboss
koltar Nov 18, 2002 1:31 AM (in response to tezz)Indentions did not show up on post I'll use dashes
Directory Structure
test
-WEB-INF
--classes
--lib
-web.xml