lalit upadheyay wrote:Provided the POJO is deployed in EJB server and has EJB classes packages in same jar containing the POJO. Yes, EJB injection into a POJO is possible via Application Client Container(ACC) provided by the EJB server. Not all EJB servers support ACC.
I think i'll disagree with that Application client containers only help with injecting resources like EJB only within the class having the main method (i.e. the class which acts as the starting point of the application).