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.
Joe Chambers wrote:We use a vendor package that accesses spring beans via the bean "name" as in <bean name="/proxy">...</bean>. As we upgrade to spring 3.0 we are trying to use annotation configuration instead of xml.
Since the bean name can include values that are not allowed in bean id's, is there a method for doing this in annotations i.e. Component, Repository...?
Yes, you can put the name of the bean directly in the annotation
But in most cases when you are using annotations that are @Components, then you are also using @Autowired, so bean names at that point become not necessary.
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