This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Using Apache Common Bean Utils. | |
| */ | |
| import org.apache.commons.beanutils.BeanUtils; | |
| import java.util.HashMap; | |
| public class ApacheCommonExample throws IllegalAccessException, | |
| InvocationTargetException, NoSuchMethodException { | |
| public HashMap<String,Object> convert(Person person) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Spring Dependencies --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-core</artifactId> | |
| <version>${spring.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-web</artifactId> | |
| <version>${spring.version}</version> |
NewerOlder