thx a lot

I'm just trying to learn too much things at the same time, and some
basic pitfalls are bothering me more than they should.


On 28 abr, 22:05, "Ikai L (Google)" <ika...@google.com> wrote:
> Here's a quick link about Java package naming:
>
> http://java.sun.com/docs/books/jls/second_edition/html/packages.doc.html
>
> You shouldn't use dashes or camelCase. Note that this isn't a domain - it's
> a package hierarchy.
>
> From the link:
>
> "The name of a package is not meant to imply where the package is stored
> within the Internet; for example, a package named edu.cmu.cs.bovik.cheese is
> not necessarily obtainable from Internet address cmu.edu or fromcs.cmu.edu or
> from bovik.cs.cmu.edu. The suggested convention for generating unique
> package names is merely a way to piggyback a package naming convention on
> top of an existing, widely known unique name registry instead of having to
> create a separate registry for package names."
>
>
>
> On Wed, Apr 28, 2010 at 12:04 PM, joradom <jora...@gmail.com> wrote:
> > it's a common way to name the packages after the domain:
> > ie: com.google.samples ....
>
> > but if you have a '-' in the domain name, it is not allowed
> > ie: my-domain.com
>
> > can't use: com.my-domain.samples
>
> > is there a way to espcape this? or a prefered way to name the package?
>
> > com.my_domain.samples? com.myDomain.samples?
>
> > i know it's a very stupid question :) but i hope to get a clever
> > answer.
>
> > thx
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> Ikai Lan
> Developer Relations, Google App Engine
> Twitter:http://twitter.com/ikai
> Delicious:http://delicious.com/ikailan
>
> ----------------
> Google App Engine links:
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to