• Stars
    star
    231
  • Rank 173,434 (Top 4 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Showcase of deploying a Spring Boot application as a Windows Service

Spring Boot daemon

This project demonstrates how a Spring Boot application can be managed as a service.

Building

You need Java 1.8 and a bash-like shell. To build the project, invoke this command at the root of the project

$ ./mvnw clean install

Unix

A unix distribution is generated automatically and uses jsvc. It is added for demonstration purpose only as Spring Boot 1.3.x has better support for this

Windows

The windows distribution uses winsw.

Warning
You need to install the .NET framework on the target machine first.

To install the sample application as a service, extract the distribution somewhere and open a shell with administrative rights in that directory. Then invoke the following command

$ spring-boot-daemon-sample.exe install
Note

spring-boot-daemon-sample is the identifier of the service. You can control that via Maven properties in the spring-boot-daemon-sample project.

Once the service has been installed, you can start it the usual way, that is:

$ net start spring-boot-daemon-sample

The logs are available in the logs directory of the distribution.

License

Spring Boot Daemon is Open Source software released under the Apache 2.0 license.

More Repositories

1

spring-boot-master-auto-configuration

Sample application used during the "Master Spring Boot auto-configuration" talk
Java
218
star
2

spring-boot-4tw-uni

Sample app used for the "Intro to Spring Boot for the web tier" university session at Devoxx
Java
90
star
3

demo-multi-entity-managers

Demo how to use several entity managers with Spring Boot
Java
75
star
4

hello-service-auto-configuration

Sample project to showcase how you can build your own auto-configuration
Java
60
star
5

cfp-example

Sample app for the "10 ways to get super-productive with Spring Boot" talk
Java
59
star
6

demo-animated-banner

A very useful project to demonstrate animated gif support in Spring Boot 2
Java
59
star
7

demo-aot-native

Demo of a basic webapp using Ahead-Of-Time compilation
Java
53
star
8

demo-webflux-streaming

HTML
40
star
9

smart-meter

Java
35
star
10

spring-boot-loves-k8s

Spring Boot ❀️ k8s
Java
32
star
11

demo-custom-initializr

Demo for Creating "The Second Best Place on the Internet" with Spring Initializr
Java
18
star
12

spring-boot-intellij-idea-webinar

Sample application used during the "Spring Boot Support in IntelliJ IDEA 14.1" webinar
Java
12
star
13

spring-boot-intro-conference

Sample application used for a Spring Boot introduction (conference format)
Java
11
star
14

spring-cloud-intro-conference

Java
11
star
15

demo-properties-migrator

Showcase of the properties migrator
Java
9
star
16

vaadin-rest-demo

Vaadin with RestTemplate demo
Java
9
star
17

cds-log-parser

Java
9
star
18

scratches

Throwaway projects used for demos and bug reports.
Java
8
star
19

spring-boot-configuration-binding

Showcase Spring Boot configuration support
Java
8
star
20

spring-framework-native-samples

Java
7
star
21

demo-service-connection

Demo of the connection details abstraction in Spring Boot
Java
6
star
22

restaurant-application

SpringOne Platform 2017
Java
5
star
23

spring-boot-uni-devoxxfr

Sample applications used during the Spring Boot university session at Devoxx France 2015
Java
5
star
24

demo-vaadin-web-client

Java
4
star
25

snicoll.be

Source code for https://snicoll.be
CSS
4
star
26

snicoll.github.io

https://snicoll.be
HTML
4
star
27

presos

Presentations for conferences
Java
3
star
28

spring-boot-migration

Migration of a Spring Boot 1.x app to Spring Boot 2
Java
3
star
29

demo-vaadin-crud

Use Vaadin and Spring Data JPA to build a dynamic UI (extended version of the official guide)
Java
3
star
30

initializr-dashboard

Java
2
star
31

supercharger-importer

Import Supercharger metadata from supercharge.info in other tools
Java
2
star
32

demo-immutable-config-props

Java
1
star
33

spring41-devoxxfr

Demo app used during the "Modern Enterprise Java Architectures with Spring 4.1" session at Devoxx France 2015
Java
1
star
34

demo-tanzu-observability

Java
1
star
35

demo-spring-projects

Java
1
star
36

demo-conference-rating

Kotlin
1
star
37

dotfiles

various useful script
Shell
1
star