Posts tagged: osgi

在spring-dm环境下增加hibernate绑定

在spring-dm(1.1.2)环境下增加hibernate(3.2.6 ga)绑定的步骤:    发送文章为PDF   

星期四 十一月 20th, 2008 in , , , , , , , | No Comments »

pax-construct创建新的绑定

通过pax-create-bundle创建一个新的绑定: pax-create-bundle -n your_bundle_name -p com.easymorse.marshal    发送文章为PDF   

星期六 十一月 8th, 2008 in , , , | No Comments »

Pax Runner设计

翻译自:Pax Runner – Design pax runner由三种类型组件组成:处理器、扫描器和平台。这三种类型的组件有引擎组装在一起。任何组件均可在核心引擎上独立使用。    发送文章为PDF   

星期五 十一月 7th, 2008 in , , , | No Comments »

equinox指定config.ini文件路径

如果使用pax-run,生成的equinox生成在同名目录下,而equinox默认是configuration目录。需要指定一下: java -jar bundles\org.eclipse.osgi_3.4.2.R34x_v20080826-123 0.jar -console -configuration equinox      发送文章为PDF   

星期三 十一月 5th, 2008 in , , , , , | No Comments »

通过pax-construct创建spring-dm项目

通过pax-construct创建spring-dm项目,因为借助了maven,所以特别方便。有关pax-construct的准备工作,见:通过pax-construct创建osgi项目。 创建项目: pax-create-project -g com.easymorse.marshal -a spring    发送文章为PDF   

星期二 十一月 4th, 2008 in , , , , , , , | 1 Comment »

通过pax-construct创建osgi项目

  pax项目,是集成osgi的绑定和工具的集合,construct子项目用于快速创建、构建、管理和部署各种类型的绑定。网址: http://www.ops4j.org/projects/pax/construct/ 日志引用通过pax-construct创建spring-dm项目    发送文章为PDF   

星期一 十一月 3rd, 2008 in , , , , | No Comments »

远程访问osgi服务器的方法和工具

如果使用eclipse的equinox,最简单的办法是增加telnet端口参数: -console 23    发送文章为PDF   

星期五 十月 31st, 2008 in , , | No Comments »

spring-dm开发简单的web绑定

spring-dm1.1可支持开发web绑定。基本概念可参考:spring-dm的web支持。以下将在maven创建spring-dm项目和在命令行下运行spring-dm的简单方法涉及的项目基础上,增加web绑定和相关的web支持。 日志引用创建spring-dm和maven驱动的简单webapp    发送文章为PDF   

星期五 十月 31st, 2008 in , , , , , | No Comments »

在命令行下运行spring-dm的简单方法

在spring-dm开发简单的绑定中介绍了编写spring绑定的方法。运行在eclipse环境中。如果需要单独部署,可这样做(不是最优方案,是最简单的): 日志引用spring-dm开发简单的web绑定    发送文章为PDF   

星期一 十月 27th, 2008 in , , , , , , | No Comments »

maven创建spring-dm项目

通过maven的spring-osgi-bundle-archetype可快速创建maven项目,比如: mvn archetype:create   -DarchetypeGroupId=org.springframework.osgi   -DarchetypeArtifactId=spring-osgi-bundle-archetype  -DarchetypeVersion=1.1.0   -DgroupId=org.foo  -DartifactId=org.foo.my-springdm-bundle -Dversion=0.1 日志引用spring-dm开发简单的web绑定    发送文章为PDF   

星期一 十月 27th, 2008 in , , , , , , | No Comments »