JSR 352 Spring Batch vs. Java EE [closed]

孤人 提交于 2019-12-10 10:06:56

问题


A couple of questions regarding JSR 352, Spring Batch, and Java

1) When would someone use Java to build a batch JSR-352 application over Spring Batch? My initial take is it would require more coding in Java than Spring Batch.

2) Did version 7 of Java EE implement JSR-352? Or did it just come out with the spec and developers have to implement it? Whereas Spring Batch has implemented it, saving developers coding time?


回答1:


Overall this question is both subjective (subquestion 1) and lacks basic research (subquestion 2). I'll answer subquestion 2 since its not subjective. JSR-352 is part of the EE7 specification, therefor any EE7 compliant application server will have an implementation of it. The same is true for any JSR which is part of an EE spec. For an application server to be EE compliant at a particular spec level it must have implementations of all the relevant specification which pass the relevant TCKs.

Here's an Oracle tech note describing JSR 352 in Glassfish 4 (the first of many EE7 complaint application servers).



来源:https://stackoverflow.com/questions/25630921/jsr-352-spring-batch-vs-java-ee

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!