文件名称:googleguice
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
日前Google推出了他自己的轻量级依赖注入(dependency inject)框架——Guice。Guice依靠Java新的Annotation特性,取代了XML的配置,并提供了灵活的注入方法,可以注入到成员、参数、方法等多个位置。在它的官方页面上有一份新手入门的文档,另外可以获取相关信息的就是两个人的blog链接。 初步试用了一下,感觉Guice的Annotation机制和Spring的XML配置功能上基本是完全等价的,只是一个是写在代码中,一个是写在配置文件中,这个也是日前JavaEye上面关于Annotation的讨论的核心——Annotation的引入究竟是倒退还是进步-googleguice
(系统自动生成,下载前可以参看下载内容)
下载文件列表
googleguice\.classpath
...........\.mymetadata
...........\.project
...........\.settings\.jsdtscope
...........\.........\org.eclipse.jdt.core.prefs
...........\.........\org.eclipse.wst.jsdt.ui.superType.container
...........\.........\org.eclipse.wst.jsdt.ui.superType.name
...........\src\com\bcw\test\Client.java
...........\...\...\...\....\Client2.java
...........\...\...\...\....\Client3.java
...........\...\...\...\....\HelloGuiceImpl.java
...........\...\...\...\....\IHelloGuice.java
...........\...\...\...\....\TestHelloGuice.java
...........\WebRoot\index.jsp
...........\.......\META-INF\MANIFEST.MF
...........\.......\WEB-INF\classes\com\bcw\test\Client.class
...........\.......\.......\.......\...\...\....\Client2.class
...........\.......\.......\.......\...\...\....\Client3.class
...........\.......\.......\.......\...\...\....\HelloGuiceImpl.class
...........\.......\.......\.......\...\...\....\IHelloGuice.class
...........\.......\.......\.......\...\...\....\TestHelloGuice.class
...........\.......\.......\web.xml
...........\.......\.......\classes\com\bcw\test
...........\.......\.......\.......\...\bcw
...........\src\com\bcw\test
...........\WebRoot\WEB-INF\classes\com
...........\src\com\bcw
...........\WebRoot\WEB-INF\classes
...........\.......\.......\lib
...........\src\com
...........\WebRoot\META-INF
...........\.......\WEB-INF
...........\.myeclipse
...........\.settings
...........\src
...........\WebRoot
googleguice
...........\.mymetadata
...........\.project
...........\.settings\.jsdtscope
...........\.........\org.eclipse.jdt.core.prefs
...........\.........\org.eclipse.wst.jsdt.ui.superType.container
...........\.........\org.eclipse.wst.jsdt.ui.superType.name
...........\src\com\bcw\test\Client.java
...........\...\...\...\....\Client2.java
...........\...\...\...\....\Client3.java
...........\...\...\...\....\HelloGuiceImpl.java
...........\...\...\...\....\IHelloGuice.java
...........\...\...\...\....\TestHelloGuice.java
...........\WebRoot\index.jsp
...........\.......\META-INF\MANIFEST.MF
...........\.......\WEB-INF\classes\com\bcw\test\Client.class
...........\.......\.......\.......\...\...\....\Client2.class
...........\.......\.......\.......\...\...\....\Client3.class
...........\.......\.......\.......\...\...\....\HelloGuiceImpl.class
...........\.......\.......\.......\...\...\....\IHelloGuice.class
...........\.......\.......\.......\...\...\....\TestHelloGuice.class
...........\.......\.......\web.xml
...........\.......\.......\classes\com\bcw\test
...........\.......\.......\.......\...\bcw
...........\src\com\bcw\test
...........\WebRoot\WEB-INF\classes\com
...........\src\com\bcw
...........\WebRoot\WEB-INF\classes
...........\.......\.......\lib
...........\src\com
...........\WebRoot\META-INF
...........\.......\WEB-INF
...........\.myeclipse
...........\.settings
...........\src
...........\WebRoot
googleguice