• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to create your own API

 
hassan ali
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I want to now what is steps tha make me can one day abile to write my own API.
please in steps .
title off book to start from it .
Thank you
 
Ricky Clarkson
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any time you write a class that is general purpose, you are writing an API. You probably just need to know about jar files (which is how general purpose things tend to be distributed).

You can see the source code of the JDK in src.zip in the JDK directory, so you can work out from that how typical APIs are written. Be warned though, not all APIs are created equal (java.util.Date - spit! cough!).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!