Difference Between java & javax

Answers were Sorted based on User's Feedback



Difference Between java & javax..

Answer / kani

javax is an extension of java.
some new packages like servlet, EJB, swing, etc are included
in javax.

Is This Answer Correct ?    52 Yes 4 No

Difference Between java & javax..

Answer / jigs

A package is introduced as an addition to an existing JRE,
it comes in as javax. If it's first introduced as part of a
JRE (like NIO was, I believe) then it comes in as java. Not
sure why the new date and time API will end up as javax
following this logic though... unless it will also be
available separately as a library to work with earlier
versions (which would be useful).
A classloaders are set up to only allow classes within
java.* to be loaded from rt.jar or something similar.
(There's certainly a check in ClassLoader.preDefineClass.)

Is This Answer Correct ?    19 Yes 8 No

Difference Between java & javax..

Answer / sarfaraz ahamad

We know that java is a folder that contains specific JRE and
APIs and javax is letest folder that also contain J2EE
related JRE and APIs, So we can say both are diff folders
those contains diff diff purposes related APIs.

Is This Answer Correct ?    7 Yes 5 No

Difference Between java & javax..

Answer / veerendra kumar

javax is an extension of java,JAVA language contains set of
predefined packages,thouse packages are classified into two
types according to Sun Microsystem,they are JSE Packages,JEE
Packages,if we want to import JSE PACKAGES we need java,
even though JSE contains one Technology like JDBC some times
we need to work with javax,and all JEE Technologies we must
use import javax like(SERVLETS,JSP,EJB)

Is This Answer Correct ?    5 Yes 4 No

Difference Between java & javax..

Answer / vikas jaiswal

Originally, everything that was part of the standard API was part of the java package, whereas everything that was not part of the standard API was released under the package name javax. Hence, packages essential to the API was java, while javax contained the extensions to the API. It can even be said that javax, is just java with an x, which stands for extension.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Why use POJO when I can use hashmap

0 Answers   Infotech,


What is a class loader? What are the different class loaders used by jvm?

0 Answers  


How primary key is implemented in Oracle?

0 Answers  


How database connectivity in XML is achieved?

0 Answers  


What are preemptive scheduling and time slicing and what is the difference between them?

1 Answers  






What event results from the clicking of a button?

0 Answers  


Can I use multiple html form elements with the same name?

0 Answers  


What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }

2 Answers   Wipro,


How JNDI is used in JMS ?

1 Answers  


How many times may an objects finalize() method be invoked by the garbage collector?

0 Answers  


What is the difference between system.out ,system.err and system.in?

0 Answers  


What is UniCastRemoteObject and what is its use in RMI?

6 Answers  


Categories