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.

PB2EJB100.exe

2 posts in EJB Client Last posting was on 2007-08-10 13:36:49.0Z
<Ivan> Posted on 2007-06-30 03:20:29.0Z
From: <Ivan>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: PB2EJB100.exe
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: static-ip-55-150-66-202.rev.dyxnet.com
X-Original-NNTP-Posting-Host: static-ip-55-150-66-202.rev.dyxnet.com
Message-ID: <4685cbfd$1@forums-1-dub>
Date: 29 Jun 2007 20:20:29 -0700
X-Trace: forums-1-dub 1183173629 202.66.150.55 (29 Jun 2007 20:20:29 -0700)
X-Original-Trace: 29 Jun 2007 20:20:29 -0700, static-ip-55-150-66-202.rev.dyxnet.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:746
Article PK: 424845

Hi all

Is there anyone have experience to using command line program
(pb2ejb200.exe) to generate the EJB proxy object?
Since I got many proxy objects to be generate and it took me very long time
to regenerate all of them (one by one).
Also I find that some common Java class like vector, Integer, remote etc...
and some custom base class will be appear in different libraries after
generation. Therefore, if we had been modified some Java base class and
regenerated one of the EJB proxy object in PB it will cause a problem. the
problem is the modification of the base class in the sub classes didn't show
up the changes. However, I already figure out what happen, that is because
this base class exists in other library, and the position of this library in
the library list is higher than my generated EJB proxy object library, thus
those sub class didn't found any changes.
So now I'm finding the method to generate those proxies file in efficiency
and safety.
Before I thought I can get use the pb2ejb200.exe in command line, because I
can create a batch file to generate those EJB proxies into a folder and then
import those source files back into PB library, and the duplication and
classes find in different libraries problems also can be fixed. However, now
I got another problem is one kind of the source file cannot import into PB
library, I don't know what happen to this file, which is the structure
object named xxxxxsessionremote_ejb_pb_mapping. This file cannot import into
PB library. Is there anyone know what function is of this structure? since I
never use it in my code, but I know each time we generate the EJB proxy then
it will included in the library, so I want to make sure that it is useless
or not. If that is useless then I would like to skip this file and not
import into my library.
Or you guys have another suggestion for me to generate EJB proxy in much
effective and efficiency way?

Thanks a lot

Ivan


bede Posted on 2007-08-10 13:36:49.0Z
From: bede <bedenosp@msofico.be>
Newsgroups: sybase.public.powerbuilder.ejbclient
Subject: Re: PB2EJB100.exe
Message-ID: <MPG.212672b4f191ad13989898@forums.sybase.com>
References: <4685cbfd$1@forums-1-dub>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
X-Original-NNTP-Posting-Host: uu194-7-38-226.unknown.uunet.be
Date: 10 Aug 2007 06:36:49 -0700
X-Trace: forums-1-dub 1186753009 194.7.38.226 (10 Aug 2007 06:36:49 -0700)
X-Original-Trace: 10 Aug 2007 06:36:49 -0700, uu194-7-38-226.unknown.uunet.be
Lines: 41
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:750
Article PK: 424848

Ivan,

you're on the right track, we use scripts & pb2ejbXXX.exe as well to generate the proxies
into separate folders, cleanup the duplicates and then use PowerGen to import it into DLLs
afterwards.
Beware of generated names that are too long.. i believe there were some issues with that in
the past.

cheers,

Ben


In article <4685cbfd$1@forums-1-dub>, <Ivan> says...

> that some common Java class like vector, Integer, remote etc...
> and some custom base class will be appear in different libraries after
> generation. Therefore, if we had been modified some Java base class and
> regenerated one of the EJB proxy object in PB it will cause a problem. the
> problem is the modification of the base class in the sub classes didn't show
> up the changes. However, I already figure out what happen, that is because
> this base class exists in other library, and the position of this library in
> the library list is higher than my generated EJB proxy object library, thus
> those sub class didn't found any changes.
> So now I'm finding the method to generate those proxies file in efficiency
> and safety.
> Before I thought I can get use the pb2ejb200.exe in command line, because I
> can create a batch file to generate those EJB proxies into a folder and then
> import those source files back into PB library, and the duplication and
> classes find in different libraries problems also can be fixed. However, now
> I got another problem is one kind of the source file cannot import into PB
> library, I don't know what happen to this file, which is the structure
> object named xxxxxsessionremote_ejb_pb_mapping. This file cannot import into
> PB library. Is there anyone know what function is of this structure? since I
> never use it in my code, but I know each time we generate the EJB proxy then
> it will included in the library, so I want to make sure that it is useless
> or not. If that is useless then I would like to skip this file and not
> import into my library.
> Or you guys have another suggestion for me to generate EJB proxy in much
> effective and efficiency way?
>
>