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
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...