Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem passing data to stateless EJB

920164Mar 11 2012 — edited Oct 24 2012
hi all;
I don't know if this is the right place to post this issue, but i hope to find a solution from your experience.
I have an already developed J2ee application, that uses EJB (stateless session beans) to implement the business logic of the application. An auditing functionality is required to be added to the application were the user who did an action (UID- update, insert, delete) needs to be logged, my problem is how to pass the logged in user id to the EJB without changing the signature of the methods? dose anyone have any idea? please note that the login functionality i an application level one (username matching password in a table)
Thanks in advance....

Edited by: 917161 on Mar 11, 2012 1:36 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 21 2012
Added on Mar 11 2012
13 comments
539 views