Prabhat Ranjan wrote:In future customer don't want to compiling the java file , can we change the no of argument in Pojo class of spring.
i mean to say constructor injection argument can we modify without compiling the java class.
You question isn't quite clear what you mean.
Regardless of Spring, if I have a class with a constructor that takes 2 arguments, and I want to change it to 3 arguments, then I have to change the Java code. Any change to Java code requires a recompile.
Now there are libraries like JavaAssist that can add code to classes at runtime.