Pular para o conteúdo principal

Postagens

Mostrando postagens de novembro, 2016

Importing Work Item Handlers in jBPM using a custom service repository

We previously talked about creating a custom Work Item Handler and how to import it in the jBPM designer. The process is not simple, it requires some manual steps and it is error prone - even some users had problems as you can see in the post comment's section. jBPM 6.5 comes with a great new feature that makes easier to import services. In this post I will show you how to use this new feature. A very simple Work Item Handler Remember our hello world work item handler ? Let's clone it and install it on your local maven using mvn clean install Now create a directory on your installacation called repository. It should have a file with content "HelloWorld" and a child directory called HelloWorld. Inside this directory we should have a file named HelloWorld.wid with the following content: [   [     "name" : "HelloWorld",     "description" : "Prints hello World in the console",     "displayName" : "Hello ...

JBoss Modules with JavaFX

Anton Arhipov made a great post showing a Hello World app with JBoss module s. In his post comments, Ted Won created a "mavenized" version of his hello world. Since my friend Filipe Portes already made a great work by integrating JavaFX with OSGI , I decided to try jboss-modules  In this post I simply used Ted's project with JavaFX(with some modifications) and it worked great!   First obvious attempt:  Clone Ted's project:  git clone git@github.com:tedwon/hello-jboss-modules.git Import his maven project on an IDE. I used Eclipe ( File -> Import -> Existing Maven Project ) Let's develop now. Modify the Hello class to be a JavaFX application class: Now build the project. Go back to the   hello  directory in the command line and run mvn clean package Once the project is built, copy the new hello jar to the modules directory: cp hello/target/hello.jar  mods/org/jbugkorea/hello/main/   Cool, but if...