| Author |
Few Generic Queries
|
Vikas Sharma
Greenhorn
Joined: Oct 18, 2004
Posts: 2
|
|
Hi Can u pls advise on this : 1) Dynamic Generation of EJB end point : Since SOAP is always based on Http. How does communication happens with the EJB server. As per RMH book: "The exact SOAP-to-EJB marshalling architecture varies from one vendor to the next, but in many cases a servlet that's similar to a JAX-RPC servlet is used to marshal SOAP message calls into calls on the EJB." So is the Servlet engine must to host ejb end points ? 2) Not Sure if this question voilates Sun policy. But if u can advise "Do they ask more questions on java APIs for the web service etc" In other words do we need to cram the API. Thanks in advance.
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
1)Dynamic Generation of EJB end point : Since SOAP is always based on Http. How does communication happens with the EJB server. As per RMH book: "The exact SOAP-to-EJB marshalling architecture varies from one vendor to the next, but in many cases a servlet that's similar to a JAX-RPC servlet is used to marshal SOAP message calls into calls on the EJB." So is the Servlet engine must to host ejb end points ? Nope, the servlet engine does not host EJB endpoint. All it does according to RMH's description is marshall SOAP message calls into EJB class. What this means is that some web service engine (Axis, etc) will be set up to receive SOAP calls in some servlet (in case of Axis, this is called AxisServlet) and in there the calls will be dispatched to your EJB. You can check the following tutorial for how this is organized: http://www.arc-mind.com/downloads_protected/tutorials/webservices/apacheaxisejb.pdf 2) Not Sure if this question voilates Sun policy. But if u can advise "Do they ask more questions on java APIs for the web service etc" In other words do we need to cram the API. Actually, there will be some API questions. However, the questions won't just ask you to choose between this and that method, you will be given some context and a problem to solve and from there you areg oing to have to choose the best fit. Hope it helps
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
 |
|
|
subject: Few Generic Queries
|
|
|