This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to destroy my session scoped bean... I use the bean to store info about the user (username, password, etc...) and when he logs out I want the bean or rather session to be destroyed... Is it legal to just call session.invalidate()? Thanks!