This week's giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line! See this thread for details.
I am new to JSP and want to learn it quickly. Could anyone suggest an online tutorial or any good book. Any information/tutorials regarding servlets and EJB (MVC architecture) will be highly appreciated.
Hi A free tutorial is available from Sun Microsystem which i think is a good place to start learning j2ee technology (JSP/servlet,ejb,..) you can find it at : http://java.sun.com/j2ee/1.4/download.html nearly in bottom of the page.
if you want a good IDE to work with go and check netBeans 4.1 beta 2 it has j2ee / webservice support addition to JSP / Servlet (and its free of charge) hope it helps
If you haven't spent some time learning Java, do that first. A Google search on "Java Tutorial" will bring up plenty. Get a firm grasp on packages, and the concept of a CLASSPATH for class loading.
After that, learn servlets. You should start with servlets because they are the most obvious. Like a piano, they're laid out plain and simple. Pay close attention to how they're threaded and why you should avoid instance variables until you know exactly what you're doing with them.
Once you have a basic understanding of servlets, you are ready to learn JSP. JSPs get compiled into servlets. They abstract the servlet concepts so that a web designer can work with them without understanding anything about servlets. For a web designer, this is good. For a programmer who doesn't understand servlets, this is like stomping around in deep leaves, you never really know what you're stepping in until it's too late. Once you understand how JSPs abstract servlet concepts, they are a very convenient and powerfull way for you to quickly update the view of your app without mucking in the business logic.
I like "Core Servlets and Java Server Pages" by Marty Hall. It teaches things in the right order. It's available for free online: http://pdf.coreservlets.com. The free version "first edition" is a little dated but still good. If you can afford it, pick up the second edition and save yourself some headaches getting the examples to run.