Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
where does a class come from?
- From: Stephen.Paulsen@xxxxxxxxxxxx (Stephen Paulsen)
- Subject: where does a class come from?
- Date: Thu, 30 Dec 1999 11:59:48 -0800
> -----Original Message----- > From: Adam Gifford [mailto:agifford@xxxxxxxxx] > > > Yes it probably should be, according to sun naming guidelines, > however a lot of software doesnt follow these guidelines. > > Of course i don tthink the guidelines say much what to do about > package naming for people who dont work for a company(or > write java on their personal time). JLS 7.7 "Unique Package Names" (revised) says: The first component of a unique package name is always written in all-lowercase ASCII letters and should be one of the top-level domain names, currently com, edu, gov, mil, net, org, or one of the English two-letter codes identifying countries as specified ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ in ISO Standard 3166, 1981. Because I'm in California, United States, I use package us.ca.paulsen.stephen.<foo> when I'm doing my own programming, and of course package com.synergex.<foo> on the job. http://www.co.sacramento.ca.us/ - Stephen > Timothy E Troy wrote: > > > Shouldn't the package name be com.netegrity.mitch.applet? > > > > ______________________________ Reply Separator > _________________________________ > > Subject: Re: where does a class come from? > > Author: Adam Gifford <agifford@xxxxxxxxx> at Internet > > Date: 12/30/1999 8:51 AM > > > > If you aren't using a package for your classes, > > i'd suggest changing them to use your own package. This should > > minimize the chances that conflicting classes are used. > > > > package mitch.applet; > > -- Stephen Paulsen @ Synergex Phone: +1 916.635.7300 Systems Programmer Fax: +1 916.635.6549 http://www.synergex.com mailto:stephen@xxxxxxxxxxxx --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Prev by Date: null peer in plugin1.2
- Next by Date: Properties - reposted
- Previous by thread: where does a class come from?
- Next by thread: For Object oriented programmers
- Index(es):