on 07-14-2006 2:46 PM
I have an application in webdynpro which uses a webservice from XI.I need to keep track of activities of a particular user and display them when the user logs in again.Can Stateful session beans help implement this? If yes how?
Regards
Bhavana
Hi Bhavana,
Stateful Session Beans is OK in this situation but only as service layer. You also need to think about persistency layer. So, CMP Entity Bean, JDO or JDBC would be a good choice for this.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhavana,
Pls note that HTTP session id keeps changing every time a user login. So you can't identify a user using session id of previous login. You can use 2 ways to store this
1. Application level scope
store the details in a java object(collection) currespoding to a user id(login id) in application scope, not session scope
2. Use database tables to store the details once user logout.
Hope it helps
regards,
Sujesh
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.