Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Exchanging data with a PbClient and ejbs

2 posts in EJB Client Last posting was on 2004-01-23 08:03:00.0Z
jomarca1 Posted on 2004-01-14 10:51:20.0Z
Sender: 4acd.4005211b.1804289383@sybase.com
From: jomarca1
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Exchanging data with a PbClient and ejbs
X-Mailer: WebNews to Mail Gateway v1.1s
Message-ID: <40052154.4ad1.846930886@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 14 Jan 2004 03:00:36 -0800, 10.22.241.42
Lines: 2
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Jan 2004 02:36:11 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Jan 2004 02:51:20 -0800
X-Trace: forums-1-dub 1074077480 10.22.108.75 (14 Jan 2004 02:51:20 -0800)
X-Original-Trace: 14 Jan 2004 02:51:20 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:226
Article PK: 424409

How could I do this?
Thanks


Gökhan Demir Posted on 2004-01-23 08:03:00.0Z
Message-ID: <4010D2F1.C22C0C56@igonline.biz>
From: =?iso-8859-1?Q?G=F6khan?= Demir <gokhan.demir@igonline.biz>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Exchanging data with a PbClient and ejbs
References: <40052154.4ad1.846930886@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
X-Original-NNTP-Posting-Host: adsluser-1165.adsl.ttnet.net.tr
Date: 23 Jan 2004 00:03:00 -0800
X-Trace: forums-1-dub 1074844980 212.174.52.141 (23 Jan 2004 00:03:00 -0800)
X-Original-Trace: 23 Jan 2004 00:03:00 -0800, adsluser-1165.adsl.ttnet.net.tr
Lines: 29
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:231
Article PK: 424413

Hi,

I have written a result set processor that traverses and retrieves the
jdbc result set and generates a big string suitable for datawindow
importstring function.

Another approach would be to produce an xml string, but I was afraid it
would be slower.

To exchange updatable data between tiers, I used my own value object and
value object list patterns, which are pure java classes that can hold
state information. It is much like datawindow getchanges, setchanges,
getfullstate, setfullstate stuff, without the visual dw info embedded.

All of these approaches require you to code your own mechanisms.

When using EAServer as your ejb server however, you can use
TabularResults package, which is specific to Sybase but open-source. It
produces a serializable result set (tds) which is suitable for
dw.retrieve().

Regards,
Gokhan Demir

jomarca1 wrote:

> How could I do this?
> Thanks