Difference Between java & javax
Answer Posted / 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 |
Post New Answer View All Answers
Why are some of the class and element names counter-intuitive?
What is meant by method chaining?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What is a sessionfactory? Is it a thread-safe object?
Can I use javascript to submit a form?
What is synchronization and why is it important?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
What are JTA/JTS and how they used by client?
What value does readline() return when it has reached the end of a file?
What is the form of storage space in java?
What does module-relative mean?
Why does the option tag render selected=selected instead of just selected?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What are externizable interface?
Why a client should be multithreading? Explain.