This content has been marked as final. Show 6 replies
Java web is not easy to pick up and is near impossible if you don't know basic Java. The first thing you should be concentrating on is core java, or "JavaSE". Learn the language, learn the tools, learn the concepts behind object oriented programming, learn the important parts of the API (collections, dates, threading and concurrency, IO, files, etc. etc.). You can try by going through the Java tutorial, but likely you are better off going on Amazon and checking some user reviews to pick out a good book for yourself.1 person found this helpful
To cure your need to skip ahead and jump into web dev anyway, I suggest you try to read this and see how much of that you can actually understand:
That's the basics of the basics of Java web dev.
Hi bro , thanks a lot for your wonderful help .
Actually i know OOPs concepts and basic s of java , but of course i still need more practice on core java for becoming strong enough in core java , but theory wise i know all the concepts . so i thought i just want to learn what j2ee and web app's is , and how it is actually working and how the developers are deploying the java (jar) files and linking all the modules and the code together in web server and app server ext ..to produce a wed application in live .
So that i will learn it and i will try those steps logically with some open source project available in http://sourceforge.net/ and i will learn things from it ...... so please give a good guide or some books or a site which will help me learning these things ... thanks in advance :)
hi bro ,
I think this link http://pdf.coreservlets.com/ is more than enough for me for learning web application . Thanks a lot . please don't close this thread , i will post my doubt in future if i have . thanks a lot :)
You're welcome. I do advise to read and understand at least the Servlets part of that book as that is information you'll find useful even today; you can also go ahead and learn JSPs + JSTL just to know where it all began but do realize that it is quite outdated technology and there are better alternatives available nowadays. But for learning the basics and getting a grip on how server side and client side processing works, its still the easiest way to go IMO.
Here are some suggestions to get you started:
* Download SQL Server Express and learn to use its utility tool to create a few tables (since your using SQL Server at work, I think its better to use this than MySql, etc).
* Download Eclipse IDE.
* Read up on JDBC/SQL and get a simple program to read/write to the SQL Server database (using a connection pool, with good try/catch/finally block to properly close connections).
* Read up on JSP and create a HelloWorld JSP page in Eclipse.
* Read on on Servlets and create a HelloWorld servlet in Eclipse.
* Create a simple web application in Eclipse to read/write to the database from the JSP page, using MVC principles, and a single servlet as a central controller.
* Refactor all of the above over and over again to improve it.
Professional web applications use more advanced frameworks, but I believe you should learn the above as a foundation.
As for learning .NET, I suggest you read a book on ASP.NET rather than just look at some code examples on the internet. The book will be more comprehensive.
There are many tools & frameworks available for servlets/Web apps, but of all I've tried, I find Jetty to be one of the most useful. It makes debugging server code a breeze. None of that nasty start-stop-upload-restart nonsense for testing small changes.