Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

correct order of calls in SLSB  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!