Y
yekasi
hi,
I used to be a .net programmer for a few years, and am have done web
services in .net.... (using IIS, of course)
And i moved onto Java side recently - and am pretty new to tomcat /
axis..etc..
I looked at the netbeans ide tutorial, and it covered on how to create
a web services and a client using the IDE - with that is with the sun
app server. Since I want to stick with Tomcat (which is a servlet
container, i believe), the compilation complained that the
HelloWSImpl.java is not a servlet, and will not let me run the web app.
I have tried the WSDP 2.0 tutorial as well, but I first got the
FastSetsource.jar not found? Then I got some other classes not
found..etc... so, until now - i still am not able to create a web
service, and a cliet to talk back and forth.
I have the following questions..
1. I am confused that how come tomcat itself is already a webserver,
why would people use it on top of apache http server, which is another
web server?
2. To create a web services, (I am thinking of the .net web services
that i have done - that once you deploy it with IIS, and you browse to
that service, if the function takes 2 parameter, there will be 2
textboxes waiting for you to put data to, then once you post - the xml
response will come back...), does java allow front end interface
automatically like that in .net? Or you have to code the JSP pages to
include those textboxes yourself, and do a manual post to the web
services address?
3. Are there any book out there, explains how to use tomcat for
webservices? I have looked thru some of the java books that talks about
web services, they mainly explain what webservices are, what is
xml..etc... and of course, they did talk about the differenct type of
messaging format available. (JAX-RPC..etc..)
4. In the java world - how do you use webservices? Is it the same way
that i am familiar with? Like, that we have a front end gui, that it
will call the web services, pass it a few param, and get the xml result
back, and parse it and display / store.. it? Or that is not the correct
way to consume the web services in java world?
5. In .net - as long as i have the .net framework sdk, and a IIS - i am
good to go. In java - what do i need in order to deploy a web
services?? I already have tomcat / jdk / wsdp / IDE - do i have enough
to create a simple ws? if so, can you show me a basic tutorial??
based on some reading, i understand that the ws on the service side,
needs an SEI implementing java.rmi.remote, and we need another class
implementing this SEI. But I would really want to see more example, or
downloads, where i can just download / view the whole thing all at
once... I googled "java web service", "jax-rpc example"..etc.. most of
the return links are from either java.sun.com, or ibm, or some other
vendor's web site, explaining the architecture... I really want to look
at the code, to get a better understand, what is the relationship
between each of these softwares (tomcat, apache http server, axis...)
Any suggestions??
Thanks,
T
I used to be a .net programmer for a few years, and am have done web
services in .net.... (using IIS, of course)
And i moved onto Java side recently - and am pretty new to tomcat /
axis..etc..
I looked at the netbeans ide tutorial, and it covered on how to create
a web services and a client using the IDE - with that is with the sun
app server. Since I want to stick with Tomcat (which is a servlet
container, i believe), the compilation complained that the
HelloWSImpl.java is not a servlet, and will not let me run the web app.
I have tried the WSDP 2.0 tutorial as well, but I first got the
FastSetsource.jar not found? Then I got some other classes not
found..etc... so, until now - i still am not able to create a web
service, and a cliet to talk back and forth.
I have the following questions..
1. I am confused that how come tomcat itself is already a webserver,
why would people use it on top of apache http server, which is another
web server?
2. To create a web services, (I am thinking of the .net web services
that i have done - that once you deploy it with IIS, and you browse to
that service, if the function takes 2 parameter, there will be 2
textboxes waiting for you to put data to, then once you post - the xml
response will come back...), does java allow front end interface
automatically like that in .net? Or you have to code the JSP pages to
include those textboxes yourself, and do a manual post to the web
services address?
3. Are there any book out there, explains how to use tomcat for
webservices? I have looked thru some of the java books that talks about
web services, they mainly explain what webservices are, what is
xml..etc... and of course, they did talk about the differenct type of
messaging format available. (JAX-RPC..etc..)
4. In the java world - how do you use webservices? Is it the same way
that i am familiar with? Like, that we have a front end gui, that it
will call the web services, pass it a few param, and get the xml result
back, and parse it and display / store.. it? Or that is not the correct
way to consume the web services in java world?
5. In .net - as long as i have the .net framework sdk, and a IIS - i am
good to go. In java - what do i need in order to deploy a web
services?? I already have tomcat / jdk / wsdp / IDE - do i have enough
to create a simple ws? if so, can you show me a basic tutorial??
based on some reading, i understand that the ws on the service side,
needs an SEI implementing java.rmi.remote, and we need another class
implementing this SEI. But I would really want to see more example, or
downloads, where i can just download / view the whole thing all at
once... I googled "java web service", "jax-rpc example"..etc.. most of
the return links are from either java.sun.com, or ibm, or some other
vendor's web site, explaining the architecture... I really want to look
at the code, to get a better understand, what is the relationship
between each of these softwares (tomcat, apache http server, axis...)
Any suggestions??
Thanks,
T