Are there any good tutorials / starting points you can suggest for me to develop my own Java libraries?
(I’m thinking about developing a small graphics library at the moment.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As you probably know a Java library is usually simply a jar-file containing some utility classes, aimed to solve problems at a higher level of abstraction than what the classes in the Java Platform API does. So, technically speaking you simply write the classes you would find useful to have in your library, compile them, jar them up and write some good documentation.
Writing useful libraries is a tricky business though. Rather than thinking in terms of what would be a nice design internally, you should think about what would be a nice design for the client to use.
I suggest you google for java api design. Here are a few useful hits: