This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB - Contextual data

Jose Dal Pra
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic