vijay1440 Posted February 14, 2006 Share Posted February 14, 2006 Hi! plz tell me the mechanism to maintain the session tracking of a HTTP client with Stateful session beans.I am with an opinion that eventhough it is a stateful session bean,I need to put the data that whatever i need to track of ,into that bean (using some methods)and after that I need to place that stateful sesion bean into the HTTP Session object just like any object. So i doubt that there is no meaning for the Stateful Session bean without the HTTPSessoin object. I also have so many doubts but i can be cleared only after these doubts are cleared.Please clarify my doubts,Thanks much,Vijay Link to comment Share on other sites More sharing options...
Skemcin Posted February 14, 2006 Share Posted February 14, 2006 HI,I'm not exactly following what you are saying or asking, but I can clarify that a web service, specifically, is stateless. So you will not be able to instantiate a session variable through a web service. What the web service can do is collect information from any number of places and then pass it to a server scripted pages (like, php, asp, or cold fusion) which can then create variables in the session scope. Link to comment Share on other sites More sharing options...
vijay1440 Posted February 14, 2006 Author Share Posted February 14, 2006 HI,I'm not exactly following what you are saying or asking, but I can clarify that a web service, specifically, is stateless. So you will not be able to instantiate a session variable through a web service. What the web service can do is collect information from any number of places and then pass it to a server scripted pages (like, php, asp, or cold fusion) which can then create variables in the session scope.<{POST_SNAPBACK}> first of all, thank u. my dount is as follows... can we avoid the HttpSession object's usage completely with the usage of the Stateful session beans? if s how?thanks much,vijay Link to comment Share on other sites More sharing options...
Skemcin Posted February 14, 2006 Share Posted February 14, 2006 I do not know too much about session beans but this seems to be a pretty good conversation on the matter and may answer your question:http://theserverside.com/discussions/threa...s?thread_id=552 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now