There are quite some tutorials around about building and exposing a RESTful Webservice, but some of them are outdated and make you wade through complex dependencies and tinkering with deployment descriptors and web.xml files. But using RESTeasy, the JBoss implementation that is fully compliant with the JAX-RS 2.0 JCP specification, and Eclipse you can build a simple webservice (“hello world”) with less than 10 lines of sourceode with annotations and no web.xml used in a few minutes and run it on Wildfly.
Lets build a webservice that creates random numbers.
/media/NetbeansProjects/Webservices/JiraDemo/build/generated-sources/jax-rpc/jiraws/JiraSoapService_deletePermissionScheme_Fault_SOAPSerializer.java:30: ns1_fault_QNAME is already defined in jiraws.JiraSoapService_deletePermissionScheme_Fault_SOAPSerializer
private static final javax.xml.namespace.QName ns1_fault_QNAME = new QName("http://xxxxxxx/rpc/soap/jirasoapservice-v2", "fault");
My temporary workaround: I create the Java application in Eclipse, add the WS there and import the project afterwards into NB. This works, but you loose the extra functions to handle WS in Netbeans. So on the long way, I hope someone can fix the plugin.
JIRA WS in Eclipse
JIRA WS in Eclipse
JIRA WS in Netbeans
I recommend playing with the sample code from below references.
I believe it makes no sense to buy a ~ 900.- SGD (3g, GPS), respectively a 500.- SGD (wifi only) device running Android 2.2 without any chance even to update to 2.3, such as the Galaxy Tab, the same time Galaxy is releasing already the new 3.0 based models. So how to find a cheap device that can compete with the Galaxy Tab ?
After buying one Android 10″ Tablet from DHGate.com without problems I decided to look for a second one, a 7″ device. Certainly not easy to find a good device among the many offers on the trading platform, but I was lucky enough to choose this PC-7006 1Ghz device for 223.- U$ (incl. shipping) from the dealer avatar2012:
I am evaluating a few RIA options to create front-ends that go beyond swing applications and can live outside a browser, but still being cross-platform. I focused on JavaFX for a while, but the agenda by Oracle was changed and they abandoned they JavaFX scripting and working on a new roadmap (more info here). Though it looks promising, we need to wait until 2011 to see the release 2.0.
Looking at alternatives I only see Flash/Flex/Air (all by Adobe), with Flex as a product that can be “enterprise’d”, means run with a JEE backend. Unfortunately Adobe forgot to keep Linux users on board with their latest version, Flashbuilder 4. The commercial product only runs on Mac and Windows, forcing the Linux community to connect the free SDK to another IDE or rather implementing their own plugin. To quote Adobe
Adobe will no longer be investing in the development of a version of Adobe® Flex® Builder™ or
Adobe Flash® Builder™ that runs on Linux operating systems.