• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

please read this question  RSS feed

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which of the following methods can be called from the code of a stateless session bean's client.

a. ejbCreate()
b. remove()
c. create()
d. ejbRemove()
e. createDiscount()

can you tell me why e is not the correct answer.
thank you!
 
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

can you tell me why e is not the correct answer.


Who told you e is not the correct answer?
There may be some mistakes in some of the websites..
 
mark ken
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from my book ,<scbcd exam study kit>
in this book it only give the correct answer as: b,c .
but I think createDiscount() can be defined as a bussiness method in component interface. client also can call it from the bean.
 
Rizwan Mohammad
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I agree. I don't see any problem in having method createDiscount() in component interface unless i am missing something obvious.
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we have more than the required create() for stateless session bean.e is not valid.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!