This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB - Contextual data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB - Contextual data" Watch "EJB - Contextual data" New topic
Author

EJB - Contextual data

Jose Dal Pra
Greenhorn

Joined: Apr 22, 2013
Posts: 1
I need some help.

A have a new feature that forces me to pass some new data structure to my EJBs.

This is a user session context that has some information about the current user.

How can I pass this data to my EJBs without refactoring my method signature and calls?

Use ThreadLocal? But if it is not on the same JVM?

There's some code bellow. Can you have a tip to me?

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB - Contextual data
 
Similar Threads
Struts2 multiple files upload with a twist
JSF Request Processing Lifecycle Basics
Data structure to hold information for a file?
Command object is not setting up properly