Accessing session bean from servlet

Hi.

I have a session bean which stores infos about user browsing the site. I also created servlet that handles AJAX requests. Now I'd like to check if user is logged using ajax. How can I access session bean from this servlet? I have a boolean value in that bean indicating whether user is logged. Please describe in details if possible :)

Thanks in advance,

Michal

[391 byte] By [mglowackia] at [2007-10-3 0:17:18]
# 1
ok, I already found an answer here: http://forum.java.sun.com/thread.jspa?forumID=33&threadID=400425
mglowackia at 2007-7-14 17:08:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...