All Projects → zkoss → zkspringboot

zkoss / zkspringboot

Licence: Apache-2.0 license
ZK - Spring Boot integration

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects
CSS
56736 projects

Projects that are alternatives of or similar to zkspringboot

Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+163.16%)
Mutual labels:  starter, springboot
spark-spring-boot-starter
Spring Boot Starter for Apache Spark
Stars: ✭ 22 (-42.11%)
Mutual labels:  starter, springboot
spring-boot-mybatisplus-multiple-datasource
Spring Boot Mybatis Plus 多数据源
Stars: ✭ 64 (+68.42%)
Mutual labels:  springboot
WP-Gulp-Starter
A starter kit for developing WordPress themes and plugins with Gulp workflow.
Stars: ✭ 26 (-31.58%)
Mutual labels:  starter
service-api
Report portal. Main API Service
Stars: ✭ 35 (-7.89%)
Mutual labels:  springboot
LearnCS-ByYourself
CS 自学指南(Java编程语言、数据库、数据结构与算法、计算机组成原理、操作系统、计算机网络、英语、简历、面试)
Stars: ✭ 246 (+547.37%)
Mutual labels:  springboot
modern-webpack-starter
🏰 A modern JavaScript starter using Webpack 4. Made in a simple way - good for learning or starting a new project without having to rollout cli-auto-builders.
Stars: ✭ 42 (+10.53%)
Mutual labels:  starter
zk.nvim
Neovim plugin as a lightweight wrapper around https://github.com/mickael-menu/zk
Stars: ✭ 24 (-36.84%)
Mutual labels:  zk
nodejs-starter-template
You can use this template when you're starting a new project by using Node.js, Express, and Mongoose. It contains general concepts, you can customize it according to your needs.
Stars: ✭ 54 (+42.11%)
Mutual labels:  starter
botfuel-sample-starter
Starter bot using Botfuel Dialog
Stars: ✭ 24 (-36.84%)
Mutual labels:  starter
jxc-admin
一个前后端分离的简易进销存后台管理系统,基于SpringBoot和vue-element-admin实现,具备常见的后台管理功能,登录态使用session,使用基于资源url的简单权限控制。
Stars: ✭ 203 (+434.21%)
Mutual labels:  springboot
chat-server-release
[飞享]-服务端发布版本,支持TCP,Websocket链接,只需修改少量的配置即可快速部署,请严格按照项目部署目录配置环境,这样能保证你快速部署成功.详情请进入官网https://www.fsharechat.cn 查看具体的部署说明,技术支持商业合作请找官方技术支持
Stars: ✭ 28 (-26.32%)
Mutual labels:  springboot
ChuyunBlog
SpringBoot+MyBatis+Thymeleaf 博客系统
Stars: ✭ 147 (+286.84%)
Mutual labels:  springboot
node-typescript-starter
REST API using Node with typescript, KOA framework. TypeORM for SQL. Middlewares JWT (auth), CORS, Winston Logger, Error, Response
Stars: ✭ 19 (-50%)
Mutual labels:  starter
Spring-Boot-2
Spring Boot 2.x examples
Stars: ✭ 33 (-13.16%)
Mutual labels:  springboot
angular-open-source-starter
This is a starter project for creating open-source libraries for Angular. It is a full fledged Angular workspace with demo application and easy library addition. It is designed to be used for open-sourcing libraries on Github and has everything you'd need ready for CI, code coverage, SSR testing, StackBlitz demo deployment and more.
Stars: ✭ 212 (+457.89%)
Mutual labels:  starter
robert
基于SpringCloud的企业级微服务多租户系统、多语言的脚手架, 代码组件化、高内聚低耦合,代码简介,注释丰富容易上手,该项目包括用于开发分布式应用程序服务的必要组件,支持多应用程序访问,并使开发人员可以轻松地使用Spring Cloud编程模型来开发分布式应用程序服务。
Stars: ✭ 45 (+18.42%)
Mutual labels:  springboot
FullStack-Angular-SpringBoot
Customer Relationship Managment [Full-stack Web Development using Angular & SpringBoot (RestFull API)]
Stars: ✭ 48 (+26.32%)
Mutual labels:  springboot
graphql-compose-elasticsearch
Graphql App using Node with typescript, KOA framework and Elasticsearch
Stars: ✭ 40 (+5.26%)
Mutual labels:  starter
jsf-primefaces
JSF Primefaces Tutorials
Stars: ✭ 93 (+144.74%)
Mutual labels:  springboot

ZK - Spring Boot

License

(Adapted from Dirk's amazing zk-spring-boot-starter - Thanks a lot for the input and ideas!)

Getting started

Configuration options (for Spring Boot style application.properties)

Defaults as in ZkProperties.java

zk.springboot-packaging=jar

zk.homepage=
zk.zul-view-resolver-enabled=true
zk.zul-view-resolver-prefix=
zk.zul-view-resolver-suffix=.zul

zk.richlet-filter-mapping=

zk.websockets-enabled=true
zk.servlet3-push-enabled=true
zk.update-uri=/zkau
property default example(s) description
zk.springboot-packaging jar war/jar package as jar or war file
zk.homepage null home/main when set will setup a @GetMapping for "/" to return the configured view-name
zk.zul-view-resolver-enabled true true/false enable/disable InternalViewResolver for zul files
zk.zul-view-resolver-prefix empty /zul prefix prepended to a view name (i.e. a folder inside the web resource package on the classpath)
zk.zul-view-resolver-suffix .zul .zul/.zhtml usually .zul does what you need
zk.richlet-filter-mapping null /richlets/* filter-mapping string as the basepath for richlets
zk.websockets-enabled=true true true/false enable/disable websockets (available in ZK-EE)
zk.servlet3-push-enabled=true true true/false enable/disable servlet3 CometServerPush (available in ZK-EE)
zk.update-uri /zkau /mypath configure servlet path for ZK's Update Engine (rarely used)
zk.resource-uri null /zkres configure/enable separate servlet path for ZK's Resource Engine (since ZK 9.5.0)

zk.homepage

Shortcut configuration to enable a Spring MVC Controller with a @GetMapping for the root path '/' returning the configured view name. (disabled by default). The default zul-view-resolver config will prepend the the servlet mapping for ZK's update engine (default /zkau) and append the .zul-extension to locate the zul file in your application.

zk.zul-view-resolver-*

Defines a simple InternalViewResolver resolving view names to zul files inside the class-web package (not required but still possible for war packaging)

The defaults above have the following effect, given the get mapping:

	@GetMapping("/demo")
	public String demo() {
		return "views/demo";
	}

Resolves to /zkau/web/views/demo.zul ZK's UpdateServlet will locate the file on the classpath e.g. in src/main/resources/web/views/demo.zul A configured prefix e.g. /myprefix will be inserted before the view name: /zkau/web[/myprefix]/views/demo.zul

zk.richlet-filter-mapping

Enables ZK's RichletFilter. The value has to be a servlet filter mapping such as: /richlet/* Requires additional richlet-mappings configured in zk.xml.

zk.resource-uri

Registers and enables ZK's Resource Engine. When packging as war file this will also set the necessary init-parameter for the ZK Loader Servlet

Using springboot-devtools (restart)

When using the restart feature of spring-boot-devtools make sure to include the ZK jars in the restart process by customizing the Restart Classloader.

Create a file on the classpath:

src/main/resources/META-INF/spring-devtools.properties

restart.include.zklibs=/z[\\w]+-[\\w\\d-\.]+\.jar

This regex will match all jar files matching the expression e.g. zk-9.5.1.jar or zul-9.5.1.jar etc.

Reload zul change

add spring.profiles.active=dev in application.properties. After modifying a zul, re-build it, then your browser can load the latest zul. See Triggering a restart

Debug Spring Boot Application

Because a breakpoint doesn't stop when running with Maven springboot:run, you can run an application with @SpringBootApplication class as a Java application in debug mode.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].