javax vs java package

前端 未结 7 1140
长发绾君心
长发绾君心 2020-11-29 14:30

What\'s the rationale behind the javax package? What goes into java and what into javax?

I know a lot of enterprise-y packages are in javax, but so is Swing, the new

7条回答
  •  温柔的废话
    2020-11-29 15:17

    Javax used to be only for extensions. Yet later sun added it to the java libary forgetting to remove the x. Developers started making code with javax. Yet later on in time suns decided to change it to java. Developers didn't like the idea because they're code would be ruined... so javax was kept.

提交回复
热议问题