BlazeDS 和 Spring 至少需要多少 .jar?

发布于 2024-07-25 01:05:47 字数 1702 浏览 6 评论 0原文

我已经成功地使用 Spring 和 Eclipse 在 Eclipse 中创建了一个小项目。 BlazeDS 集成。 一切正常,我的 AMF 请求已通过,一切顺利。

我只是想知道所需的最低 .jar 是多少。 目前,我有一个清单,其中包含使一个非常基本的应用程序工作所需的超过 35 个 jar。

感觉就像我必须包含这么多,而做的却很少。 我可以包含一些集体库来代替这些长长的 .jar 列表吗?

名单如下:

<前><代码> |__antlr-3.0.1.jar |__aopalliance.jar |__aspectjrt.jar |__aspectjweaver.jar |__backport-util-concurrent.jar |__cglib-nodep-2.1_3.jar |__commons-codec-1.3.jar |__commons-httpclient-3.0.1.jar |__commons-logging.jar |__concurrent.jar |__flex-messaging-common.jar |__flex-messaging-core.jar |__flex-messaging-opt.jar |__flex-messaging-proxy.jar |__flex-messaging-remoting.jar |__h2.jar |__jackson-core-asl-0.9.9-6.jar |__org.springframework.aop-3.0.0.M3.jar |__org.springframework.asm-3.0.0.M3.jar |__org.springframework.aspects-3.0.0.M3.jar |__org.springframework.beans-3.0.0.M3.jar |__org.springframework.context.support-3.0.0.M3.jar |__org.springframework.context-3.0.0.M3.jar |__org.springframework.core-3.0.0.M3.jar |__org.springframework.expression-3.0.0.M3.jar |__org.springframework.flex-1.0.0.RC1.jar |__org.springframework.jdbc-3.0.0.M3.jar |__org.springframework.jms-3.0.0.M3.jar |__org.springframework.transaction-3.0.0.M3.jar |__org.springframework.web.servlet-3.0.0.M3.jar |__org.springframework.web-3.0.0.M3.jar |__spring-security-acl-2.0.4.jar |__spring-security-catalina-2.0.4.jar |__spring-security-core-2.0.4.jar |__spring-security-core-tiger-2.0.4.jar |__spring-security-taglibs-2.0.4.jar |__xalan.jar

I've managed to create a small project in Eclipse using the Spring & BlazeDS integration. Everything is working fine, my AMF requests are coming through and all is well.

I just want to know what the minimum required .jar's would be. At the moment I have a list of more than 35 jars required to make just a very basic application work.

It just feels like I had to include so much, to do so little. Are there collective libraries that I could include instead of these long lists of .jars?

The list is as follows:

  |__antlr-3.0.1.jar
  |__aopalliance.jar
  |__aspectjrt.jar
  |__aspectjweaver.jar
  |__backport-util-concurrent.jar
  |__cglib-nodep-2.1_3.jar
  |__commons-codec-1.3.jar
  |__commons-httpclient-3.0.1.jar
  |__commons-logging.jar
  |__concurrent.jar
  |__flex-messaging-common.jar
  |__flex-messaging-core.jar
  |__flex-messaging-opt.jar
  |__flex-messaging-proxy.jar
  |__flex-messaging-remoting.jar
  |__h2.jar
  |__jackson-core-asl-0.9.9-6.jar
  |__org.springframework.aop-3.0.0.M3.jar
  |__org.springframework.asm-3.0.0.M3.jar
  |__org.springframework.aspects-3.0.0.M3.jar
  |__org.springframework.beans-3.0.0.M3.jar
  |__org.springframework.context.support-3.0.0.M3.jar
  |__org.springframework.context-3.0.0.M3.jar
  |__org.springframework.core-3.0.0.M3.jar
  |__org.springframework.expression-3.0.0.M3.jar
  |__org.springframework.flex-1.0.0.RC1.jar
  |__org.springframework.jdbc-3.0.0.M3.jar
  |__org.springframework.jms-3.0.0.M3.jar
  |__org.springframework.transaction-3.0.0.M3.jar
  |__org.springframework.web.servlet-3.0.0.M3.jar
  |__org.springframework.web-3.0.0.M3.jar
  |__spring-security-acl-2.0.4.jar
  |__spring-security-catalina-2.0.4.jar
  |__spring-security-core-2.0.4.jar
  |__spring-security-core-tiger-2.0.4.jar
  |__spring-security-taglibs-2.0.4.jar
  |__xalan.jar

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

东北女汉子 2024-08-01 01:05:48

我们不能确定,但​​我们可以给你建议:

  • antlr 可能可以走。 Spring 将其自己的副本捆绑在自己的 JAR 中
  • aopalliance - 同样的原因
  • aspectj - 您是否使用Spring 中的aspectJ? 如果没有,就放弃它。
  • 向后移植 - 可能可以摆脱它,尝试看看
  • cglib - 一些应用程序服务器已经有这个,所以你也许能够从应用程序
  • commons-codec 摆脱它 - 可能不需要
  • commons-httpclient - 应该没有必要
  • commons-logging - 已经包含在大多数应用程序服务器中,不需要
  • 并发.jar - 这是 java5 并发 API 的旧版本,摆脱它。
  • h2.jar - 不知道这是什么
  • jackson - 这是一个 JSON 库。 如果您不使用 JSON,则不需要此
  • org.springframework.aop - 转储它,除非您使用 AOP
  • org.springframework.aspects - 转储它,除非您使用 AOP
  • org.springframework.jdbc - 转储它除非你使用 JDBC
  • org.springframework.jms - 转储它,除非你使用 JMS
  • org.springframework.transaction - 转储它,除非你使用事务
  • spring-security - 你在使用这个东西吗?
  • xalan - 你几乎肯定应该转储这个,应用程序服务器可能已经有副本

所有这些建议都带有健康警告。

We can't tell for sure, but we can give you suggests:

  • antlr can probably go. Spring bundles its own copy in its own JARs
  • aopalliance - same reason
  • aspectj - are you using aspectJ from Spring? If not, ditch it.
  • backport - might be ok to get rid of it, try and see
  • cglib - some appservers already have this, so you might be able to get rid of it from the app
  • commons-codec - probably not needed
  • commons-httpclient - shouldn't necessary
  • commons-logging - already included in most appservers, shouldn't be needed
  • concurrent.jar - this is an old version of the java5 concurrent API, get rid of it.
  • h2.jar - no idea what this is
  • jackson - this is a JSON library. If you don't use JSON, you don't need this
  • org.springframework.aop - dump it unless you're using AOP
  • org.springframework.aspects - dump it unless you're using AOP
  • org.springframework.jdbc - dump it unless you're using JDBC
  • org.springframework.jms - dump it unless you're using JMS
  • org.springframework.transaction - dump it unless you're using transactions
  • spring-security - are you using this stuff?
  • xalan - you should almost certainly dump this, the app server probably already has copy

All of these suggestions come with a health warning.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文