Forums Login/signup

Powerbuilder to Java Convert

+Pie Number of slices to send: Send
Does anyone know of a free tool which will convert powerbuilder into Java?

A developer I'm working with said JDeveloper will do it but keeps making excuses why he can't show me how so I don't think it can be done.

Thank you.
+Pie Number of slices to send: Send
Even if it could, which I don't know. I would be very wary of any converter. Waht kind of code would it write. Powerbuilder and Java are so different that I would highly highly recommend that you re-write your application in Java.

Mark
+Pie Number of slices to send: Send
Thanks Mark,

Trust me, I agree completely, but we have about 30,000 lines of powerbuilder code to go through to write an application in 40 working days. I was hoping to get some sort of head start by having it converted to Java.
+Pie Number of slices to send: Send
Sorry I have no suggestions, but I know how it feels, the crunch, haha.

Anyway, good luck.
+Pie Number of slices to send: Send
But I would hope that those 30,000 lines would be much less when in Java.

Just throw people at it.

Mark
+Pie Number of slices to send: Send
Hi, unfortuneately I nothing that will help, except I would advise against trying to write a converter. Years ago (and no I don't have the source), I wrote a program which would analyse PB source code and produce Javadoc style html output. At that time, the only documentors for PB produced word docs which are a waste of time for documenting source code.

The one thing I remember from that experience is that the PB source code file format is really hard to fathom. The source is undocumented within the file and there are no delimiters between different sectyions. I spent many hours making subtle changes to a project and then looking at the raw source to see what the effect was. There is a specific order that PB writes stuff into each file, but you will have to do a lot of work to figure it out and your parsers will have to approach each line of text as though it could be any part of the object in question.

Basically it's a pain and I think you would be far better off using your source PB as an inspiration for the java code. Then get together several trusted programmers and put in some hours.

Sorry.
Derek.
+Pie Number of slices to send: Send
Thanks for all the answers. We have three people on the project, and hopefully a fourth is coming. That's all we have to "throw" at the code, so I guess we will just have to put in some hours.
+Pie Number of slices to send: Send
 

Mark Spritzler wrote:But I would hope that those 30,000 lines would be much less when in Java.  

Just throw people at it.  

Mark



Unfortunately, this is not the case. There will be more Java code than PB code, especially if you have many datawindows.

Q: How do I know this?
A: I have been working on porting a PB application to a Java web app for almost 5 years. It looks like I still need 5 more to finish porting it.

reply
reply
This thread has been viewed 5059 times.
Similar Threads
Table Oriented Programming
JSP processing time without Network delay
Need to understanding when to use Web Services?
Creating Java DLL's
a good scenario for SOAP?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 30, 2025 11:27:21.