The i-Technology Media!
Register | Log in
   
 
.NET  ·  AJAX  ·  CLOUD  ·  ECLIPSE  ·  FLEX  ·  OPEN WEB  ·  iPHONE  ·  JAVA  ·  LINUX  ·  OPEN SOURCE  ·  ORACLE  ·  PBDJ  ·  SEARCH  ·  SILVERLIGHT  ·  SOA  ·  VIRTUALIZATION  ·  WEB 2.0  ·  WIRELESS  ·  XML
Comments
Spring and Java EE 5 (PART 2)
By Debu Panda
jcl wrote: Hi,thank you for this tutorial I'm interested on the first way to intregate Spring and EJB3. I have tried it in a example project buy it doesn't run. I'm searching since many time a solution,but nothing. I have posted on Spring forum,but no one seems can help me. I appreciate if you can help me.Thank you Antonio
Nov. 24, 2009 01:16 PM EST
Cloud Expo on Google News
Did you read today's front page stories & breaking news?


2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts

2009 East
GOLD SPONSORS:
CA
Get Your Transactions Under Control: SOA Performance Management
Software AG
Performance Driven Adoption: The Secret to Advancing SOA
Intel
The Evolving SOA Appliance: 3 Game-Changing Innovations
SILVER SPONSOR:
Denodo
Data Mashups: Deliver Your Project Faster with Virtualized Data Services Across Internal & External Sources
POWER PANELS:
The Business Value of Service Orientation
Driving Profitability Through User Experience
Click For 2008 West
Event Webcasts
Live Google News by SYS-CON!
Top Three Links You Must Click On


Web Services
PowerBuilder .NET Web Services with Various Front Ends
A work in progress

By: Arthur Hefti
Nov. 26, 2008 11:10 AM
  • 1
  • 2
  • 3
  • next ›
  • last »

Last year I wrote an article in PBDJ describing an ASP.NET project that was done with DataWindow.NET in the browser ("Prognos" Volume 14, Issue 4) and PowerBuilder Web Services in the back end. The front end consisted of an intro page, two data entry pages, and one page with the result.

The front end was rewritten in a couple of other technologies to test different ways to create browser-based applications. This article covers solutions that run in different browsers and on different operation systems. I will also look at PowerBuilder 11.2 Webform although it is IE-only. At the end I will cover PowerBuilder WinForm and PocketBuilder as they could be solutions for applications that are not always connected.

This article doesn't cover all the possible techniques (Appeon comes to mind if you're fine with an IE-only solution or WPF XBAP used for no-touch deployment of Windows applications) and doesn't cover a rewrite of the ASP.NET solution using third-party components.

The article shows the invocation of the help Web Service from one single button. The help Web Service takes three arguments (Configuration, Language, and Help Id). My presentation at TechWave 2008, for example, goes beyond this and covers passing XML data to a Web Service. The samples are available in the sandbox of our Web site. A list of links is provided at the end of the article.

OpenLaszlo 4.0
OpenLaszlo is an open source platform for developing and running RIAs. It's backed primarily by the company Laszlo Systems. The programming language is LZX (XML and JavaScript). Applications can either be compiled into a single SWF with some limitations (for example, no Web Services) or to Java servlets that generate the code during runtime on-the-fly. Besides generating a Flash GUI, OpenLaszo supports the generation of DHTML front ends. Development in OpenLaszlo can be done in different IDEs. My favorite is the spket plug-in for Eclipse. However there's no graphical designer for the GUI.

First, I create the application consisting of a window and three tab pages (no intro page). I create a new project and a new file called prognosclient.lzx. I only place one label, field, and help button on the first tab page (see Figure 1). The help button is named that way so that, by passing it to the help Web Service, the appropriate help text is returned. Since I need to display the help information I also create a helpwindow.

As a next step I define the SOAP interface for accessing the Web Service. It consists of a SOAP element referencing the wsdl with the wsdl attribute. For each function of the Web Service a remotecall element has to be defined with an ondata handler that is called when data is returned from the Web Service. In our sample the returned data is shown in the help window. The arguments are passed to the Web Service as XML strings. I create a createHelpXML function that takes as an argument the ID of the help item and returns the XML string to me. The only thing left is calling the help when clicking on the info button. This will be achieved by an onclick handler that calls the createHelpXML and passes it to the Web Service (see Listing 1).

  • 1
  • 2
  • 3
  • next ›
  • last »
Published Nov. 26, 2008— Reads 3,645
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About Arthur Hefti
Arthur Hefti is CEO of CATsoft Development GmbH in Zurich. He has been working with PowerBuilder since version 3 and taught dozens of PowerBuilder training classes. He and his team create custom-made client/server and Web applications using XML, Web Services, and encryption.

Add Your Feedback

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers

ADS BY GOOGLE

Breaking Java News
Silver Standard Resources Inc.: Sale of Canadian ABCP Notes
Omnitech Aims to Promote its Patented Framework in Test Automation Services
Pari Beauty Professional Artistry
New Online Key West Art & Gift Store Viakeywest.com Opens for Business
DealTaker First to Deliver Black Friday Circulars to iPhones & iPod Touches
New Holiday Movie Traditions Are Lighting up Home Theaters, According to Blockbuster
Muscle Flex Provides Details for Its Initial Television Media Advertising Campaign for the Beagle StepFit Pedometer
MoneyTV With Donald Baillargeon, 11/25
"Science of the Small" Spurs $1 Billion in Capital Investment for New North American Nano Labs, an Industrial Info News Alert

ADVERTISE   |   MAGAZINE SUBSCRIPTIONS   |   FREE BREAKING-NEWSLETTERS!   |   SYS-CON.TV   |   BLOG-N-PLAY!   |   WEBCAST   |   EDUCATION   |   RESEARCH

.NET Developer's Journal - .NETDJ   |   ColdFusion Developer's Journal - CFDJ   |   Eclipse Developer's Journal - EDJ   |   Enterprise Open Source Magazine - EOS
Open Web Developer's Journal - OPENWEB   |   iPhone Developer's Journal - iPHONE   |   Virtualization - Virtualization   |   Java Developer's Journal - JDJ   |   Linux.SYS-CON.com
PowerBuilder Developer's Journal - PBDJ   |   SEO / SEM Journal - SJ   |   SOAWorld Magazine - SOAWM   |   IT Solutions Guide - ITSG   |   Symbian Developer's Journal - SDJ
WebLogic Developer's Journal - WLDJ   |   WebSphere Journal - WJ   |   Wireless Business & Technology - WBT   |   XML-Journal - XMLJ   |   Internet Video - iTV
Flex Developer's Journal - Flex   |   AJAXWorld Magazine - AWM   |   Silverlight Developer's Journal - SLDJ   |   PHP.SYS-CON.com   |   Web 2.0 Journal - WEB2
Apache   |   CMS   |   CRM   |   HP   |   Oracle Journal   |   Perl   |   Python   |   Red Hat   |   Ruby on Rails   |   SAP   |   SaaS

SYS-CON MEDIA:   ABOUT US   |   CONTACT US   |   COMPANY NEWS   |   CAREERS   |   SITE MAP
SYS-CON EVENTS:   |  AJAXWorld Conference & Expo  |  iPhone Developer Summit  |  Cloud Computing Conference & Expo  |  SOA World Conference & Expo  |  Virtualization Conference & Expo
INTERNATIONAL SITES:   India  |  U.K.  |  Canada  |  Germany  |  France  |  Australia  |  Italy  |  Spain  |  Netherlands  |  Brazil  |  Belgium
 Terms of Use & Our Privacy Statement     About Newsfeeds / Video Feeds
Copyright ©1994-2008 SYS-CON Publications, Inc. All Rights Reserved. All marks are trademarks of SYS-CON Media.
Reproduction in whole or in part in any form or medium without express written permission of SYS-CON Publications, Inc. is prohibited.
 
close this window