Originally posted by Corneliu Croitoru:
Juste curios. Do you know EJB?
If yes, you should know that using setBeanFactoryLocator we are loading the xml file .
I apreciate to have answers from people who know not from people that never worked with it.
Corneliu.
So, EJB is not my choise.
In the above example, the ServicesConstants.PRIMARY_CONTEXT_ID constant would be defined as follows:
public static final String ServicesConstants.PRIMARY_CONTEXT_ID = "businessBeanFactory";
Originally posted by Corneliu Croitoru:
The jUnit tests, are out of weblogic, in local.
I'm testing only the service layer, in my eclipse environement.
So....
I don't know.
I just replaced, the @Autowired with the old fashion injection way (via setter method) and now it's working.
So, the my conclusion is that there is a problem with weblogic 9.2 & @Autowire annotations.
Corneliu.
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|