This is probably a st00pid question, but bear with me...I've been writing
ASP and PHP for the past 4 months,  :-(  and just started Axis/Tomcat/Web
services development.

I've gone through several online tutorials and working through the somewhat
outdated "Building Web Services with Java" (Sams 2002) by Graham, et al, and
have a couple of working Web services available ("woohoo").  Monson-Haefel's
"J2EE Web Services" (Addison Wesley 2003) is unequalled in the technical
theory behind Web services technology, but a bit short on practical
application.  Chappel and Jewel's "Java Web Services" (O'Reilly 2002) simply
sucks.

A couple of ???, though:

1.  All the examples so far run the client class from the command line; this
is clearly inadequate for Web applications.  Why can't I find any
totorials/example code that actually uses a browser?  I assume the browser
URL would link to a servlet which would acts as a controller between view
and model, and the model contains the logic to invoke Axis methods.  A more
realistic example than simple command-line public static void Main( String[]
args ){} would be extremely helpful.

2.  All the examples place the server classes in either the webapps/axis
root (jws) or webapps/axis/WEB-INF/classes (class) directory.  How do I have
a webapps/myApp communication with the Axis engine in webapps/axis?  Is it
as simple as importing the Axis classes into the relevant classes of myApp,
or do I have to do some kinda of x-classloader context tricks?

tia,
Mark

<<application/ms-tnef>>

Reply via email to