This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Memorizing API's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Memorizing API Watch "Memorizing API New topic
Author

Memorizing API's

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
Q1) Please assist how we can remember all the methods names of the following API's.Please let me know if there technique or menomics created to remember them?

ServletRequest
ServletResponse
HttpServletRequest
HttpServletResponse
Httpsession
ServletContext
ServletConfig
RequestDispatcher
Chinmaya Chowdary
Ranch Hand

Joined: Apr 21, 2008
Posts: 432
Hi, Amolpalekar.

As far I know, the best way to remember is practice them. Observe them, how they are working. Test them with different inputs.
Ankit Mishra
Ranch Hand

Joined: Jul 15, 2009
Posts: 40
Try to see that http specific methods you will find in HttpServlet,, HttpServletRequest, HttpResponse. Similarly Servlet related you will find in other two interfaces.

Apart from this there are methods which will you find in Request, Session and Context scopes so they will be common to all three.

And yes practice will make you more clear in these concepts.

Regards,
Ankit Mishra (SCJP 5.0 93%), (SCWCD 5.0 97%)
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

There is not need to 'memorize' them as such. As you keep working with them the the important methods just stick to your head.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
GeeCON Prague 2014
 
subject: Memorizing API's