VS级封装VS模块组件VS VS VS容器VS服务在Java世界的平台

编程入门 行业动态 更新时间:2024-10-27 10:34:28
本文介绍了VS级封装VS模块组件VS VS VS容器VS服务在Java世界的平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是新手,Java世界(7岁低水平纯C的)。

I am newbie to Java world (7 years of low level plain C).

当我开始阅读与Java相关的网站:

When I start read Java related sites:

  • wiki.apidesign/wiki/Main_Page
  • static.springsource/spring/docs/3.1.x/spring-framework-reference/html/
  • wiki.apidesign/wiki/Main_Page
  • static.springsource/spring/docs/3.1.x/spring-framework-reference/html/

我现有的术语迷惑:

  • 模块
  • 组件
  • 容器
  • 服务
  • 框架
  • 平台

我发现很多资源约条款的定义(以及更多):

I found many resources about terms definition (and a lot more):

  • 框架与工具包与图书馆
  • Difference框架和容器之间?
  • 什么是Java
  • 集装箱
  • 定义
  • martinfowler/articles/injection.html (控制容器和依赖注入模式的反转)
  • www.cafeaulait/course/week8/36.html (什么是AWT容器?)
  • en.wikipedia/wiki/Web_container
  • netbeans/features/platform/ (NetBeans平台)
  • 什么是&QUOT意味着,应用程序框架和QUOT;?
  • What是一个框架?它有什么作用?为什么我们需要一个框架
  • What是一个框架和一库?
  • 之间的区别
  • What是一个类库和框架
  • 之间的区别
  • What是一个JavaScript框架和图书馆之间的区别?
  • What是一个框架和工具?
  • 之间的主要区别
  • blog.orderharmony/2011/07/libraries-vs-frameworks.html
  • www.java$c$cgeeks/2012/04/frameworks-vs-libraries-as-inheritance.html
  • Framework vs. Toolkit vs. Library
  • Difference between framework and container?
  • What are the containers in Java
  • Definition of a Java Container
  • martinfowler/articles/injection.html (Inversion of Control Containers and the Dependency Injection pattern)
  • www.cafeaulait/course/week8/36.html (What is a AWT Container?)
  • en.wikipedia/wiki/Web_container
  • netbeans/features/platform/ (The NetBeans Platform)
  • What is meant by "application framework"?
  • What is a framework? What does it do? Why do we need a framework
  • What is the difference between a framework and a library?
  • What is the difference between a class library and a framework
  • What is the difference between a JavaScript framework and a library?
  • What is the major difference between a framework and a toolkit?
  • blog.orderharmony/2011/07/libraries-vs-frameworks.html
  • www.javacodegeeks/2012/04/frameworks-vs-libraries-as-inheritance.html

但这些资源的定义他们自己的目的,我仍然不能明显的从分量一般情况下,例如模块。

but each of these resources define them on its own purpose and I still can't distinct for example module from component in general case.

请解释大局这些术语的意思是什么(可以是单级平台,做一个容器需要哪些模块的数量,等等)。

Please explain what means of these terms in big picture (can be single class a platform, what amount of modules is required to make a container, etc).

推荐答案

类一类是用于创建基于类的面向对象编程对象的蓝图;你应该学会OOP的基本知识,了解什么是对象,一类是什么,什么是继承,多态,封装学习别的关于Java之前。

class A class is the blueprint for creating objects in class-based object-oriented programming; you should learn the basics of OOP and understand what an object is, what a class is, what is inheritance, polymorphism, encapsulation before learning anything else about Java.

包包是一个命名空间;它让你处理命名冲突。它基本上可以让你有一个名为职工两班,如果他们在不同的包。

package A package is a namespace; it let's you handle naming conflicts. It basically lets you have two classes named Employee, if they are in different packages.

模块这可能是指的方式,Java库的销售和使用 - JAR,WAR,EAR

module It probably refers to the way that Java libraries are distributed and used - JAR, WAR, EAR.

组件可视为AWT基类的GUI(或JComponent中在Swing),也可以被看作是一种类型的EJB - 一个POJO(简单Java对象),以满足一些要求;有可能有其他含义,并且取决于上下文

component Can be regarded as the base class of GUI in AWT (or JComponent in Swing) or can be seen as a type of EJB - a POJO (Plain Old Java Object) that meets some requirements; it is possible to have other meanings and depends on context.

容器在企业应用中,你明明使用的一些库和Java EE最终;有关Java EE库的事情是,它仅提供了API接口,而不是实现。然后,你写和内置应用程序部署到容器服务器附带了Java EE API的实现。有两种类型的容器:Web容器(仅涉及到执行网络的具体技术)和完整的Java EE容器(自带实现Web和其他Java EE技术的 - 命名服务,持久性,事务等)

container In enterprise application you obviously use some libraries and Java EE eventually; the thing about the Java EE library is that it only provides the API interface and not implementation. Then, the application you have written and built is deployed into a container server which comes with the implementation of the Java EE API. There are two types of containers: web containers (only comes to implementation of web specific technologies) and full Java EE containers (comes with implementation of web and other Java EE technologies - naming services, persistence, transactions etc).

服务有在Java中没有特殊的意义。这可能与Web服务基本上提供对网络进程间通信的一个高层次的方法。

service There is no special meaning in Java. It may be related to web services which basically provide a high-level approach of Inter Process Communication over network.

平台有在Java中没有特殊的意义;它可以被看作是潜在的显影平台(Windows,Linux)或与云趋势它可以指平台作为一种服务,其中云提供商自带的基础设施和其他基本软件(操作系统,数据库,容器)。

platform There is no special meaning in Java; it can be seen as the underlying developing platform (Windows, Linux) or with the cloud trend it may refer to Platform-as-a-Service where the cloud provider comes with the infrastructure and other basic software (OS, database, container).

更多推荐

VS级封装VS模块组件VS VS VS容器VS服务在Java世界的平台

本文发布于:2023-11-07 06:55:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565820.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:容器   组件   模块   世界   平台

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!