Giter VIP home page Giter VIP logo

bboss-plugins's Introduction

bboss 插件工程

bboss-plugins project.包含kafka、log4j、spring、dubbo、activemq、word转pdf、pdf转swf项目,持久层hibernate/hibernate4插件

bboss hibernate插件工程

hihernate插件包含以下两个功能:

1.通过bboss初始化hibernate并加载hibernate o/r mapping文件

2.hibernate延迟加载对象序列化插件

bboss wordpdf插件工程

1.通过gretty gradle插件运行demo工程bboss-plugin-wordpdf-web

2.运行前先执行/bboss-plugins的install任务,编译构建所有插件模块:

cd bboss-plugins

gradle install

构建成功后,先启用gretty插件(注意:第一次构建工程,需要关闭gretty插件,默认关闭)

修改/bboss-plugins/gradle.properties中属性为true,即可启用插件:

enable_gretty=true

然后运行以下指令,启动tomcat和demo应用

gradle :bboss-plugin-wordpdf-web:tomcatStart

启动后可以在浏览器端访问以下地址:

http://localhost/bboss-plugin-wordpdf-web/wordpdf/wordpdfswftool.jsp

http://localhost/bboss-plugin-wordpdf-web/wordpdf/wordpdfswf.jsp

http://localhost/bboss-plugin-wordpdf-web/wordpdf/wordpdf.jsp

http://localhost/bboss-plugin-wordpdf-web/wordpdf/word.jsp

http://localhost/bboss-plugin-wordpdf-web/FlexPaper_2.0.3/index_ooo.html

注意:运行demo工程前,还需要安装liferoffice和swftool并启动soffice进程,安装方法请参考文档:[/bboss-plugin-wordpdf/文档转换部署文档.doc],

安装完毕后,修改配置文件/bboss-plugins/bboss-plugin-wordpdf-web/WebRoot/WEB-INF/bboss-wordpdf.xml中相关属性对应路径swftoolWorkDir(swftool安装目录)、officeHome(libreoffice安装目录)、templatedir(word模板所在目录),resultdir(转换文档存放目录):

<properties>
    <property name="/wordpdf/*.page"    		
		f:flashpaperWorkDir="D:\FlashPaper\FlashPaper2.2\"   
		f:templatedir="D:/d/workspace/bbossgroups/bboss-plugins/bboss-plugin-wordpdf"
		f:swftoolWorkDir="c:/environment/SWFTools/" 	
		f:officeHome = "c:/environment/LibreOffice 5"	
		f:resultdir="d:/test"
    	class="org.frameworkset.web.wordpdf.NewPrinterController"/>
</properties>

bboss dubbo插件工程

提供dubbo服务发布功能和dubbo服务消费者配置功能

License

The BBoss Framework is released under version 2.0 of the Apache License.

bboss-plugins's People

Contributors

yin-bp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.