Appengine actually allows you to spawn new threads, as long as you follow the rules defined in the docs.
Here is how I did it,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Looking for an example project using gradle and appengine? I have used the gae plugin for gradle in this simple webapp and made the sourcecode available for you. Follow this link and build with gradle 1.6 .
Buy this dongle from dealextreme. This dongle works out of the box with Raspbian “wheezy” and needs no additional drivers. The chip is the realtek 8188 chip and works perfectly with linux.
Edit /etc/networking/interfaces according to the gist below. Replace network name and password with your own:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The plain simple way to generate java from wsdl is this: add a javaexec task to your wsdl and run. The following code snippet will help you out:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The "wsdlsToGenerate" contains all the arguments for the org.apache.cxf.tools.wsdlto.WsdlToJava class, in the right order.
However, if you have a project like I have with 58 different wsdls, this approach is very time consuming. This is because every time createJavaFromWsdl() is called, a new java process will be started, executed and stopped. Now you have 58 sequential java processes running in your build script(!).
Instead, why not run everything in the same java process? This can be done with code snippet 2:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters