• Post Reply Bookmark Topic Watch Topic
  • New Topic

correct order of calls in SLSB

 
mallika shah
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
select the correct order of calls in Stateless Session beans,

setSessionContext
Constructor
businessMethod
PostConstruct
@Remove
PostActivate

My ans was:
Constructor,setSessionContext, PostConstruct, BusinesMethod

By the correct ans says "Contructor, PostConstruct, businessMethod, @Remove"

Why is setSessionconext not included after Constructor?
 
mallika shah
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
someone please reply to this question.

thanks,
mallika
 
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!