<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - How to end a session with stateful session bean?</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Wed, 19 Jun 2013 22:41:24 -0400</pubDate>


    <item>

        <title>using ejbRemove()</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[<blockquote>Well! I would like to add though i'm not sure.. the life cycle method of a stateful session bean, ejbRemove will be called when the user disconnects in someway(anyway). </blockquote><br>Hi Vikas,<br><br>As per Sateful Session Lifecycle, the...]]></description>
        

        <pubDate>Tue, 29 Mar 2005 14:21:48 -0500</pubDate>

        

        <jf:creationDate>Tue, 29 Mar 2005 14:21:48 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 29 Mar 2005 14:21:48 -0500</jf:modificationDate>
        <jf:date>Mar 29, 2005</jf:date>
        <jf:author>Anil Kumar Sadineni</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>sessionDestroyed() is not call when implicit close browser</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[<blockquote>Hi, I used to use this solution before but sessionDestroyed() only perform if we call HttpSession.invalideSession(). If user close browser without sign out, sessionDestroyed() is not call?</blockquote><br>Hi Nam,<br><br>There is no way to...]]></description>
        

        <pubDate>Tue, 29 Mar 2005 14:14:45 -0500</pubDate>

        

        <jf:creationDate>Tue, 29 Mar 2005 14:14:45 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 29 Mar 2005 14:14:45 -0500</jf:modificationDate>
        <jf:date>Mar 29, 2005</jf:date>
        <jf:author>Anil Kumar Sadineni</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>using ejbRemove()</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[Well! I would like to add though i'm not sure.. <br>the life cycle method of a stateful session bean, ejbRemove will be called when the user disconnects in someway(anyway). so how about adding the code of updating the login status in the ejbRemove method...]]></description>
        

        <pubDate>Tue, 29 Mar 2005 06:58:41 -0500</pubDate>

        

        <jf:creationDate>Tue, 29 Mar 2005 06:58:41 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 29 Mar 2005 06:58:41 -0500</jf:modificationDate>
        <jf:date>Mar 29, 2005</jf:date>
        <jf:author>Vikas Bodani</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>sessionDestroyed() is not call when implicit close browser</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[Hi, I used to use this solution before but sessionDestroyed() only perform if we call HttpSession.invalideSession(). If user close browser without sign out, sessionDestroyed() is not call?]]></description>
        

        <pubDate>Tue, 29 Mar 2005 02:26:04 -0500</pubDate>

        

        <jf:creationDate>Tue, 29 Mar 2005 02:26:04 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 29 Mar 2005 02:26:04 -0500</jf:modificationDate>
        <jf:date>Mar 29, 2005</jf:date>
        <jf:author>Nam Nguyen Van</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>How to end a session with stateful session bean?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[Hi Abhishek,<br><br>You can use the HttpSessionListener to capture the session create/destroy events. If you can keep the EJBObject handle of your stateful session bean in session scope, when session time out/invalidate haoppens, the sessionDestroyed()...]]></description>
        

        <pubDate>Mon, 28 Mar 2005 16:41:34 -0500</pubDate>

        

        <jf:creationDate>Mon, 28 Mar 2005 16:41:34 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 28 Mar 2005 16:41:34 -0500</jf:modificationDate>
        <jf:date>Mar 28, 2005</jf:date>
        <jf:author>Anil Kumar Sadineni</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>How to end a session with stateful session bean?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[You could add a SessionEventListener (perhaps the interface's name is slightly different) to the user's session. This listener should detect the invalidation of the session and update the state of the user.<br>Of course, this approach is not suitable for...]]></description>
        

        <pubDate>Mon, 28 Mar 2005 10:25:21 -0500</pubDate>

        

        <jf:creationDate>Mon, 28 Mar 2005 10:25:21 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 28 Mar 2005 10:25:21 -0500</jf:modificationDate>
        <jf:date>Mar 28, 2005</jf:date>
        <jf:author>Martin Straus</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>How to end a session with stateful session bean?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=32883</link>

        

        
            <description><![CDATA[Hi,<br>I have made shopping cart using stateful session bean. I want that when the session expires the user's loginStatus field in a database table is set to 'N'.<br>Can anyone please tell me how to catch this event of session getting expired. Is there...]]></description>
        

        <pubDate>Mon, 28 Mar 2005 02:47:57 -0500</pubDate>

        

        <jf:creationDate>Mon, 28 Mar 2005 02:47:57 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 28 Mar 2005 02:47:57 -0500</jf:modificationDate>
        <jf:date>Mar 28, 2005</jf:date>
        <jf:author>Abhishek Asthana</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>



</channel>
</rss>

