• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I also call EJBs with this?

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"The container provides a mechanism called request dispatching that allows on container managed component to call another"
My question - Is this how I would call EJBs also?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question - Is this how I would call EJBs also?

No. Dispatching a request to another component is not the same as calling an EJB. Is you look into EJB a bit, you'll see that you need more work to call an EJB, and the web container is not here to do that work. These are two complete different things.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that the SCWCD exam does not cover EJB's at all.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that the SCWCD exam does not cover EJB's at all.

Except the ejb-ref and ejb-local-ref tags in the deployment descriptor
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!