Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Few Generic Queries

 
Vikas Sharma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic