This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Namespace capitalization problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Namespace capitalization problem" Watch "Namespace capitalization problem" New topic
Author

Namespace capitalization problem

Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
In Java 1.0 and Java 1.1 the domain extensions com, edu, org, net, etc., were capitalized by convention, so the library would appear: COM.abc.def. Partway through the development of Java 2, however, it was discovered that this caused PROBLEMS, and so now the entire package name is lowercase
What kind of problem ?
Does this mean that writing NameSpace in CAPS is an error ?
Regards,
Arijit


Regards,<br /> Arijit
Dinesh Kumar
Ranch Hand

Joined: Jul 03, 2002
Posts: 54
I don't think it's an error Arijit. It probably means that java converts them to lower case on its own.
The problems would occur in systems like Unix / Linux etc. where the case of package names matters as the system would treat a folder named "com" and another one named "COM" as being two different folders.
...Dinesh
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Thanks Dinesh
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12268
    
    1
In Java 1.0 and Java 1.1 the domain extensions com, edu, org, net, etc., were capitalized by convention, so the library would appear: COM.abc.def. Partway through the development of Java 2, however, it was discovered that this caused PROBLEMS, and so now the entire package name is lowercase

I worked alot with Java 1.0 and Java 1.1 and I don't recall ever seeing that usage anywhere. Where did you see it?
Bill


Java Resources at www.wbrogden.com
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
This was written in the book "Thinking in Java" Second Edition. by Bruce Eckel
Regards,
Arijit
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Namespace capitalization problem
 
Similar Threads
EJB30-JBOSS sample tutorial doesn't works!!
difference between static local variables and static global variables.
Problem with JBoss 4.0.3
Top Down Web Service - can we do name space mapping ?
Could not locate datasource in JBOSS 4.23 GA jndi.