thanks in advance.
AND .. you are doing this because ... you have too much time on your hands?
:-)
<Anuj Kumar> wrote in message news:48c63dfa.5dd...@sybase.com...
BTW you are still welcome to look at the problem and suggest
some solution, though I seriously doubt that you can do
anything except looking only at the wrong things.
PowerBuilder and Java can communicate together through EAServer. Every
component you load in to the server is isolated from every other
component - so each component has no idea what language the others are
running. Nor do they care.
The choice of framework may have something to do with your problems. In
order for components to talk to each other in EAServer, they have to be
application server components. For Java, the preferred method is EJB,
but you can also use POJO's and just wrap them correctly. If all you
are using Spring for is persistence, you should be able to do this.
When you migrate a piece of the code to Java, deploy it to EAServer as a
component. Then use the same technology in PowerBuilder to call an EAS
component that was written in PB. The server will translate for you.
In fact, the easiest way to do this is to move the PB component in to
EAS, call it from your application, then rewrite it in Java.
In previous migrations, I've found my biggest problem is that I wanted
to redesign the application while writing it. Unfortunately, when you
are doing a live port that isn't always possible. There will be some
trade-offs, but it should work out in the end.
Jonathan