期刊名称:International Journal of Computer Trends and Technology
电子版ISSN:2231-2803
出版年度:2019
卷号:67
期号:3
页码:102-108
DOI:10.14445/22312803/IJCTT-V67I3P121
出版社:Seventh Sense Research Group
摘要:The paperis intended to provide an indepth understanding of how to transform dynamic validation metadata to runtime java class(es) with relevant fields annotated with proper bean validation annotations, which is dynamically generated based on the validation metadata. This dynamic class generation is performed through an open source library ByteBuddy (which depends on ASM ASM is an allpurpose Java bytecode manipulation and analysis framework). This understanding will help developers to build dynamic validation feature in their system, while validating the properties of a dynamic screen that is built with the help of dynamic properties metadata.The intended audience for this article includesapplication architects, software designers and software programmers who participate in the design, architecting and development of robust and complex enterprisewide applications based on Java and Jakarta EE (or spring) and want to utilize the Java Bean Validation (1.1 or 2) in dynamic scenarios.
关键词:Java Bean Validation (BV); Byte Buddy; ASM; Jakarta EE.