Program arguments are arguments that are passed to your application, which are accessible via the "args" String array parameter of your main method. VM arguments are arguments such as System properties that are passed to the JavaSW interpreter. --------------------------------------------------------------------------------------------------------- Program arguments는 어플리케이션에 넘기는 argument로, main메소드에 "args" String 배열 파라메터를 넘길 때 사용된다. VM arguments는 JavaSW 이 시스템 속성값으로 넘겨진다.
만약 설정 xml에서 <bean id="abc" class="com.crystal.abc"> <property name="def" value="${def}"/> </bean> 와 같이 시스템 프로퍼티로 argument의 값을 받고 싶다면, Program arguments가 아니라 VM arguments에서 값을 넘겨야한다. 예 : -Ddef=defValue