PDA

View Full Version : Learning Java



333
April 18th, 2007, 12:03 PM
I am learning Java a the moment.:bounce: How long has it taken for you to learn? Has anyone learnt it in less than a month?

kirupa
April 18th, 2007, 02:21 PM
Is Java the first object oriented language you are learning?

Templarian
April 18th, 2007, 03:52 PM
I am learning Java a the moment.:bounce: How long has it taken for you to learn? Has anyone learnt it in less than a month?
You never learn a language you just understand it more. But yea if you know C++ really really well and openGL ect, you will find a lot of similarities. But, it is doubtful you will learn everything you will want to know in month.

blazes
April 18th, 2007, 08:46 PM
Just wondering as someone who has never looked into the possiblities of java, what are the advantages of using it versus something else to make web apps. Say php or even flash?

Flashthinker
April 20th, 2007, 08:19 AM
Just wondering as someone who has never looked into the possiblities of java, what are the advantages of using it versus something else to make web apps. Say php or even flash?

PHP doesn't make web apps, it's a server-side script.
As for the advantages of Java over Flash, here's a list of pros and cons:

Java vs Flash:

Pros (Java):
- Java is much faster than flash... Even with AS3
- It can also act as a good desktop application (LimeWire is made in Java)
- It has 3D support
- Some hardware acceleration

Cons (Java):
- It is heavier than Flash (The download filesize of Java Runtime is approximately 14MB... Whereas Flash Player is less than 2MB)
- Java applets have display issues
- It's harder to work with graphics in Java and it doesn't have shape anti-aliasing as default like in Flash.
- Java is less popular than Flash on the net.

blazes
April 20th, 2007, 05:51 PM
Sweet thanks. And I was refering to php as a combination of php/html/css/javascript to create an online application.

Templarian
April 21st, 2007, 01:41 AM
Sweet thanks. And I was refering to php as a combination of php/html/css/javascript to create an online application.
Java doesn't do server-side(in the way hes speaking (hes talking about client based)) so PHP is still needed for backend.

Krilnon
April 21st, 2007, 04:02 PM
Java doesn't do server-side(in the way hes speaking (hes talking about client based)) so PHP is still needed for backend.
Isn't it kind of obvious that client-side Java isn't server-side Java?

It would be easy enough to have a JSP/HTML/CSS/JavaScript application, assuming that the host machine was running a JSP server.

Jeff Wheeler
April 21st, 2007, 04:46 PM
Nah, JSP is a lot more complex than PHP and the like. Unless you want hundreds of XML-configs, I warn you to beware.

Krilnon
April 21st, 2007, 05:05 PM
Alright, some people would find it easy enough to write it with JSP, other would find it hard. It would be possible either away assuming the JSP-prerequisite is still fulfilled. :P