P R E F A C E
S
ERVICE
L
IFECYCLE
. ........................................................................................................................................................................................................ 107
MB
EAN
C
LASS
D
EPENDENCY
M
ANAGEMENT
......................................................................................................................................................................... 108
MB
EAN
MB
EAN
D
EPENDENCY
M
ANAGEMENT
......................................................................................................................................................................... 108
SAR
FILE FORMAT AND PACKAGE NESTING
...................................................................................................................................................................... 108
C
LASSPATH
E
LEMENT
........................................................................................................................................................................................................... 108
L
OCAL
D
IRECTORY
E
LEMENT
................................................................................................................................................................................................ 108
D
EPLOYMENT
......................................................................................................................................................................................................................... 109
13.
WEB INTEGRATION................................................................................................................................................................................................. 110
C
ONFIGURING
J
ETTY
........................................................................................................................................................................................................... 110
What is Jetty.......................................................................................................................................................................................................... 110
Integration with JBoss.................................................................................................................................................................................... 110
Deployment................................................................................................................................................................................................................. 111
Configuration.......................................................................................................................................................................................................... 112
Unpacking wars on deployment ............................................................................................................................................................. 115
Classloading behaviour............................................................................................................................................................................ 115
Changing the default HTTP listener port................................................................................................................................... 115
Changing other HTTP listener port attributes ...................................................................................................................... 115
Using SSL ........................................................................................................................................................................................................... 116
Using JAAS......................................................................................................................................................................................................... 117
Using Distributed HttpSessions ........................................................................................................................................................ 117
Other Jetty Configuration Tips ................................................................................................................................................................ 118
Deploying a war to context / ...................................................................................................................................................... 118
Using virtual hosts ................................................................................................................................................................................... 119
Running on port 80 ..................................................................................................................................................................................... 119
Running with Apache front ending Jetty ..................................................................................................................................... 119
C
ONFIGURING
T
OMCAT
......................................................................................................................................................................................................... 120
Using SSL with the JBoss/Tomcat bundle ............................................................................................................................................. 121
Setting up Virtual Hosts with the JBoss/Tomcat 4.x bundle ............................................................................................... 123
Using Apache with the JBoss/Tomcat 4.x bundle ............................................................................................................................ 125
14.
WEB SERVICES ........................................................................................................................................................................................................ 127
W
HAT IS ALL THIS BUZZ
? ................................................................................................................................................................................................. 127
What is XML and XML Schema?........................................................................................................................................................................ 127
What is SOAP, WSDL and UDDI? ..................................................................................................................................................................... 128
What are JAXM, JAX RPC & JAXR? ................................................................................................................................................................ 128
What is Axis?.......................................................................................................................................................................................................... 129
C
ONFIGURING
JB
OSS
.N
ET
.................................................................................................................................................................................................. 129
What is JBoss.Net................................................................................................................................................................................................ 129
Installation PB................................................................................................................................................................................................ 130
Configuration FB ............................................................................................................................................................................................. 130
Basic Security ............................................................................................................................................................................................... 130
Using Tomcat as the WebContainer ................................................................................................................................................... 130
B
UILDING
A P
OJO
W
EB
S
ERVICE WITH
JB
OSS
.N
ET
FB .......................................................................................................................................... 130
B
UILDING
A
N
EJB
BASED
W
EB
S
ERVICE WITH
JB
OSS
.N
ET
CGJ ........................................................................................................................... 131
E
XTERNAL
W
EB
S
ERVICES AND
UDDI PB................................................................................................................................................................... 131
15.
APPENDIX A............................................................................................................................................................................................................. 132
A
BOUT
T
HE
JB
OSS
G
ROUP
.................................................................................................................................................................................................. 132
16.
APPENDIX B............................................................................................................................................................................................................. 133
I
NTRODUCATION TO
ANT B
UILD
S
YSTEM
......................................................................................................................................................................... 133
17.
APPENDIX C............................................................................................................................................................................................................. 134
I
NTRODUCTION TO
XD
OCLET
............................................................................................................................................................................................... 134
18.
APPENDIX D............................................................................................................................................................................................................. 135
T
ITLE
D .............................................................................................................................................................................................................................. 135
19.
APPENDIX E............................................................................................................................................................................................................. 136
Page 4 of 139
4