Originally posted by buntine You said the only thing that you didnt like about Java was the syntax. How could you like C++? It has very similar core syntax.
Its some of the keywords in particular, and how java gets so fussy about parsing this into this and this into this, and it saved me some time when I used css. But I do not know much css. Also everyone just seems to claim that java's greatest advantage is that it can go anywhere, but so can c++....
If you like java, then more power to you, but I came to the conclusion that I do not like it as I was learning it.
Originally posted by Jona ..I'd heard that Java has open-source applications to parse XML and is very unique in that area, but perhaps I misunderstood.
you did not misunderstand...there are ton of open source parsers available out there which you can use to parse XML using Java, just go to w3c.org or xml.org you will see their tools section is full of tools written in java or integrating with Java. As a matter of fact you can use Java classes right inside of your PHP code..
I'd have to have a compiler to write applications. How does that apply to the Web, though? A request is sent to the server, it runs a *.jar/*.aspx application based on one of the supported languages, and the output of the application is what is printed on the web page? How exactly does that work?
When you use Java(jsp or servlets) in a web server,the web server is typically a servlet engine, so it knows that you are trying to access jsp/servlet code. Tomcat is the most popular free open source servlet engine out there(you can configure your apache web server to pass on the jsp requests to tomcat).
When a request is processed by a servlet engine, and the first time when a jsp is accessed its compiled( to a servlet) and then its served.After that its lightening fast.
I think one can see that with the programming languages there is a natural progression towards the best programming language.
C was evolved to C++, then C++ was evolved to Java( has its own handicaps), Now C# is supposed to be the next step(most of us are skeptical because MS usually doesn't do anything to help the industry)
C++ syntax is almost look alike to that of Java syntax.
And C# is for sure 99% Java programming language...
You have 2 options,if you like to be part of the open source community(ocourse java definitly has its advantages over MS technologies) go for Java otherwise ASP is your technology
P.S if you want to look into JSP's look straight into Struts...
C++ and java are quite similar, java just has some irritateing little things that really tick me off, it just seems to be so much more fussy and anal retentive IMO. AP comp sci was not a positive experience for me
I'm thinking learning JSP/Java would be good for my portfolio and for myself. Thanks everyone, I'm going to try out Tomcat and Struts, and see what I can use this stuff for. I have just one more question that I'm still unclear on... What can Java do that PHP can't?
Visit Slightly Remarkable to see my portfolio, resumé, and consulting rates.
Grab Eclipse and you'll be set. It has the JRE and JDK it uses bundled and can run the apps you build right from the IDE. Making your app standalone is a simple export to a jar file. For J2EE you can't beat MyEclipse for value ($30/yr with a 30 day free trial). If you want to do the work yourself you can find the plugins and install them for free.
I think for Java IDEs you can use several tools, SUN One from Java is all right,but the best one that I know of is "IntelliJ".
I had always used JBuilder,but as soon as I tried intelliJ I was hooked on to this.its probably most productive IDE for Java development out there...
Bookmarks