Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须设计一个网页,它选择并将一堆 XML 作为 zip 文件(同步)导出到浏览器。是否建议使用春季批次?还是 Spring 的任何其他功能会派上用场?
提前致谢。
转换部分可以使用 Spring Batch 完成,但这就像用别克车拍苍蝇一样。在浏览器请求中同步运行 spring 批处理作业在理论上是可能的,但远不是一个好的做法。