Possible Duplicate:
What package naming convention do you use for personal/hobby projects in Java?
I am learning Java and have found a problem. I would need a domain name for my packages, but I don’t have one. I wouldn’t like to use my email address. So should I make an account on SourceForge or GitHub and use that? If so, which one is best? Or is there another, better method?
Thanks
A common naming scheme used is the following (
|means or):country|org|com.name.applicationName.subpackagesNameis either a company or your name. And after theapplicationNameyou start all your subpackages (that is what I mean in the end) e.g.util,ui,dbetcFor example if you are John Dave from England use
en.jdave.smartapp.ui.core.forms. Or Marcus German From Germany:de.mgerman.smartapp.ui.core.formsetc