• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Few Generic Queries

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic