In the existing Java web development, the most well-known open-source application servers are Tomcat, Jboss, and Resin. Currently, these three open-source application servers are widely used, the main reasons are as follows:
1.Tomcat is a Java Web Application Server fully supported by Apache. It is widely used in the open source field due to its excellent stability and rich documentation.
2.As a Java EE application server, Jboss is not only a Servlet container, but also an EJB container, which is welcomed by enterprise developers and makes up for the shortcomings of Tomcat as a Servlet container.
3.Resin is just a Servlet container. However, due to its excellent running speed, Resin is favored in the lightweight Java Web field, especially in the Internet Web service field, many well-known companies use it as their Java Web application servers, such as 163 and ku6.
The main commercial application servers are Weblogic and Websphere. I used Weblogic for a long time and used it only as a Servlet container. However, under the same conditions, it is much better than Tomcat in terms of performance and ease of use.
Today, I would like to introduce you to a Java EE server launched by Sun, a famous company. Glassfish is a free and open-source application service that implements Java EE 5, java EE 5 platform includes the following latest technologies: EJB 3.0, JSF 1.2, Servlet 2.5, JSP 2.1, JAX-WS 2.0, JAXB 2.0, Java Persistence 1.0, Common Annonations 1.0, StAX 1.0, etc, for some other advantages of Glassfish, you can visit the official website (https://glassfish.dev.java.net) for reference, I am mainly want to tell you about the simple installation and use of Glassfish. The details are as follows:
Glassfish installation in windows
1. Download Glassfish Server v2.1 from the GlassFish official website (https://glassfish.dev.java.net/public/downloadsindex.html.
2. create a Java directory under drive C and place the downloaded jar files in the directory (note that the Glassfish file is a jar file, not a zip or tar file, in this way, you can install Java in both windows and linux, which I think is very good ).
- Four pages in total:
- Previous Page
- 1
- 2
- 3
- 4
- Next Page