dear all, i have question about ejb3 .i know that Dependency Injection which is in spring xml file.in ejb3 annotation.so we return in ejb to hardcoded.not one place like spring right?so where is dependency injection? thanks all.
i know that the dependency injection via annotation But this is inside the code !!!.so if i have to change the jndi nameinside annotation in every class!! it is the smae like i wrote 2 lins of code for JNDI.but in spring you write it in xml file.it is outside the code. please clarify to me that!!