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.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Learning JSP

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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.

Thanks

Nee Kat
 
Marshal
Posts: 67522
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd avoid EJB's for the time being. They're really of very limited use and they'll just bog you down if all you are trying to do is to learn servlets and JSP.
 
Author
Posts: 531
Mac OS X Netbeans IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Masoud Kalali:
A free tutorial is available from Sun Microsystem which i think is a good place to start learning j2ee technology (JSP/servlet,ejb,..)



I wouldn't prefer J2EE tutorial to begin learning Servlet or JSP. Moreover, the tutorial is quite server specific. But its me.
 
Nee Kat
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for all your help and the information.

Nee
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic