Pular para o conteúdo principal

Postagens

Mostrando postagens com o rótulo microservice

The Image Classifier Microservice is public on Docker repository

Using fabric8 docker plugin and the project from A Java microservice for image classification using Thorntail and DeepLearning4J  post I was able to build a docker image and I pushed it to my Docker repository! In this post I am sharing the steps I followed to build the docker image and publish it. Next post I hope to show you how to run on Openshift with some real world application. Step 1: Build an image from the Thorntail project This is simple, you will need just a configuration in the maven descriptor, see the changes in the project pom.xml . Notice that I had to made a manual copy of a JAR file as described in Thorntail's issue #951 , however, I am probably missing something, that may not be a bug,. Let's wait to see what Thorntail team will provide as a feedback for that issue. I wasn't a bug, Bob just commented on the issue, the solution is not use the thin mode. For having help I pinged Thorntail users on #thorntail IRC channel in freenode and Ken Finin...

Thorntail development mode: no more redeploys

As a Java developer you know the pain which is having to redeploy the entire application when you want to test the code change you made. You know that there are IDE plugins that can help in this task, but these IDE plugins may only work in certain conditions, like deploying a WAR in an application server. In 2018 this may not be the case, you may not be working with an application server, you may be doing a fat JAR with all your stuff in there.Or you may not be even using an IDE. We already talked about Wildfly Swarm here and it was recently renamed to Thorntail  and it comes with an out of the box plugin that allows you to set a DEV MODE. In DEV MODE your Java server side code can magically be reloaded without any action on your side, you just have to compile the code, it  watches the class changes and reload the server! Yes, guys, this is Java and no redeploy it needed anymore. Thorntail hello world This is Thorntail To show this feature let's start from t...