为什么我们需要Java中的Application Server

时间:2021-11-26 22:26:21

Why do we need Application Server in Java like JBoss or WebSphere. Is it possible that we develop large scale website only with Java (Apache Tomcat). Where thousand of user connect on site at a moment. An example is a website like b2b.

为什么我们需要Java中的应用服务器,如JBoss或WebSphere。我们是否可能只使用Java (Apache Tomcat)开发大型网站?成千上万的用户同时在网站上连接。例如b2b网站。

What is the cost of a Application Server? I will be thankful if you compare price among different application server and if there is any free version kindly highlight it.

应用服务器的成本是多少?如果您能比较不同应用服务器之间的价格,如果有免费的版本,我将感激不尽。

4 个解决方案

#1


5  

Application Servers are mostly used if you want to use advanced features like transaction management, hot code swapping and advanced persistence.

如果您想要使用诸如事务管理、热代码交换和高级持久性等高级特性,那么应用程序服务器通常是使用的。

There is application servers that are open source. E.g. GlassFish and JBoss.

有一些应用服务器是开源的。如GlassFish和JBoss。

I don't think you need an application server for building a popular web site, you are fine with a servlet container like Tomcat or Jetty.

我认为您不需要应用服务器来构建流行的web站点,您可以使用Tomcat或Jetty之类的servlet容器。

#2


2  

In short Application Servers provide you with few services like

简而言之,应用服务器提供的服务很少

  • Transaction Management
  • 事务管理
  • Load Balancing
  • 负载平衡
  • Security
  • 安全
  • Threading
  • 线程

etc.

等。

You have to take care of these things yourself in a Web Server.

您必须在Web服务器中自己处理这些事情。

There are few Open Source Application servers which are free of cost.

几乎没有免费的开源应用服务器。

I have used Glassfish.

我已经使用Glassfish。

#3


2  

Apart from answers given above, App Servers are required for EJBs.

除了上面给出的答案之外,ejb还需要应用服务器。

#4


2  

You need Application Server as follow:

您需要Application Server如下:

  1. It provides you useful services like automatic transaction,Authentication,Authorization,Lifecycle management.
  2. 它为您提供有用的服务,如自动事务、身份验证、授权和生命周期管理。
  3. To remember large user data across pages using ejb's pertaining to a client.
  4. 通过使用ejb的有关客户端来跨页面记住大型用户数据。
  5. Load balance the user request and buisness logic.
  6. 负载平衡用户请求和事务逻辑。
  7. To interact with different Client UI like Java Swing,Browsers.
  8. 与不同的客户端UI(如Java Swing、浏览器)交互。

#1


5  

Application Servers are mostly used if you want to use advanced features like transaction management, hot code swapping and advanced persistence.

如果您想要使用诸如事务管理、热代码交换和高级持久性等高级特性,那么应用程序服务器通常是使用的。

There is application servers that are open source. E.g. GlassFish and JBoss.

有一些应用服务器是开源的。如GlassFish和JBoss。

I don't think you need an application server for building a popular web site, you are fine with a servlet container like Tomcat or Jetty.

我认为您不需要应用服务器来构建流行的web站点,您可以使用Tomcat或Jetty之类的servlet容器。

#2


2  

In short Application Servers provide you with few services like

简而言之,应用服务器提供的服务很少

  • Transaction Management
  • 事务管理
  • Load Balancing
  • 负载平衡
  • Security
  • 安全
  • Threading
  • 线程

etc.

等。

You have to take care of these things yourself in a Web Server.

您必须在Web服务器中自己处理这些事情。

There are few Open Source Application servers which are free of cost.

几乎没有免费的开源应用服务器。

I have used Glassfish.

我已经使用Glassfish。

#3


2  

Apart from answers given above, App Servers are required for EJBs.

除了上面给出的答案之外,ejb还需要应用服务器。

#4


2  

You need Application Server as follow:

您需要Application Server如下:

  1. It provides you useful services like automatic transaction,Authentication,Authorization,Lifecycle management.
  2. 它为您提供有用的服务,如自动事务、身份验证、授权和生命周期管理。
  3. To remember large user data across pages using ejb's pertaining to a client.
  4. 通过使用ejb的有关客户端来跨页面记住大型用户数据。
  5. Load balance the user request and buisness logic.
  6. 负载平衡用户请求和事务逻辑。
  7. To interact with different Client UI like Java Swing,Browsers.
  8. 与不同的客户端UI(如Java Swing、浏览器)交互。