Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

It happens quite often that you quickly want to get something running with OpenUI5 and OData, quickly smack it on a web-server or cloud instance, but just don't look forward building the project completely start from scratch. Think hackathons, in which time is very limited already... That's when an OpenUI5 boilerplate would come in handy.

That's why I have compiled a relatively small application that connects to a database (mysql by default), builds to a jar, allows you to model your data using JPA (and the JPA diagram editor), exposes the model through OData and has a tiny OpenUI5 application that uses the OData and shows the content of the database.

For convenience, a base-diagram for the JPA diagram editor has been provided as well. Once the datamodel is finished, the application with update the data model of the connected database on first run.

By default, the application comes with just one entity: Members, that is automatically populated with a few names from

Once the application is running, you can browse to http://localhost:8080 to run the sample OpenUI5 application that is using the OData service. The service itself is available from http://localhost:8080/odata.svc.

The only thing you need for this, is a local install of Maven and Java 1.8, once you have that just clone the github repository to your computer:

git clone

Modify file "/src/main/resources/" to connect to your own database.

And run it:

mvn spring-boot:run

On first run, the application will introspect the database that it has been connected to, and will make sure the database is in sync with it's internal model. If necessary tables will be created or altered.

And with that, you're ready to run the OpenUI sample app from http://localhost:8080/openui5-boilerplate

Contributions are welcome. Just fork it and submit a pull request.

Related links:

Labels in this area