Questions | Login

Top / PHP / MySQL

I want to learn to develop web applications in Java. Where do I start?

demo 21 Dec 2008 04:35am
I have an extensive knowledge of PHP and MySQL, and I have developed several web applications using these technologies.
Now I want to migrate to Java - based web development.
I also have an extensive knowledge of Object Oriented Programming paradigm.

Answers

demo 21 Dec 2008 04:43am
I think you can find everything you're looking for here: http://java.sun.com/javase/

A tutorial:
http://java.sun.com/docs/books/tutorial/reallybigindex.html

A forum to post questions and receive help:
http://forums.sun.com/index.jspa

A nice (and free) online "class":
http://www.javapassion.com/

J2EE specific tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc/

Best of luck.

Edit on 12/22/08 at 13:35 GMT - Noticed that I messed up the link for the tutorial while cutting and pasting. Fixed it. Sorry for any inconvenience.
demo 23 Dec 2008 10:28am
Java is a little different from PHP - you have more options. Check out one of the many online tutorials, but you could start with the Sun tutorials. Assuming you have never used Java, consult J2SE (Java 2 Standard Edition). Ignore the stuff on Swing if you're not interested in creating desktop applications/applets:
http://java.sun.com/docs/books/tutorial/

The most basic web application consists of JSPs. This will be pretty similar to your PHP stuff. For more information, consult the J2EE (Java 2 Enterprise Edition) tutorials:
http://java.sun.com/javaee/reference/tutorials/

Then you add in servlets and start to consider MVC architectures.
http://en.wikipedia.org/wiki/Model-view-controller

Ultimately, if you like the J2EE concepts, consider researching the J2EE blueprints and learn about EJBs.
http://java.sun.com/reference/blueprints/

Personally, I would recommend a look at OSGi as well. OSGi is a specification for 'modular Java' and gives you yet more options when considering your architecture, but is a more advanced Java topic. I'll be doing a few OSGi tutorials on my blog over the next few weeks, including how to build web applications using OSGi technology on the server using HTML and Flex:
http://www.perplentropy.com/

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.