Hi Ping Pong,
--> I try to find the hint about how the EJB endpoint involve web container. I read J2EE WEB Services book, I cann't find the hint, when webservice client access your webservice, client have no knowledge about how you implement your webservice JSE or EJB endpoint, client post soap message to url such as
http://www.xys.com/webservices/test, this is web container or web server, how the request delegate to EJB container ?
First, the client really don't know how do you implement the web service. It's ok. The url used to send soap messages are normally a alias to one servlet that will dispatch the request. The way that the servlet foward your request is container specific. I work with websphere and the way the things occurs are this (RPC based service request):
1. Client Proxy: Client send SOAP RPC Request
2. RPCRouterServlet: Lookup deployment descriptor with ServiceManager
3. RPCRouterServlet: Pass request to provider (PluggableProvider)
4. PluggableProvider: Invoke service (Service Implementation: EJB,JSE,...)
5. Return response
--> for JBOSS, it's EJB container only,
JBoss works with one web container, normally
tomcat or other.
--> how client can access the webservice by http protocol?
I didn't tryed JBoss yet, but I think that it should implement one servlet to dispatch the request. You need one SOAP engine too, it will do the XML-JAVA conversions.
--> Maybe I am only one to warry about that,
Certainly not! I'm working on this issue (discover the secrets) for at least two months!!!
--> I knew Weblogic expose stateless bean as webservice, implment as added a servlet to do that( it's weblogic 6.1, two years ago, it's not EJB 2.1).
Don't know Weblogic...
--> Your book clear my brain a lot, this is the only question I have,
I need to buy the book!!! Everyone is reading it ...
--> ( except part III UDDI, I can not handle and it's not useful in "my real life")
Did you have implemented web services in production enviroment ? How do you expose the service definition ?
I hope that this help,
Sorry about the poor english ...
Bruno.