jsr

How to find the jar of java.rmi package

百般思念 提交于 2019-11-26 18:10:38
问题 I am developing an Android application which needs some rmi stuff since Android doesn't support rmi by default i found this project can be used to bundle the rmi package with my Android application but i couldn't find a jar which includes java.rmi package. can anybody suggest where to find it? or any other way to use java.rmi with Android Thanks !!! 回答1: It is unlikely that you will be able to use RMI on Android. Even if you took the code for RMI from Apache Harmony or some other source,

JSR-303 @Valid annotation not working for list of child objects

安稳与你 提交于 2019-11-26 06:36:11
问题 My main classes is public class UserAddressesForm { @NotEmpty private String firstName; @NotEmpty private String lastName; private List<AddressForm> addresses; ... setters and getters public class AddressForm { @NotEmpty private String customName; @NotEmpty private String city; @NotEmpty private String streetAn; @NotEmpty private String streetHn; @NotEmpty private String addressCountry; @NotEmpty private String postCode; ... setters and getters A Controller @RequestMapping(value = \"/up\",