java和核心java有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2000349/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference between java and core java?
提问by dmr
When looking at job openings on-line, I noticed that some openings required knowledge of "core Java". What is core java and how is different from java?
在网上查看职位空缺时,我注意到有些职位空缺需要“核心 Java”的知识。什么是核心 Java,它与 Java 有何不同?
采纳答案by John Feminella
"Core Java" is Sun's term, used to refer to Java SE, the standard editionand a set of related technologies, like the Java VM, CORBA, et cetera. This is mostly to differentiate from, say, Java ME or Java EE.
“Core Java”是Sun 的术语,用于指代Java SE、标准版和一组相关技术,如Java VM、CORBA 等。这主要是为了区别于 Java ME 或 Java EE。
Also note that they're talking about a set of libraries rather than the programming language. That is, the underlying way you write Java doesn't change, regardless of the libraries you're using.
另请注意,他们谈论的是一组库而不是编程语言。也就是说,无论您使用什么库,您编写 Java 的基本方式都不会改变。
回答by iandisme
I think when you see the phrase "core Java," they are talking about the basics of the language and maybe some knowledge of Java SE. I don't know why they would bother to put the "core" on there.
我想当你看到“核心 Java”这个词时,他们在谈论语言的基础知识,也许还有一些 Java SE 的知识。我不知道他们为什么要费心把“核心”放在那里。
回答by digitaljoel
Some companies will put "core java" to differentiate from Java EE, but it's still just your basic Java.
有些公司会用“core java”来区分Java EE,但它仍然只是你的基础Java。
回答by Michael Borgwardt
It's not an official term. I guessit means knowledge of the Java language itself and the most important parts of the standard API (java.lang, java.io, java.utils packages, basically), as opposed to the multitude of specialzed APIs and frameworks (J2EE, JPA, JNDI, JSTL, ...) that are often required for Java jobs.
这不是官方术语。我想这意味着了解 Java 语言本身和标准 API 的最重要部分(基本上是 java.lang、java.io、java.utils 包),而不是大量的专用 API 和框架(J2EE、JPA 、JNDI、JSTL 等),这些通常是 Java 作业所需的。
回答by N.S.Karthik
According to some developers, "Core Java" refers to package API java.util.*
, which is mostly used in coding.
根据一些开发者的说法,“Core Java”是指包 API java.util.*
,主要用于编码。
The term "Core Java" is not defined by Sun, it's just a slang definition.
Sun 没有定义“Core Java”这个词,它只是一个俚语定义。
J2ME / J2EE still depend on J2SDK API's for compilation and execution.
J2ME / J2EE 仍然依赖于 J2SDK API 的编译和执行。
Nobody would say java.util.*
is separated from J2SDK for usage.
没有人会说java.util.*
与J2SDK分开使用。
回答by Venktesh Prasanna Vittal
"Core Java" is Sun Microsystem's term, used to refer to Java SE. And there are Java ME and Java EE (J2EE). So this is told in order to differentiate with the Java ME and J2EE. So I feel Core Java is only used to mention J2SE.
“Core Java”是 Sun Microsystem 的术语,用于指代 Java SE。还有 Java ME 和 Java EE (J2EE)。所以说这是为了与Java ME和J2EE区分开来。所以我感觉Core Java只是用来提J2SE的。
Happy learning!
快乐学习!
回答by Roman Nikitchenko
"Core Java" is Oracle's definition and refers to subset of Java SE technologies.
“Core Java”是 Oracle 的定义,指的是 Java SE 技术的子集。
This actually is not related to Java language itself but rather to set of some 'basic' packages. As a result it affects development approaches.
这实际上与 Java 语言本身无关,而是与一些“基本”包的集合有关。因此,它会影响开发方法。
Currently Java Core is defined as a following set:
目前 Java Core 被定义为以下集合:
- Basic technologies
- CORBA
- HotSpot VM
- Java Naming and Directory Interface (JNDI)
- Application monitoring and management
- Tools API
- XML
- 基础技术
- CORBA
- 热点虚拟机
- Java 命名和目录接口 (JNDI)
- 应用监控和管理
- 工具API
- XML
But as you probably understand even term 'basic technologies' is somewhat unclear ;-) so this is not so strict definition. Here is official page for this term:
但是正如您可能理解的那样,即使术语“基本技术”也有些不清楚;-) 所以这不是那么严格的定义。这是该术语的官方页面:
Here is another picture illustrating Java Core API / technologies inside Java SE platform.
这是另一张说明 Java SE 平台内的 Java Core API / 技术的图片。
回答by user3543845
Core java is a sun term.It mentions the USE,it means it contains only basics of java and some principles and also contain some packages details.
Core java是一个太阳术语,提到USE,表示只包含java的基础知识和一些原理,也包含一些包的细节。
回答by Inr
"Core Java" is Sun's term, used to refer to Java SE, the standard edition and a set of related technologies, like the Java VM, CORBA, et cetera. This is mostly to differentiate from, say, Java ME or Java EE.
“Core Java”是 Sun 的术语,用于指代 Java SE、标准版和一组相关技术,如 Java VM、CORBA 等。这主要是为了区别于 Java ME 或 Java EE。
Also note that they're talking about a set of libraries rather than the programming language. That is, the underlying way you write Java doesn't change, regardless of the libraries you're using.
另请注意,他们谈论的是一组库而不是编程语言。也就是说,无论您使用什么库,您编写 Java 的基本方式都不会改变。
回答by Dinuka Malalanayake
There are two categories as follows
有以下两类
- Core Java
- Java EE
- 核心Java
- Java EE
Core java is a language basics. For example (Data structures, Semantics..etc) https://malalanayake.wordpress.com/category/java/data-structures/
核心 java 是一门语言基础。例如(数据结构、语义等)https://malalanayake.wordpress.com/category/java/data-structures/
But if you see the Java EE you can see the Sevlet, JSP, JSF all the web technologies and the patterns. https://malalanayake.wordpress.com/2014/10/10/jsp-servlet-scope-variables-and-init-parameters/
但是如果你看到 Java EE,你就会看到 Sevlet、JSP、JSF 所有的 Web 技术和模式。https://malalanayake.wordpress.com/2014/10/10/jsp-servlet-scope-variables-and-init-parameters/