Netbeans Rich Client Platform RCP application as a Web Service Client - java

I am trying to find out information about how to use the Netbeans Rich Client Platform (RCP) for a Web Service client (SOAP webservice) but i am struggling to find any tutorials or examples specifically for web service clients.
Are there any examples or guides anywhere?

This is from another post but it looks promising...
http://tdamir.blogspot.com/2008/03/netbeans-platform-based-web-service.html

Related

How to create web client for wshttpbinding WCF service in eclipse

I am a .net developer.I had created a WCF service having wshttpbinding.I want to consume this in a java application using eclipse. please provide suggestion or any other way to create client for WCF service having wshttpbinding in Java.
Netbeans Eclipse does not provide drag and drop features for WCF services using wshttpbinding security. If you really want to create a client for the same, you have to write your own classes which can adhere to wshttpbinding security protocols
Besides, I hope the link below can help you tremendously :
http://www.codeproject.com/Articles/777036/Consuming-WCF-Service-in-Java-Client

How to create RESTful service with GlassFish 4?

I've come from a C#.NET development, have developed and implemented RESTful services in Visual Studio with WCF hosted on IIS, but now I need guidance on one of my project requirement, to develop RESTful service with GlassFish Server Open Source Edition 4.0 (not Oracle GlassFish), found here:
https://glassfish.java.net/download.html
I have no idea about Java and GlassFish, so if any tutorial post or video provided will be highly appreciated. What all sorts of application software do I need to install and what will be the development environment? I mean every step involved in the process of developing in GlassFish.
Also is there any way to develop RESTful service in C#.net and deploy on GlassFish 4?
I've done REST web service with C# and with Java and, basically, both technologies are quite similar. I would recommend you to spend some time learning the servlets, understanding then and with your knowledge of web services you will find no problems to implement your service.
Additionally, yopu could also take a look to the Java technologies specifically implemented for REST like "JAX-RS: Java API for RESTful Web Services" (https://en.wikipedia.org/wiki/Java_API_for_RESTful_Web_Services). This may help you, but I would begin with the basics of a servlet and the servlet container (GlassFish).

Resource for learning the details of Java Web Services?

I'd like to build a Java Web Service using JAX-WS and GlassFish 3. All of the guides showing the basics of Web Services in Java using tools like wsgen and wsimport to generate a lot of the boilerplate code to implement the Web Service. Is this just how it is done or does anyone know of some resources that go into more of the details?
IF you want to learn from the very beginning:
Heavyweight Web Services (SOAP/RPC) with JAX-WS
SOAP Contract (WSDL) and the Contract-first vs Code-First debate
Lightweight Web Services (RestFul) with JAX-RS
RESTFul Contract (WADL)
Web Service Deployment (Frameworks + JAX-* deployed in some App Servers)
Web Service Clients (i.e. usage of wsimport)
Introduction to Web Service Security, Addressing, etc
I recommend you Java Web Services. Up and Running by Martin Kalin. After that, if you need to go further with one of these subjects, I suggest you to get any of the 'cookbooks' published by O'Reilly.
Good starter point is Official Java EE Tutorial.

How can I get started building a Facebook application with a Java server backend?

I want to utilise the Facebook JavaScript API in the client, but manage app logic and configuration on the server through REST web services. I've tried a lot of tutorials out there, but so far I haven't seen one that actually works.
What do you recommend as a server / web framework?
What technology should I use for my REST endpoints?
How can I host this application in a place where facebook will "see" it as a valid app?
I'm looking for a comprehensive tutorial or set of recommended practices to get started.
Thanks
I just so happened to create a blog series that takes you through EVERYTHING you will need. The articles:
Setup Eclipse (IDE) and JBoss AS7 (server)
Setup other JBoss Tools including Forge
Setup JAX-RS Web Service in Java using Forge (very easy!)
Setup account to Host the site for FREE with OpenShift
Setup an entire sample Facebook App
This blog series should be EXACTLY what you're looking for. You can find the first of three articles here:
http://ocpsoft.org/opensource/creating-a-facebook-app-setup-and-tool-installation/
I would recommend going with Spring Social module with has a good abstraction of the Facebook API.
You could then expose these services via REST with Spring Web Services or Jersey.
I am not sure about the hosting. Facebook should see it as a valid application no matter the host. Even your development computer/localhost cando it.

Can JAX-WS host "web" service in desktop program?

Can Java (JAX-WS) host "web" service in desktop program?
For example .net wcf can host services anywhere.
Tnx all.
This should be possible using the javax.xml.ws.Endpoint class (and the server from the JDK). You can learn more about this in the following article.
Another option would be to use an embeddable container like Jetty, to embed it in your desktop app and to deploy your JAX-WS web services on it.
As long as there is a tool to handle HTTP - yes. Jetty can be embedded in desktop applications. Here is some documentation about standalone http transport with cxf.

Categories

Resources