Hello,
if you are an experienced web developer, would you recommend to use Poco? I like to ask that question to the users of Poco, not to its developers. If you ever have used Poco, would you use it again? Did you encounter major problems that forced you to throw Poco away?
I am asking because I am not sure if it is worth to learn Poco and use test it in really large and long-term projects. I develop web applications in Java, and I am unsure if I should give Poco a try.
I am an experienced C++ programmer, but I never developed web application in C++. My job forced me to develop web applications in Java since 4 Years now, using Tomcat, and I will surely have to continue that work in the next years.
However, I was never a friend of Java, mainly because of its unnecessary ressource usage. To say it shortly: Java waists energy, and energy become more expensive every year. Why should I waist 80% of electric energy in a server farm, while I save energy wherever I can in my home envirronment?
I think, it is a good idea to learn writing web applications in C++. I'm 100% sure, that my applications could be much faster, much smaller and consume much less energy. I expect that development in C++ will possibly require more amnpower and thus cost more money. I am really very interested in doing my own experience and compare myself how much more expensive development of web application is if I switch to my personal favorite language, which is C++.
People say that Java is better because of the larger availability of libraries. As far as can see, this is not the case anymore. Every web related library seems to be available also in C++ since a long time. And Poco seems to collect the most common used stuff into a single framework. I cannot find any use-case which would require a Java library that is not also available in C or C++.
People say that Java is better because Java application are platform independent. But I say: this is a very old lie! I saw a lot of Java programs than run only on a particular operating system. On the other hand, I saw a lot of C++ program that are obviously platform independent. For example the Firefox Browser, the KDE Desktop, the MySQL Database, basically the whole Linux distribution (except its Kernel) can be compiled and run on Windows and even Mac OS. SO why do people say that Java provides platform independency which C++ does not? I have no idea. Maybe they just feel professionel when they repeat stupid sentences from SUN whitepapers.
Java causes hardly solveable problem, whenever the I/O interface are something else than just simple filesystem and network I/O. But on the other hand, I am 100% sure that I can use absolutely all operating system and hardware features with C++.
People say, Java supports UTF-8 which C++ does not. This is also a lie.
As more as I think about it, I feel that my job work of the last 4 years is based on a bunch of lies from SUN and that the management of my company did not notice that.
Now I want to find out If I am right to say that I could write all my web application in C++ instead of Java.
I should mention that I never used JSP. JSP is neither of programming language nor a template engine in my opinion. I never felt the need to use JSP, and my boss also does not want that I do it. In the past, I focused on Servlets. And I do not see any feaure in Java or Tomcat, that would not be possible in C++.
I also like to highlight that I am not interested in A "GUI over the web" framework, such as QT provides. Im more interested in a replacement for Tomcat and Servlet API. If that framework also provides stuff for logging, thead and job management, and maybe something for stateful sessions, that would be welcomed. Poco seems to be what I am searching for. Am I right?
So you see, I am absoluetle sure that writing web applications in C++ is practically possible. But what I do not know is, if trying out Poco is a good start or if I should first take a look at some other similar framework. My problem is, I found only Poco, nothing else. Is Poco the de.facto standard for web applications in C++, or do you know some other framework that I also should take a llok at?





