I found the reason why I cann't create the component:
@PersistenceContext may only be used on session bean or message driven bean components
so,what should I do to the common constant lists?
I found the same thing I want in the dvdstore sample,ProcessDefinitionSwitcher
Can I store the list in the db instead of a final String list in the code?
Yes, it would be easy to do that.