m y A p p / is th e to p le v e l
m y A p p /
s o u r c e d ir e c to r y o f th e
a p p lic a tio n .
b u ild .xm l
b u ild .s h
th e e tc / d ir e c to r y c o n ta in s s p e c ia l file s
e t c /
d e s c r ib in g th e a p p lic a tio n th a t s h o u ld b e
c o p ie d to th e W E B IN F d ir e c to r y w h e n th e
a p p lic a tio n is b u ilt.
w e b .xm l
th e /lib d ir e c to r y s h o u ld c o n ta in
lib /
lib r a r ie s , u s u a lly .JA R file s fo r Ja v a
a p p lic a tio n s .
lib r a r ie s , e .g .
JA R file s
th e s o u r c e / d ir e c to r y s h o u ld
c o n ta in a ll Ja v a s o u r c e c o d e
s r c /
( in c lu d in g s e r v le ts ) , w h ic h s h o u ld
b e o r g a n ize d in p a c k a g e s .
p a c k a g e 1 /
.ja v a file s
p a c k a g e 2 /
.ja v a file s
th e w e b / d ir e c to r y s h o u ld c o n ta in a ll
w e b /
H T M L a n d JS P p a g e s , a s w e ll a s
s ty le s h e e ts , XM L file s , e tc . F o r la r g e r
p r o je c ts , s e v e r a l s u b d ir e c to r ie s
H T M L file s
s h o u ld b e c r e a te d u n d e r w e b /. T h e
JS P p a g e s
e n tir e h ie r a r c h y w ill b e c o p ie d to th e
s ty le s h e e ts
r o o t d ir e c to r y o f th e d e p lo y m e n t
e tc .
h o m e w h e n th e a p p lic a tio n is b u ilt.
Figure 5: Source Code Directory Structure
32
Java Web Hosting Application Development Using Java Technologies Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |