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.
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|