[list]
[*]1、安装GlassFish v3(略),下载Equinox、Spring DM 2.0M1
[*]2、设置环境变量 set GlassFish_Platform Equinox
[*]3、拷贝Equinox osgi包到{GlassFish Intall Path}/glassfish/osgi/equinox目录下
[quote]
org.eclipse.osgi-3.5.1.R35x_v20090827.jar
[/quote]
[*]4、拷贝下列包到,{GlassFish Intall Path}/glassfish/modules/autostart目录下
[quote]
spring-osgi-extender-2.0.0.M1.jar
spring-osgi-core-2.0.0.M1.jar
org.springframework.beans_3.0.0.RELEASE.jar
[/quote]
[*]5、在{GlassFish Intall Path}/glassfish/modules目录下创建一个Spring目录,并拷贝下列Bundle到该目录
[quote]
com.springsource.net.sf.cglib-2.1.3.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.org.objectweb.asm-2.2.3.jar
com.springsource.slf4j.api-1.5.6.jar
com.springsource.slf4j.log4j-1.5.6.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.slf4j.org.apache.commons.logging-1.5.6.jar
org.springframework.aop_3.0.0.RELEASE.jar
org.springframework.asm_3.0.0.RELEASE.jar
org.springframework.context.support_3.0.0.RELEASE.jar
org.springframework.context_3.0.0.RELEASE.jar
org.springframework.core_3.0.0.RELEASE.jar
org.springframework.expression_3.0.0.RELEASE.jar
spring-osgi-io-2.0.0.M1.jar
[/quote]
[*]6、启动:执行{GlassFish Intall Path}/glassfish/bin/startserv.bat
[*]7、部署Demo bundle:执行 asadmin deploy --type osgi spring-dm-example.jar
[/list]
OK
[*]1、安装GlassFish v3(略),下载Equinox、Spring DM 2.0M1
[*]2、设置环境变量 set GlassFish_Platform Equinox
[*]3、拷贝Equinox osgi包到{GlassFish Intall Path}/glassfish/osgi/equinox目录下
[quote]
org.eclipse.osgi-3.5.1.R35x_v20090827.jar
[/quote]
[*]4、拷贝下列包到,{GlassFish Intall Path}/glassfish/modules/autostart目录下
[quote]
spring-osgi-extender-2.0.0.M1.jar
spring-osgi-core-2.0.0.M1.jar
org.springframework.beans_3.0.0.RELEASE.jar
[/quote]
[*]5、在{GlassFish Intall Path}/glassfish/modules目录下创建一个Spring目录,并拷贝下列Bundle到该目录
[quote]
com.springsource.net.sf.cglib-2.1.3.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.org.objectweb.asm-2.2.3.jar
com.springsource.slf4j.api-1.5.6.jar
com.springsource.slf4j.log4j-1.5.6.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.slf4j.org.apache.commons.logging-1.5.6.jar
org.springframework.aop_3.0.0.RELEASE.jar
org.springframework.asm_3.0.0.RELEASE.jar
org.springframework.context.support_3.0.0.RELEASE.jar
org.springframework.context_3.0.0.RELEASE.jar
org.springframework.core_3.0.0.RELEASE.jar
org.springframework.expression_3.0.0.RELEASE.jar
spring-osgi-io-2.0.0.M1.jar
[/quote]
[*]6、启动:执行{GlassFish Intall Path}/glassfish/bin/startserv.bat
[*]7、部署Demo bundle:执行 asadmin deploy --type osgi spring-dm-example.jar
[/list]
OK