Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8129063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:08:54+00:00 2026-06-06T08:08:54+00:00

I read in Sun official documentation (or Sun online tutorial) about dotted naming for

  • 0

I read in Sun official documentation (or Sun online tutorial) about dotted naming for jar archives.
Was it ever encouraged to name jar artifacts like com.company.project.smallestdistributable.jar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T08:08:55+00:00Added an answer on June 6, 2026 at 8:08 am

    Generally this happens from time to time because the dotted naming convention can simulate a namespace within a system that doesn’t really handle namespaces.

    In your case, you would be simulating the “com.company.project” namespace within the filesystem, with a resolution of “smallestdistributable.jar”.

    No Java documentation I have ever read (that’s since about 1.2) has ever suggested using a naming system like this for JAR files. While one cannot know for sure why it was never recommended, one can guess. Earlier systems did not see the dotted extension as simply a part of the name, but sometimes saw them as a classifier. In the earliest systems, names and classifiers had very tight constraints on how many characters were allowed, and only a pattern of [NAME].[CLASSIFIER] was permitted by the file system. A JAR file (by the way, it’s 3 characters because if you wanted file names to be portable, that’s the longest classifier available on the filesystem with the shortest classifiers) that contained an extra period would break the filesystem’s understanding of the file, so

    com.company.project.smallestdistributable.jar
    

    would be seen as

    file: com
    extension: company.project.smallestdistributable.jar
    

    except actually it wouldn’t even get that far, because extensions could not have extensions.

    I have seen some newer projects, that don’t concern themselves with [8].[3] naming conventions add the namespace to the jar file name, but it seems to be a new idea, and not something that was explicitly promoted outside of those development areas.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read the Sun documentation and a lot of posts on Stack Overflow, but
This is driving me crazy. I read the Sun's tutorial regarding the creation of
I read the Java tutorials on Sun for JAR files, but I still can't
I just read the Trail on RMI from sun at http://java.sun.com/docs/books/tutorial/rmi/implementing.html When I run
I'm trying to access java.sun.com so I can read their documentation on speech recognition
I've often read that in the Sun JVM short-lived objects (relatively new objects) can
Read about Server push here . I want to push data to client from
Read about the issue in this stackoverflow question . Still have the same issue
I read an article about a regular expression to detect base64 but when I
Having read the documentation for VPython and GTK threading , it seems to me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.