Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to pass value to the EJB annotations dynamically

 
Yash Don
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I have started using EJB 3 in my project and I am making use of lots of annotations like @Stateless , @Singleton @Entity etc. Most of these annotation accept parameters for example @Stateless(name="CalculatorBean" mappedName="calculatorBean") and these parameter values are hard coded. Is there any way available to pass these values at run time.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic