阅读背景:

我可以使用哪些库将POJO绑定到TDD的外部文件而没有太多开销?

来源:互联网 

I need a way to bind POJO objects to an external entity, that could be XML, YAML, structured text or anything easy to write and maintain in order to create Mock data for unit testing and TDD. Below are some libraries I tried, but the main problems with them were that I am stuck (for at least more 3 months) to Java 1.4. I'd like any insights on what I could use instead, with as low overhead and upfront setup (like using Schemas or DTDs, for instance) as possible and without complex XML. Here are the libraries I really like (but that apparently doesn't work with 1.4 or doesn't support constructors - you gotta have setters):I need a way to bind POJO objects to an externa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: