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


.NET
Sybase TechWave 2007: How to Develop a .NET Client/Server Application with PowerBuilder
PowerBuilder & EAServer Bonded Together

By: Jian Yang
Aug. 9, 2007 01:15 PM
  • 1
  • 2
  • next ›
  • last »

This article is based on my presentation at TechWave 2007 and is intended for the beginner or moderately experienced PowerBuilder developer. I hope to share some of the useful information I've picked up as an application developer using PowerBuilder and EAServer.

I work on Sybase's Enterprise Application Server (EAServer) team. We need to make sure that our server works with other Sybase products such as PowerBuilder. PowerBuilder 11 introduces .NET application development. EAServer 6.1 also has .NET client ORB support.

PowerBuilder & EAServer Work Great Together
EAServer's component target is built in as a PowerBuilder target (see Figure 1). Once you create a target and set up an application server profile, you can immediately deploy your PowerBuilder NVOs to run on EAServer. This is an easy way to develop and implement a robust application that uses J2EE EJB and JMS.

EAServer is a J2EE-certified application server, has industry-leading performance with fully configurable caching and load-balancing options, and provides enterprise-level performance while maintaining full data integrity. PowerBuilder NVOs are wrapped as EJBs to interact seamlessly with various kinds of clients.

PowerBuilder and EAServer have been together for a long time and many of you are already very experienced with them. For those who are not familiar with setting EAServer up, there's a PowerBuilder project wizard that can guide you through it step-by-step (see Figure 2).

EAServer 6.1 .NET Feature Design
The EAServer .NET Client ORB is used for .NET client applications, say a PowerBuilder .NET WinForm application to communicate with EAServer components through IIOP or IIOPS.

With netcc (Net Compiler) and an IDL for C# tools, C# stubs of the existing EAServer components can be generated. .NET client applications will use these C# stubs to communicate with EJB components running on EAServer through the .NET Client ORB. The .NET client applications can also use CORBA's client API to call EAServer components through the ORB.

A .NET client application that has to communicate with EAServer components won't work with existing Java or C/C++ ORBs. A .NET Client ORB should be implemented for these applications to call EAServer components through IIOP or IIOPS. PowerBuilder Win32 client applications can still call EAServer components using the existing EAServer Client ORB.

Below are the main supported features of the EAServer 6.1 .NET Client ORB:
• Simple data type marshalling
• Complex data type marshalling
• Helper/Holder data type marshalling
• Transaction management
• CORBA services
• GUI changes
• Data compression
• HTTP tunneling support
• SSL support
• HTTPS support using native https .NET APIs
• Clustering support

Using a .NET Generic Client to Call an EAServer JMS Component
The .NET client ORB enables the .NET client to send and receive messages from JMS servers. Two types of messages are supported: topic and queue.

The client can also work in offline mode when the network isn't available. In offline mode, the messages sent will be temporarily stored in local storage. Later when the client is working in online mode, the messages in local storage will be delivered to the remote server. Listing 1 shows an example of calling JMS using the JmsConnection API.

Using the PowerBuilder .NET Engine to Invoke an EAServer Web Services Component
Web Services let components be easily shared, provide cross-language compatibly, and are also used to implement an architecture according to Service Oriented Architecture (SOA) concepts. In PowerBuilder you can create a new Web Service proxy project from the project page in the New dialog box (see Figure 3).

The project page has two kinds of icons: ones that open wizards that help you set up a project and ones that open the project painter. Use the Web Service proxy wizard and you'll see something like Figure 4.

A proxy object that can be used by a PowerBuilder client to invoke a Web Service is defined in a Web Services Description Language (WSDL) file.

PowerBuilder 11 provides pbsoapclient110.pbx and pbwsclient110.pbx. pbsoapclient110 is used for the EasySOAP engine and pbwsclient110 is used for the .NET engine. You can include them using "Import PB Extension..." from the PBL.

To create a connection to EAServer, you'll write code like:

conn = create soapconnection
conn.createinstance(WSloan, 'deployloan')

In this case deployloan was created by the Web Services proxy using the .NET engine with a WSDL file of an EAServer component.


  • 1
  • 2
  • next ›
  • last »
Published Aug. 9, 2007— Reads 15,053
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
Related Stories
▪ 1200 Attendees from 42 Countries Flock to Sybase TechWave 2008
About Jian Yang
Jian Yang is a staff software engineer of Sybase. He joined Sybase in September 2000 and has been working in Enterprise Application Server group ever since. From August 1997 to August 2000, he was a senior application developer with Verizon. Jian received his MS in computer science from Bradley University, and his MBA from the University of South Florida.

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