----- Original Message -----
Sent: Friday, February 28, 2003 2:27
AM
Subject: Re: deploying a set of
classes
Hallo Raju,
I hope I'll be able to help you...
I'll ask you excuse if I'll do some writing error, but I'm not very practical
in writing in english.
First of all, you should create a
main class, which is the one seen from the outworld: in this class you could
implement all the other functions you need, or simply you can invoke other
auxiliar classes. It is not important the number of classes you'll write, or
the operations they'd perform: being on the server side, these classes can
access files, peripherals or others without any restriction. The only
important thing is how you install these classes and other files on your
machine: you have to strictly respect packages and pathnames, and rules that
describe how to install them can vary from server to server. I can tell you
how to do, just using Tomcat 4.1.18 and Axis 1.0... In tomcat you have to
insert the main class into the webapps directory, and exactly into
webapps/axis/web-inf/classes. Starting from here, you have to
create your subdirectories, and insert into them the main class... I'll try to
explain it better. If, for example, your main class belongs to this package:
test.myservice, you have to create into the classes
directory, the test subdirectory, and into this one, the myservice
subdirectory, obtaining this path:
webapps/axis/web-inf/classes/test/myservice. Then
you have to insert the main class into the myservice directory.
Then, proceed to insert other classes and files into another directory, and
exactly into the common/classes directory. Even here, if
these classes belong to some packages, you have to create the right structure
and insert classes into appropriate subdirectories.
As far as the interaction with the database, I
cannot help you a lot, because I'm just looking for it... but it shouldn't be
very difficult...
I hope I had help you.
Vincenzo
----- Original Message -----
Sent: Saturday, February 22, 2003 12:39
PM
Subject: deploying a set of
classes
Hi
Could anyone please advice me on how to deploy
a set of classes and xml files as a single web service,
some of the classes parse xml
files,
some connect to database
and some access some other
services.
any help would be greatly
appreciated.
Thank you in advance.
Raju.