Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

package path names

Thread view: 
wizumwalt - 22 Mar 2006 02:45 GMT
Just curious about how most people name the package paths of a website
for a customer.

Do you normally make the packaging path under the name of the customer,
the name of the developing company, or ... does it depend on some other
conditions?

package com.customer.packages;

or

package com.development_co.packages;

or

?
Roedy Green - 22 Mar 2006 03:24 GMT
>package com.customer.packages;
>
>or
>
>package com.development_co.packages;

who own the code?  Is the code for that specific customer or it is
pretty generic?

In projects I have been involved in there was a strong distinction
between shared core code and customer specific application code. You
had to be much more careful about any mods to the core system, since
it could make all manner of quiescent projects stop working.

Just from the point of view of maintaining uniqueness, I think
packages should be named after the shop that wrote them.  That way you
can be sure you won't get clashes. The name of the customer comes
somewhere in the package structure after the com.mindprod part.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

William Z. - 22 Mar 2006 04:42 GMT
>>package com.customer.packages;
>>
[quoted text clipped - 4 lines]
> who own the code?  Is the code for that specific customer or it is
> pretty generic?

The code is for that specific customer, but I was wondering if it's
common practice for the shop that wrote the code to put in their name as
sort of a sig, responsible, ...

> In projects I have been involved in there was a strong distinction
> between shared core code and customer specific application code. You
> had to be much more careful about any mods to the core system, since
> it could make all manner of quiescent projects stop working.

The customer wouldn't know how to maintain the code, and I was wondering
if there might also be some sort of benefit for the shop that wrote it
to put their name in, or if it should even be put in.

> Just from the point of view of maintaining uniqueness, I think
> packages should be named after the shop that wrote them.  That way you
> can be sure you won't get clashes. The name of the customer comes
> somewhere in the package structure after the com.mindprod part.

Interesting.
Roedy Green - 22 Mar 2006 05:16 GMT
>The code is for that specific customer, but I was wondering if it's
>common practice for the shop that wrote the code to put in their name as
>sort of a sig, responsible, ...

what is the package name for?

1. to ensure uniqueness.

2. to figure out where to go to find the latest class files or the
source.

Both of those suggest using the author's name rather than the
customer's as primary.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Chris Smith - 22 Mar 2006 06:50 GMT
> The customer wouldn't know how to maintain the code, and I was wondering
> if there might also be some sort of benefit for the shop that wrote it
> to put their name in, or if it should even be put in.

Comments work for making a note of who wrote the code, if that's your
goal.  If you don't own the code, then don't use your company name as a
package.  Your customer may not have the expertise to maintain the code,
but they could hire such expertise, or contract the job to a third
party... in any such case, your package name would soon become rather
out of place.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Chris Smith - 22 Mar 2006 06:39 GMT
> Just curious about how most people name the package paths of a website
> for a customer.
>
> Do you normally make the packaging path under the name of the customer,
> the name of the developing company, or ... does it depend on some other
> conditions?

I haven't thought much about it, but I suppose it would depend on who
will own the code.  If this is code being written for hire so that the
customer would own the code, then you'd want to name packages after the
customer.  If it's developed and then licensed to the customer but you
intend to retain ownership, then use your own company name in the
package.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

tom fredriksen - 22 Mar 2006 12:35 GMT
> I haven't thought much about it, but I suppose it would depend on who
> will own the code.  If this is code being written for hire so that the
> customer would own the code, then you'd want to name packages after the
> customer.  If it's developed and then licensed to the customer but you
> intend to retain ownership, then use your own company name in the
> package.

That's my thoughts exactly. Ownership of the code is the key and it
should be stated in the contract who owns it and what rights each part
has for future use, maintenance, cost/pay etc
There can of course be other considerations, but that would have to be
considered individually and should be in the contract.

/tom


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.