This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes how to pass value to the EJB annotations dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to pass value to the EJB annotations dynamically " Watch "how to pass value to the EJB annotations dynamically " New topic
Author

how to pass value to the EJB annotations dynamically

Yash Don
Greenhorn

Joined: May 19, 2010
Posts: 12
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.


Regards,
Yash

SCJP, SCWCD
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to pass value to the EJB annotations dynamically
 
It's not a secret anymore!