All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources.README.md Maven / Gradle / Ivy

There is a newer version: 2.8.20
Show newest version
## Welcome to use ServiceComb Java Chassis
This project(module) is generate by *org.apache.servicecomb.archetypes:business-service-springmvc-archetype*, it use **springmvc provider** to develop service producer.  

### More works can be done further:
1. Modify "HelloImpl", add your business service logic, or create some new producers to provide your services. More details can be found : http://servicecomb.apache.org/users/develop-with-springmvc/
2. Modify "microservice.yaml", change APPLICATION_ID, service_description.name, version, and service center address, endpoints publish address etc. More details can be found : http://servicecomb.apache.org/users/service-definition/
3. Modify setting value of "mainClass" in pom.xml for package.

### Package your service
Under project(module) root folder, run 
```bash
mvn package
```
Then you can get outputs in target folder:   
- lib : contains all dependencies jars   
- xxxxxx-{version}.jar   
```bash
java -jar xxxxxx-{version}.jar
```
*Notice: If you need to modify config setting in "microservice.yaml" like service center address but don't want repackage the executable jar, **you can direct place a new "microservice.yaml" file in same folder, then settings will be overridden.***




© 2015 - 2024 Weber Informatics LLC | Privacy Policy