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.
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 ]
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:
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.
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.
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.