Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 24th, 2005, 01:55 AM
Registered User
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Removing a stateful session bean from client code

I required your help in developing my J2ee based applicatin in which I am
using 3-tier architecture. My page flow is as following,

(in which he gets id and password and create stateful session bean and pass
these parameter to SFSB business method that method calls create local BMP
entity bean and pass those id and password to entity bean business method
and then get result and return back to jsp page in that page I set two session
variable one is based on database result which we get on behalf of id and password
and other is my remote object of SFSB, then i go to next page Home.jsp)

(in this page I get session objects and display some result and in this page I have a link of logout.jsp
page when user click that link it goes to logout.jsp page)

(the code of that logout.jsp page is)



akdtradedemon.UserSesion us=(akdtradedemon.UserSesion)session.getAttribute( "usersesion");
catch(Exception e)

out.println("You have sucessfully log out");


My question in this regard is that whether I should remove SFSB here by myself it is good technique or container
should do this to me any thing about this code any suggestion or code u refer to me will be very helpful for me
please reply

From Noman Ahmed
Appxs Ltd.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing items from ListBox on the client. DevelopWorld General .NET 1 July 26th, 2006 03:33 AM
Using JavaBean with Session Bean siddsonline J2EE 0 April 12th, 2005 07:16 AM
How do I get my current client Session id ? badgolfer ASP.NET 1.0 and 1.1 Basics 1 October 25th, 2004 08:02 AM
Problem with EJB(Session+Entity bean) hiparry_m J2EE 1 October 15th, 2004 01:54 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.