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.

Bestway to capture data in datawindow from javabean

2 posts in EJB Client Last posting was on 2005-09-28 10:25:30.0Z
Vasu Posted on 2005-09-28 05:32:25.0Z
From: "Vasu" <vasu_vanam@comcast.net>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Bestway to capture data in datawindow from javabean
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: c-69-181-150-163.hsd1.ca.comcast.net
Message-ID: <433a2a7f$1@forums-2-dub>
X-Original-Trace: 27 Sep 2005 22:30:39 -0700, c-69-181-150-163.hsd1.ca.comcast.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 27 Sep 2005 22:30:40 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 27 Sep 2005 22:32:25 -0700
X-Trace: forums-1-dub 1127885545 10.22.108.75 (27 Sep 2005 22:32:25 -0700)
X-Original-Trace: 27 Sep 2005 22:32:25 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:574
Article PK: 424702

Hi
I don't know what is the best way to capture the data from java bean to the
datawindow on PowerBuilder.

I am looking for a tabular style with 500 rows. If I get every row in a bean
and loop through all rows and use setitem method is taking quite bit of
time. Do you have any other recommended way? I am using weblogic server with
PB 9.0.2 release.

Thanks


Bede <bede_nosp Posted on 2005-09-28 10:25:30.0Z
From: Bede <bede_nosp@m_sofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Bestway to capture data in datawindow from javabean
Message-ID: <MPG.1da48d62b2fb416e98974c@forums.sybase.com>
References: <433a2a7f$1@forums-2-dub>
Organization: Sofico
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-Trace: 28 Sep 2005 03:23:42 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 32
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 28 Sep 2005 03:23:45 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 28 Sep 2005 03:25:30 -0700
X-Trace: forums-1-dub 1127903130 10.22.108.75 (28 Sep 2005 03:25:30 -0700)
X-Original-Trace: 28 Sep 2005 03:25:30 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:575
Article PK: 424706

to be honest, that's the way we use it today.
we've been looking into alternatives but that would mean too much rework
of EJBs for us now.

the fastest way would be to use a TabularResults.ResultSet

read the links below for more info.

Ben

http://groups.google.com/group/sybase.public.powerbuilder.ejbclient/brow
se_thread/thread/b464e1aa534bc117/a258ed090f072824?
lnk=st&q=Powerbuilder+EJBClient+Resultset&rnum=4#a258ed090f072824

http://groups.google.com/group/sybase.public.powerbuilder.ejbclient/brow
se_thread/thread/39ab9e4606dd532a/604240afa94a65f5?
lnk=st&q=Powerbuilder+EJBClient+Resultset&rnum=1#604240afa94a65f5

In article <433a2a7f$1@forums-2-dub>, vasu_vanam@comcast.net says...

> Hi
> I don't know what is the best way to capture the data from java bean to the
> datawindow on PowerBuilder.
>
> I am looking for a tabular style with 500 rows. If I get every row in a bean
> and loop through all rows and use setitem method is taking quite bit of
> time. Do you have any other recommended way? I am using weblogic server with
> PB 9.0.2 release.
>
> Thanks
>
>
>