OFBiz application based on Spring Boot and Vaadin
- use OFBiz Dispatcher and Delegator as Spring managed beans
- ...
- Download https://github.com/yuri0x7c1/vaadin-test/releases/download/0.0.1-SNAPSHOT/apache-ofbiz-16.11.03_vaadin-test-0.0.1-SNAPSHOT.7z file
- Extract and run
gradlew ofbiz
- Go to https://localhost:8443/vaadin-test
- Download and unpack apache-ofbiz-16.11.xx from official OFBiz site http://ofbiz.apache.org/download.html
- Change spring-test dependency
compile 'org.springframework:spring-test:4.x.x.RELEASE
tocompile 'org.springframework:spring-test:4.3.9.RELEASE
in OFBiz build.gradle configuration file - Delete all applications except ecommerce from OFBiz specialpurpose directory and from component-load.xml configuration file
- Build OFBiz with command
gradlew build
- Create OFBiz component with command
gradlew createPlugin -PpluginId=vaadin-test
- Delete all files from OFBiz specialpurpose/vaadin-test/webapp/vaadin-test directory
- Change path to ofbiz.jar in pom.xml
/path/to/ofbiz/build/libs/ofbiz.jar
- Build vaadin-test application with command
mvn clean install package
- Copy vaadin-test/target/vaadin-test-0.0.1-SNAPSHOT directory content to OFBiz specialpurpose/vaadin-test/webapp/vaadin-test directory
- Go to installed OFBiz directory and load demo data with command
gradlew loadDefault
- Run OFBiz with command
gradlew ofbiz
and go to https://localhost:8443/vaadin-test