DJ Dev wrote:
Hi All,
I have to build a web application for my project. This web application
will be basically calling some functions written in C/C++.
Basically, the process involves getting user input file, passing the
file information to the C/C++ function, Getting the result from C/C++
function etc.
Ultimate aim will be to create a web service using WSDL, XML etc.
It's actually more complex than it sounds.
My question is that which language should I choose - PHP or Java(JSP &
Servlets).
I have a bit of learning curve for Java stuff though.
Can anybody tell me which is the right way for me to go?
Thanks!
Hi DJ,
I only code Java and PHP. (and some ASP, but I don't want to talk about
that)
My general advise would be: If you want a simple quick start, use PHP, no
question about it.
PHP is intiutive and give quick results, where Java needs a few months of
works before you get right on the track and made the mistakes you should
make before becoming a good Java-programmer.
J2EE is a lot more complicated and harder to learn than PHP.
BUT... If you expect your application to grow, and become really complex,
Java will be a better choice.
By the description you give I would say: PHP.
PHP can handle your 'systemcalls' to C and can handle XML.
And PHP is getting more mature every release (dooh), they now have libaries
(PEAR) and such, making PHP a safe bet for the future too for you.
But I must say: I like Java more. :-)
Matter of taste, I guess.
Hope this helps. :-/
Regards,
Erwin