java使用Guice需要做什么? 1 月,2 周 Questions & Answers 1815 我想学Guice。我使用eclipse。 下载什么?安装什么?在eclipse中如何使用guice? 谢谢
# 3 楼答案 您可以从以下installation guide for GuicePlugin开始(尽管该项目自2009年4月以来似乎并不十分活跃): peaberry是最新的,并带有“Guide for using the peaberry bundle with OSGi” 如果您不需要与Eclipse进行特殊集成,那么您所需要的就是Guice2.0 release,它在您的项目to get started的库中引用 alt text http://img682.imageshack.us/img682/2853/eclipseguice.png
# 1 楼答案
我想你可以去看看peaberry
http://code.google.com/p/peaberry/
# 2 楼答案
只需下载guice-2.0。从here压缩并添加guice-2.0。jar和aopalliance。jar到项目的类路径。使用Guice不需要任何特殊的东西
# 3 楼答案
您可以从以下installation guide for GuicePlugin开始(尽管该项目自2009年4月以来似乎并不十分活跃):
peaberry是最新的,并带有“Guide for using the peaberry bundle with OSGi”
如果您不需要与Eclipse进行特殊集成,那么您所需要的就是Guice2.0 release,它在您的项目to get started的库中引用
alt text http://img682.imageshack.us/img682/2853/eclipseguice.png