File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Few Generic Queries Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Few Generic Queries" Watch "Few Generic Queries" New topic
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
 
Threads others viewed
XML and SOAP ?
Web Service without any framework
SOAP Interface to EJB
How to auto execute a session bean’s method on ear deployment?
EJB or Servlet
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture