Click to See Complete Forum and Search --> : MFC or Java
cipher1024
August 26th, 2005, 03:04 AM
Hi All,
I'm a student so please pardon me if u think i'm asking a lame question.I'm writing a Download Manager as part of my academic project.Though i've good knowledge in both MFC and java i'm a little confused as to which of the 2 i should be using.There is no compulsion that it must be done for the windows platform.Please advice.
Paul McKenzie
August 26th, 2005, 03:12 AM
I'm writing a Download Manager as part of my academic project. Though i've good knowledge in both MFC and java i'm a little confused as to which language i should be using.MFC is not a language.
Regards,
Paul McKenzie
Tischnoetentoet
August 26th, 2005, 03:13 AM
if only for the windows platform, I would go for the MFC way. Java is slow, borland JBuilder is :thumbd:.
My experience with java is not that good, but people say java gets better and better (who releases a complete new version of java every year?).
C++/MFC is much faster and the visual studio group is (just my opinion) much better than the java development tools.
panayotisk
August 26th, 2005, 03:36 AM
For academic purposes Java is quite ok. Many academic projects are being done in Java. If your knowledge on C++/MFC is very good and platform independence is not that important then you may use C++/MFC.
I think that normally you'll develop it faster in Java.
(There is also C# you know)
cipher1024
August 26th, 2005, 03:52 AM
Hey thanx all for ur replies. i understand MFC is the better option.However i need 1 last favour from u'll can any1 tell me what are the exact advanced topics i need to read for the purpose of this project. Do i need to use COM ? and besides should i use moniker files or the normal internet file class. please guide.
neo_the_1
August 26th, 2005, 08:58 AM
most definitely JAVA !!!
http://www.tiobe.com/tiobe_index/index.htm
yeohhs
August 26th, 2005, 09:34 AM
Hey thanx all for ur replies. i understand MFC is the better option.However i need 1 last favour from u'll can any1 tell me what are the exact advanced topics i need to read for the purpose of this project. Do i need to use COM ? and besides should i use moniker files or the normal internet file class. please guide.
In order to create a Download Manager, you have to understand networking programming. You might want to start off with this.
Winsock Programmer's FAQ
http://tangentsoft.net/wskfaq/
Best Regards,
Yeoh
--
Paul McKenzie
August 26th, 2005, 11:21 AM
Hey thanx all for ur replies. i understand MFC is the better option.You have kept stating "MFC". MFC is an application framework written in C++. It isn't a computer language. To do network programming, you can use straight C++ with no MFC (using WinSock) or use another library written in 'C' or C++ that allows network programming that has nothing to do with MFC.
That is where your initial question is confusing. If you want to compare languages and which one is best to do something, you compare C++ to Java, not MFC to Java.
If you want to compare frameworks, libraries, etc. then you compare MFC with whatever framework Java has to support network programming. Who knows, the libraries or API's that Java has to support network programming may be superior to what MFC may support. I don't know since I don't do network programming.
But the bottom line is you can't compare MFC to Java. One is a framework written in C++, the other is an entire computer language.
Regards,
Paul McKenzie
drewdaman
August 26th, 2005, 11:58 AM
If you want to compare frameworks, libraries, etc. then you compare MFC with whatever framework Java has to support network programming. Who knows, the libraries or API's that Java has to support network programming may be superior to what MFC may support. I don't know since I don't do network programming.
well.. i've heard that the java equivalent of winsock is very similar to winsock..
also since the original poster mentioend MFC.. i'm guessing that he/she should look into swing for GUI development in Java.
aspeyp
August 26th, 2005, 12:11 PM
Just to add my penny's worth and referring back to the initial reaction MFC is not a language I feel it's worth mentioning that Java is more than just the language - its definition includes the Java classes. C++ on the other hand is just the language. Seen in that light, the original question is not so silly after all and perhaps should be rephrased as Java vs. C++/MFC.
As regards the comparison, I personally have much more confidence, when constructing a Windows program, that, whatever I want to do, I am going to be able to do it with C++/MFC. The Java classes have improved over the years but I still feel it's a risky option unless there are other reasons for taking that route.
Marc G
August 26th, 2005, 01:08 PM
Just to add my penny's worth and referring back to the initial reaction I feel it's worth mentioning that Java is more than just the language - its definition includes the Java classes. C++ on the other hand is just the language. Seen in that light, the original question is not so silly after all and perhaps should be rephrased as Java vs. C++/MFC.
As regards the comparison, I personally have much more confidence, when constructing a Windows program, that, whatever I want to do, I am going to be able to do it with C++/MFC. The Java classes have improved over the years but I still feel it's a risky option unless there are other reasons for taking that route.
I don't agree. Like Paul said, Java and C++ are languages. MFC is a library for C++. Rephrasing it to Java vs C++/MFC isn't good, better is Java/Swing vc C++/MFC or Java/AWT vs C++/MFC. Swing and AWT are libraries (distributed with Java) to create GUIs, which is exactly what MFC is. MFC has network classes and Java has a library for networking.
cipher1024
August 26th, 2005, 03:06 PM
You have kept stating "MFC". MFC is an application framework written in C++. It isn't a computer language. To do network programming, you can use straight C++ with no MFC (using WinSock) or use another library written in 'C' or C++ that allows network programming that has nothing to do with MFC.
That is where your initial question is confusing. If you want to compare languages and which one is best to do something, you compare C++ to Java, not MFC to Java.
First of all a big thanx to all for responding to my query:wave:.
Mr. McKenzie i do understand that my question was a little wrongly phrased. I apologise for that:o. but what i actually meant to ask is wether or not the MFC framework is more suitable than the Java/swing framework to develop such an application. I didn't mean to say MFC is a language.
I understand that java is slower then c++ but since it is an academic project and i dont have much time to complete it and besides i do not have much experience writing windows applications or in java programming i was hoping to get an expert view as to which framework would be best suited for my application.
Andreas Masur
August 26th, 2005, 03:44 PM
[ Redirected thread ]
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.