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.

Reverse process......

5 posts in EJB Client Last posting was on 2004-06-05 07:48:11.0Z
Ivan Posted on 2004-05-31 15:12:36.0Z
Message-ID: <40BB4AEF.7040604@netscape.net>
From: Ivan <ivanooi@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en, zh-cn
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Reverse process......
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 211.24.30.180
X-Original-Trace: 31 May 2004 08:13:32 -0700, 211.24.30.180
Lines: 7
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 May 2004 08:10:55 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 May 2004 08:12:36 -0700
X-Trace: forums-1-dub 1086016356 10.22.108.75 (31 May 2004 08:12:36 -0700)
X-Original-Trace: 31 May 2004 08:12:36 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:285
Article PK: 424467

Hi all,

Since PB able to load the JVM in, is there anyway that I can call PB
from Java ? (EJBConnection)

Thanks


Bruce Armstrong [TeamSybase] Posted on 2004-05-31 17:34:42.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Reverse process......
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <1uqmb0pjj34mdr9ira6e4kgstb2vqur52v@4ax.com>
References: <40BB4AEF.7040604@netscape.net>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
X-Original-Trace: 31 May 2004 10:35:38 -0700, 66-214-183-11.la-cbi.charterpipeline.net
Lines: 34
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 31 May 2004 10:33:00 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 31 May 2004 10:34:42 -0700
X-Trace: forums-1-dub 1086024882 10.22.108.75 (31 May 2004 10:34:42 -0700)
X-Original-Trace: 31 May 2004 10:34:42 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:286
Article PK: 424466

You can, but it takes a bit of work (and not the EJBConnection class).
You use JNI to talk to PBNI to load PB. There is an example of that
on codexchange:

http://powerbuilder.codexchange.sybase.com/files/documents/67/304/Java2pb2.zip

Or you could just deploy the object to EAServer, which puts an EJB
wrapper around it.

What are you trying to do?

On 31 May 2004 08:12:36 -0700, Ivan <ivanooi@netscape.net> wrote:

>Hi all,
>
> Since PB able to load the JVM in, is there anyway that I can call PB
>from Java ? (EJBConnection)
>
>Thanks

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org


Ivan Posted on 2004-06-01 08:30:49.0Z
Message-ID: <40BC3E3F.70706@netscape.net>
From: Ivan <ivanooi@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en, zh-cn
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Reverse process......
References: <40BB4AEF.7040604@netscape.net> <1uqmb0pjj34mdr9ira6e4kgstb2vqur52v@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 211.24.30.248
X-Original-Trace: 1 Jun 2004 01:31:47 -0700, 211.24.30.248
Lines: 48
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Jun 2004 01:29:03 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Jun 2004 01:30:49 -0700
X-Trace: forums-1-dub 1086078649 10.22.108.75 (1 Jun 2004 01:30:49 -0700)
X-Original-Trace: 1 Jun 2004 01:30:49 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:287
Article PK: 424468

I'm try to mix Java and PowerBuilder together in client side~ now I
managed to fix this two.... but... I'm thinking a way to let Java call
PB objects.... because all the database connection are handle by
PowerBuilder.... any ideas~?

The example doesnt work, I compiled and it crash...

Thanks

Bruce Armstrong [TeamSybase] wrote:
> You can, but it takes a bit of work (and not the EJBConnection class).
> You use JNI to talk to PBNI to load PB. There is an example of that
> on codexchange:
>
> http://powerbuilder.codexchange.sybase.com/files/documents/67/304/Java2pb2.zip
>
> Or you could just deploy the object to EAServer, which puts an EJB
> wrapper around it.
>
> What are you trying to do?
>
> On 31 May 2004 08:12:36 -0700, Ivan <ivanooi@netscape.net> wrote:
>
>
>>Hi all,
>>
>> Since PB able to load the JVM in, is there anyway that I can call PB
>
>>from Java ? (EJBConnection)
>
>>Thanks
>
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Two new books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> ISUG Enhancement Requests
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>
> Preach the gospel at all times. If necessary, use words. - Francis of Assisi
> http://www.needhim.org


Bruce Armstrong [TeamSybase] Posted on 2004-06-01 12:38:37.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Reverse process......
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <t0uob09as9dj5kvq89tccc8r6kg4ddm46g@4ax.com>
References: <40BB4AEF.7040604@netscape.net> <1uqmb0pjj34mdr9ira6e4kgstb2vqur52v@4ax.com> <40BC3E3F.70706@netscape.net>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
X-Original-Trace: 1 Jun 2004 05:39:36 -0700, 66-214-183-11.la-cbi.charterpipeline.net
Lines: 69
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 1 Jun 2004 05:36:50 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 1 Jun 2004 05:38:37 -0700
X-Trace: forums-1-dub 1086093517 10.22.108.75 (1 Jun 2004 05:38:37 -0700)
X-Original-Trace: 1 Jun 2004 05:38:37 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:288
Article PK: 424469

You're going to have to understand both JNI and PBNI well in order to
implement this (including being able to debug the example if it's not
working for you). Other than that, there's no way I know of currently
to accomplish what you are trying to do.

On 1 Jun 2004 01:30:49 -0700, Ivan <ivanooi@netscape.net> wrote:

>I'm try to mix Java and PowerBuilder together in client side~ now I
>managed to fix this two.... but... I'm thinking a way to let Java call
>PB objects.... because all the database connection are handle by
>PowerBuilder.... any ideas~?
>
>The example doesnt work, I compiled and it crash...
>
>Thanks
>
>Bruce Armstrong [TeamSybase] wrote:
>> You can, but it takes a bit of work (and not the EJBConnection class).
>> You use JNI to talk to PBNI to load PB. There is an example of that
>> on codexchange:
>>
>> http://powerbuilder.codexchange.sybase.com/files/documents/67/304/Java2pb2.zip
>>
>> Or you could just deploy the object to EAServer, which puts an EJB
>> wrapper around it.
>>
>> What are you trying to do?
>>
>> On 31 May 2004 08:12:36 -0700, Ivan <ivanooi@netscape.net> wrote:
>>
>>
>>>Hi all,
>>>
>>> Since PB able to load the JVM in, is there anyway that I can call PB
>>
>>>from Java ? (EJBConnection)
>>
>>>Thanks
>>
>>
>> Bruce Armstrong [TeamSybase]
>> http://www.teamsybase.com
>>
>> Two new books on developing with PowerBuilder
>> http://www.pb9books.com?source=newsgroups
>>
>> Need code sample? Check out CodeXchange:
>> http://www.codexchange.sybase.com
>>
>> ISUG Enhancement Requests
>> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>>
>> Preach the gospel at all times. If necessary, use words. - Francis of Assisi
>> http://www.needhim.org

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

ISUG Enhancement Requests
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org


Ivan Posted on 2004-06-05 07:48:11.0Z
Message-ID: <40C17A35.5010607@netscape.net>
From: Ivan <ivanooi@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en, zh-cn
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: Reverse process......
References: <40BB4AEF.7040604@netscape.net> <1uqmb0pjj34mdr9ira6e4kgstb2vqur52v@4ax.com> <40BC3E3F.70706@netscape.net> <t0uob09as9dj5kvq89tccc8r6kg4ddm46g@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 211.24.29.20
X-Original-Trace: 5 Jun 2004 00:49:25 -0700, 211.24.29.20
Lines: 78
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 5 Jun 2004 00:46:04 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 5 Jun 2004 00:48:11 -0700
X-Trace: forums-1-dub 1086421691 10.22.108.75 (5 Jun 2004 00:48:11 -0700)
X-Original-Trace: 5 Jun 2004 00:48:11 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:291
Article PK: 424472

ok, thanks

Bruce Armstrong [TeamSybase] wrote:
> You're going to have to understand both JNI and PBNI well in order to
> implement this (including being able to debug the example if it's not
> working for you). Other than that, there's no way I know of currently
> to accomplish what you are trying to do.
>
> On 1 Jun 2004 01:30:49 -0700, Ivan <ivanooi@netscape.net> wrote:
>
>
>>I'm try to mix Java and PowerBuilder together in client side~ now I
>>managed to fix this two.... but... I'm thinking a way to let Java call
>>PB objects.... because all the database connection are handle by
>>PowerBuilder.... any ideas~?
>>
>>The example doesnt work, I compiled and it crash...
>>
>>Thanks
>>
>>Bruce Armstrong [TeamSybase] wrote:
>>
>>>You can, but it takes a bit of work (and not the EJBConnection class).
>>>You use JNI to talk to PBNI to load PB. There is an example of that
>>>on codexchange:
>>>
>>>http://powerbuilder.codexchange.sybase.com/files/documents/67/304/Java2pb2.zip
>>>
>>>Or you could just deploy the object to EAServer, which puts an EJB
>>>wrapper around it.
>>>
>>>What are you trying to do?
>>>
>>>On 31 May 2004 08:12:36 -0700, Ivan <ivanooi@netscape.net> wrote:
>>>
>>>
>>>
>>>>Hi all,
>>>>
>>>> Since PB able to load the JVM in, is there anyway that I can call PB
>>>
>>>>from Java ? (EJBConnection)
>>>
>>>
>>>>Thanks
>>>
>>>
>>>Bruce Armstrong [TeamSybase]
>>>http://www.teamsybase.com
>>>
>>>Two new books on developing with PowerBuilder
>>>http://www.pb9books.com?source=newsgroups
>>>
>>>Need code sample? Check out CodeXchange:
>>>http://www.codexchange.sybase.com
>>>
>>>ISUG Enhancement Requests
>>>http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>>>
>>>Preach the gospel at all times. If necessary, use words. - Francis of Assisi
>>>http://www.needhim.org
>>
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Two new books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> ISUG Enhancement Requests
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>
> Preach the gospel at all times. If necessary, use words. - Francis of Assisi
> http://www.needhim.org