This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes Books, Practice Exercises & Tutorials on Servlets & JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Books, Practice Exercises & Tutorials on Servlets & JSP" Watch "Books, Practice Exercises & Tutorials on Servlets & JSP" New topic
Author

Books, Practice Exercises & Tutorials on Servlets & JSP

Rocco Feri
Greenhorn

Joined: Dec 17, 2005
Posts: 25
Hello,
I have just graduated from my MSc in OO programming.
I am currently reading head first servlets and JSP.
This book lacks of practice exercises and tutorials.
Do you know of any samples of simple shopping carts/forums/cms/portals that I can have a look at their code?
Alternatively, any material (books with such examples or online tutorials or small-completed open source projects) that would show me the way into intermediate web application development?
Rocco.
[ May 10, 2006: Message edited by: Rocco Feri ]
Eduardo Dela Rosa
Greenhorn

Joined: Apr 15, 2004
Posts: 25
Hi,

In the first place, you should not blame the book. Head First Servlets & JSP is one of the best books out there. If you'd read the "how to use this book" section (page xx), the topics "who is this book for?" and "Who should probably back away from this book?" should tell yourself where you stand.

On the other hand, if you're really up to something more interesting guide to developing shopping carts, try checking the following links:

xPetStore @ http://xpetstore.sourceforge.net
Duke's Bookstore @ http://java.sun.com/javaee/5/docs/tutorial/doc

Regards,

Eduardo
[ May 06, 2006: Message edited by: Eduardo Dela Rosa ]

Eduardo dela Rosa<br />SCJP 1.4
Rocco Feri
Greenhorn

Joined: Dec 17, 2005
Posts: 25
My goal at this point is to be able to construct simple CMS, Portals, shopping carts, forums, etc.
Do you know of any books or tutorials or other material that can guide me?

Rocco.
Rocco Feri
Greenhorn

Joined: Dec 17, 2005
Posts: 25
Any other views?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Rocco Feri:
Any other views?


Yes.
The two things I always recommend to people who ask this question:

1.) Look for open source software projects (OSS) that you can join.
There are plenty out there on sourceforge and the like.
One of the benefits of working on OSS is that you end up working with other people's code. You learn a lot about what to do and what not to do when working in this environment.

2.) Do some 'Pro Bono' work for a worthy cause.
There are plenty of non-profits, charities, and groups that would benefit from having a web application but could never justify the cost of paying someone to build one.
Some of the benefits of this approach:
You don't have to work with other people's code. You can build this project according to your standards and conventions without having to deal with any other developers.
You will have something to put on your resume and show to potential employers in the future.

In both cases, you'll be coding to real world situations instead of dreamed up ones from a book. You'll have to deal with the inevitable changing requirements; something that a book won't offer you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Rocco Feri
Greenhorn

Joined: Dec 17, 2005
Posts: 25
I don't object with the idea of working for free, however I have no working experience on servlets and JSP!
That's why I would rather like to begin with a book/exercises/tutorials.
I don't ask from this kind of material to teach me how to implement an e-banking system, however I would be glad to be able to construct simple/popular web apps, what PHP/MySQL is good for.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Then I would explore my first suggestion.
Look for an OSS project that uses Servlets/JSP in an MVC fashion.

If there is a book with such exercises, I don't know of it.
Peter Sin
Ranch Hand

Joined: Jan 13, 2005
Posts: 547
You can take a look at my web site. It is a simple on-line store.
Rocco Feri
Greenhorn

Joined: Dec 17, 2005
Posts: 25
Peter,

That's the kind of applications I would like to begin with.
Do you know of any books that specialize on this subject?
May I have a look at your code? (PM me)

Rocco.
[ May 23, 2006: Message edited by: Rocco Feri ]
Hema lata
Ranch Hand

Joined: Jan 24, 2005
Posts: 34
Originally posted by Rocco Feri:
I don't object with the idea of working for free, however I have no working experience on servlets and JSP!
That's why I would rather like to begin with a book/exercises/tutorials.
I don't ask from this kind of material to teach me how to implement an e-banking system, however I would be glad to be able to construct simple/popular web apps, what PHP/MySQL is good for.


Rocco,
You mention you have no "working" experince on servlets and jsp.!
Probably it's good idea to start working on simple "single" forms which you can think off. Like "feedback forms", "registraion pages" etc. That way you get to know logic behind the flow.

The above forms are basic necessities in portals, online stores etc.

Without having practical or working experince on jsp/servlets, jumping to creating of full fledged portals and forums etc,it would be too exhaustive.

I am also looking for books which have excercises and tutorials.
But Trust me, its worth to spend sometime creating single page or single form applications. And on net you get lots of tips and codes to create above pages.Then you can start looking for examples books paralley.


best wishes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Books, Practice Exercises & Tutorials on Servlets & JSP