Binding Swing UI to a Web Service - the 2 minute demo

We don't always have time to document each combination of technologies that can be used with the ADF framework, so I guess for some people this might be a surprise, but ADF can also be used to simplify your interaction with Web services as well as simplify binding Swing UIs to data controls.

In this two minutes demo I show you how to build a simple Swing application that can invoke a web service (that I found on Xmethods.net) and get the results back. And you don't need to write any code manually to get it working. (press F-11 once in the demo page, to get the full screen view).

If you like this but are more interested in how would I build a Swing UI to fron a DB check out this demo.
And if you like the Web services concept but are more interested in JSF front end check out this demo.

[update] - this got broken in newer 10.1.3.* versions - but there is a patch that fix it - you can get it from Oracle support referring to bug 5878326

Comments:

Shay, If the method of webservice returns LinkedList or Array of Object, how do we bind it by using ADF Data Control? I've seen Susan Duncan's blog, but still helpless. Thanks

Posted by Yose on March 13, 2007 at 10:52 PM PDT #

Can the UI be generated at runtime by invoking a web service that returns
screen metadata?? any help in this!!

Posted by Ishtek on December 23, 2011 at 03:36 AM PST #

ishtek - there is no built in declarative way of doing this, so you'll need to code something like this manually.

Posted by shay on December 23, 2011 at 03:42 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today