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 7591839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:45:06+00:00 2026-05-30T20:45:06+00:00

When I go to JavaDocs I find some classes in java package while some

  • 0

When I go to JavaDocs I find some classes in java package while some are in javax. Then I came across javax vs java package.

What i get from this link
almost from all answers is that javax package is just an extension of java library. I mean first Java must had come with core Java libraries I.E. java package but when some more package got developed they released with javax. Right?

Some question which immediately comes to my mind as developer. What are implications these of differently named packages for a Java developer. Here are the questions and analysis:-

  1. Even if I agree javax is just extension of core java. But then again I see totally different packages like org.omg.CORBA etc. Why this is named javax.omg.CORBA?
  2. Do these packages like javax, org, come with standard JDK and JRE download? Do these need to be downloaded separately from JSE 1.6?
  3. Does the bootstrap classloader try to find the classes in these packages by default as it does in case of core Java classes (like java.lang).
  • 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-05-30T20:45:07+00:00Added an answer on May 30, 2026 at 8:45 pm

    I think it’s fairly arbitrary. As Jon Skeet says in his answer to the question you link to, much of it historical. A good example of this is javax.sql – it contains classes to do with JDBC that were originally part of J2EE, but which were brought into J2SE in 1.4. So now there is a pointless split of classes between java.sql and javax.sql. There’s no particular meaning attached to the java/javax split inside the JDK.

    1. The CORBA classes are where they are because they aren’t defined by the Java standard; they’re translations of interfaces defined in the CORBA specifications.
    2. There are plenty of javax.* packages that come with the standard J2SE JDK/JRE (javax.sql, javax.xml). There are also javax.* packages which don’t (javax.inject, javax.servlet, etc). But there are no java.* packages which are not in the JDK.
    3. I believe the bootstrap classloader loads java.* and javax.* classes alike.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ant to generate javadocs, but get this exception over and over -
What is the purpose of the classes in this package? I want to use
Just start to learn Java, and always see some tutorials mentioning, using the javaDoCs
I regularly observe obsolete classes and methods in Java API. I did not find
I have a sql exception from clojure that goes like this: java.lang.Exception: transaction rolled
i want to find out what classes need some javadoc love in my project.
I have multiple programmers contributing examples for javadocs and some examples contain comments formatted
If I use SMTPTransport ( http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/SMTPTransport.html ) as private static object for class that
When overriding the equals() function of java.lang.Object, the javadocs suggest that, it is generally
I can't find javadocs for jgit. I tried to build jgit with maven, but

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.