Is there a difference if i use the "ALL" server instead of "DEFAULT"?
Also, in the book "JBoss In Action" page 25, on how to set the classpath, i keep getting the error when I type the 1st line of command in the command prompt.
javac:-d requires an argument
Does it mean that my servlet-api.jar is not there? If it does mean that, I do have the servlet-api.jar file in the folder. Or maybe because I did the wrong way of placing the file there. Because in the 1st place my .jar was not there and how i got it was to download it from some website and just cut and paste it into that folder. Is this wrong?
The 'all' configuration includes clustering support, while the 'default' config does not. Other than that, they include all of the same services. Thus 'all' == 'default' + clustering. This is covered in JBoss in Action, page 17, table 1.3.
Regarding page 25, please note that the 2 lines of the command should be typed on a single line. (The error you are getting is that '-d' requires a parameter, and in the book the -d and its parameter, "helloapp.war/WEB-INF/classes src/com/manning/jbia/intro/*" are split between two lines). The funny arrow in front of the second line is a continuation character (see page xxv in the intro)