Is it using RMI for invoking the web service

I am new to web services and studing Jax-WS web services these days. I created a little web service and host it in tomcat server and created a java web service client for accessing the service as well. But I am having a little confusion in the web service client, because in the client we generate a stub for accessing the service.

Here is it using RMI for invoking the web service???

According to my knowledge tomcat is a web container and it is not supporting for RMI.

I searched this through the internet and I was unable to find the clear answer. Can anybody please simply explain me how does it happen.

If the tomcat is not supporting to RMI how does it invoke the web service. I have this confusion since it uses the stub that we generated using wsimport command.

thanks a lot


Here is it using RMI for invoking the web service???

Http. The web service client would create a http request (just like how a browser does when you request a url), convert your request object to an xml payload and invoke your service end point. Different vendors of JAX-WS may use different implementations, but it is usually some form of HttpURLConnection

HttpClient is a popular package to create Http connections from a java program.

Need Your Help

Regular HTML table border show up very strange in Firefox

html firefox table

I created an HTML table and used the following CSS to style the border as I wanted:

State Pattern and Domain Driven Design

domain-driven-design state-pattern

We often use simple enumerations to represent a state on our entities. The problem comes when we introduce behaviour that largely depends on the state, or where state transitions must adhere to cer...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.