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
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
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Date: 29 Jun 2007 20:20:29 -0700
X-Trace: forums-1-dub 1183173629 126.96.36.199 (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
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:746
Article PK: 424845
Subject: Re: PB2EJB100.exe
Content-Type: text/plain; charset="iso-8859-15"
Date: 10 Aug 2007 06:36:49 -0700
X-Trace: forums-1-dub 1186753009 188.8.131.52 (10 Aug 2007 06:36:49 -0700)
X-Original-Trace: 10 Aug 2007 06:36:49 -0700, uu194-7-38-226.unknown.uunet.be
Xref: forums-1-dub sybase.public.powerbuilder.ejbclient:750
Article PK: 424848
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
Beware of generated names that are too long.. i believe there were some issues with that in
In article <4685cbfd$1@forums-1-dub>, <Ivan> says...