Hello here,
As I progress studying for OCPJWSD I think I'm having some misunderstandings, here are my doubts:
1)I understand that both
EJB and POJO SIBs are wrapped into
servlets when deployed into a JEE app server, does the same happens when I publish the services only using JSE 6 Endpoint class in a standalone application ? If so, does that means that JSE 6 comes with a light weigth http server?
2)Are these servlet wrappers by any chance the same as the servlet endpoint processor of the webservice broker class diagram?
3)I had two interpretations on the web service broker
pattern:
I) JAX-WS uses web service broker pattern internally, that way , the servlet endpoint processor would be the servlet that wrappes the SIB, and the SIB would be the web service broker being implemented by a POJO or and EJB.
II) Web service broker is a pattern to use when you have legacy services that needed to be exposed as web services. That said, the endpoint processor would work as a front controller, receving first the request and routing it to these legacy services by a facade( the web service broker).
Are any of these assumptions correct?
Please someone enlighten me.
Thanks.