I'm trying to make a injection of SESSION SCOPED component in a remote call:
@In private SharedLawData sharedLawData; @WebRemote public String processClient(Long clientId) { Long prof = sharedLawData.getChoicedProfileToUse(); }
this code raise the require a not null component for a sharedLawData, how to fix?
Does calling the same method in a JSF (i.e. non-remoting) call work?