User user = userDao.get(loginName);

The above line, is the user entity class? And what is the userDao doing?

stateManager.set(User.class, user);

This is setting the user as the current state?

User user = stateManager.get(User.class);

And the above is just returning the current user?


-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-app-using-JDBC-tp3390993p3393932.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to