Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can anyone recommend programming exercises?

 
Robert Miller
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to servlets and JSP, and I'm working my way through the Deshmukh book in order to learn the material. So far my big disappointment with the book is the lack of programming exercises, since I find them indispensable when it comes to learning new material. None of the other books I've looked at seem to have them, either.

Can anyone recommend a book or a website that has programming exercises, preferably geared toward the exam objectives?

Thanks!

Robert
SCJP
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I was working on SCWCD, I practiced by creating a sample web application that incorporated all the major facets of the test. I coded an application that allowed users to log in and be authenticated. It included session management, custom tags, and a mechanism for informing users of exceptions in a friendly way. Basically, what I'm saying is, if you don't understand something, just throw it into a sample web application and make it work. You are more aware of the areas you need clarification on than someone who is writing a general exercise. Good luck.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder whether there are books that really contain programming exercises.

As you may know, even in SCJP, and even if you use the excellent SCJP book by Kathy and Bert, the book does not contain lots of programming exercises. This can be forseen becos it is not that easy to give you a *suitable* size programming exercise for a particular concept.

In addition, SCWCD or SCBCD are exams that based on knowledge, not programming skills. If you wanna work with real programming skills, you may consider SCJD.

The best alternative way maybe, as other always said, try out the example, or code sample, and test various concepts. This already help a lot.

Nick
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Robert Miller:
I'm new to servlets and JSP, and I'm working my way through the Deshmukh book in order to learn the material. So far my big disappointment with the book is the lack of programming exercises, since I find them indispensable when it comes to learning new material.


Hi Robert,

What kind of exercises do you expect from such type of book ? This is not "how to program" book. This is a certification preparation book. And the purpose of such book is quite different from purpose of "Servlets in Action", or "JSP in Action", or "XXXX in Action". Because if you know how to program Servlets this does not mean you will pass SCWCD - general ability to program and certification objectives quite different things.

Unlike many other books - Hanumant's book has pretty good examples which cover all concepts, and you can download
updated for Tomcat 4.1.X examples. Have you tried them ?

best regards,
MZ
 
Robert Miller
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not trying to criticize the Deshmukh book. It's just that none of my other reading material, including the O'Reilly servlets book, has much in the way of application, either. I'm hoping to get more out of this process than just being able to pass the test, but I find that applying the material helps me learn it better so I can pass the test.

What I may end up doing is just making up my own web application and then adding features that match the objectives. I'm sure it would look very strange in the end. :-)

Robert
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic