Is this a valid java package name?
Possible duplicate:
What package naming convention do you use for personal / hobby Java projects?
I made the site name google sites sites.google.com/sites/abc.(abc not real name)
Will mcl.abc.sites.com.google.sites be valid for the package name.
EDIT: Whoops com.google.sites.abc.mcl
Really? Yes. Ordinary? Probably not.
Java conventions generally recommend package names as the website address (e.g. your company) in reverse order e.g. com.google.foo.
Learn more about the legend here .
you can use any name, but if it really matches the criteria you are using, I recommend the following criteria:
1) avoid using country.company.util (I am working on a project that the company changes 3 times by name, so you can see in the same project names as: com.companyname1.util, cl.companyname2.util, com. companyname3.util) 2) you can use names: dev.utils or apiname.commons.utils or any other criteria
Well, I hope this clears up your doubts.
The standard coding convention for packages in Java overrides the domain name.
Given your example,
sites.google.com/sites/abc
com.google.sites.abc.mcl