how to deploy a microservice writted by WSF4J?
like this: Navigate to the /bin directory and run the following command to start the MSF4J server. ./carbon.sh
where is the carbon.sh ?
MSF4J is a framework, and there is no server for that. Once you build your msf4j project, it creates a fat jar which can run alone, like this.
java -jar helloworld-*.jar
You can find the hello world sample here.
Edit: Instead of the fat jar, you also can make it an OSGi bundle, and run it on Carbon 5 kernel with msf4j feature installed in it. For that go inside resources directory, and build it as per the instructions, given in here. It will create a kernel server with msf4j in it. You can run that and deploy your microservice.