This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpSessionActivationListener doubt

 
Prasad Shindikar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HttpSessionActivationListener must be configured in the deployment descriptor via the listener tag

Is this statement true or false ?

According to me and HFJS, the above statement is true.
But in one of the mocks by Marcus Green, this statement is said to be false.
So need to confirm.
 
Michael L´┐Żnhardt
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes that's right:

By adding a <listener> element in the deployment descriptor as
shown here:
<web-app>
...
<listener>
<listener-class>MySessionActivationListener</listener-class>
</listener>
...
</web-app>
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is false the HttpSessionActivationListener must not be configured deployment descriptor

I think the followling might be helpful

DeclaringListeners
 
Prasad Shindikar
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks remo..
i checked the errata.. and this particular point has been mentioned there too !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic