Talking about WebLogic and Tomcat

Source: Internet
Author: User
Tags jboss

 

The development of the Java EE is primarily a structure of interaction between the browser and the server. The logic is processed in the background, and then the results are transferred back to the browser. It is important to be able to see that the server is in this architecture.

These days exposed to two kinds of Java webserver, do the project with Tomcat, watching the video look at the WebLogic Server (WLS), are webserver, what is the difference and contact?

(a) Introduce the two types of servers first.

WebLogic is a application server produced by BEA, which is a Java EE-based middleware, and the latest version number WebLogic server 9.0 is the most Outstanding BEA Application Server published to date. BEA WebLogic is a Java application server for developing, integrating, deploying, and managing large-scale distributed web applications, Web applications, and database applications. Introduce the dynamic capabilities of Java and the security of Java Enterprise standards into the development, integration, deployment, and management of large-scale network applications. Fully follow the Java EE 1.4 specification.

Tomcatserver is a free open source Web application server, a core project of the Apache Software Foundation's Jakarta Project, developed by Apache, Sun, and other companies and individuals. Because of its advanced technology, stable performance, small system resources, scalability, support for load balancing and e-mail service, and so on, it is very important that she is free, so she is loved by Java enthusiasts and has been recognized by some software developers. Become a more popular Web application server right now. And because of open source, it is constantly improving and intact, regardless of what an interested program ape can change it or add new features to it.

(b) The same point:

Both WebLogic and Tomcat are Java-based infrastructures to meet real-time processing needs, and different version numbers are compatible with the JDK version number, and because they're all about interacting with the foreground, they're all based on the Sun's servlet.

(c) different points:

functionality :

WebLogic more powerful. WebLogic is the application server (application server) of the Java EE, including EJB, JSP,SERVLET,JMS and so on, all-round. Is the first container in commercial software (JSP, servlet, EJB, etc.), and provides other tools such as Java editing, is a comprehensive development and execution environment.

WebLogic should be the Java EE Container (Web Container + EJB Container + XXX specification)!

Tomcat can only be counted as a Web Container, an officially designated Jsp&servlet container. Only implement the relevant specifications of Jsp/servlet, not support EJB (mishap AH)! only Tomcat with JBoss and Apache can implement the Java EE Application Server feature

In general, consider stucts and other architectures such as Tomcat, but assuming that EJB is considered, WebLogic is a better choice.

Scalability:

Java, which executes the standard with WebLogic, may not be the best way to support something in WebLogic, though it was developed on a purely Java basis, but not in any other tool. With its excellent clustering technology, WebLogic server has the performance, scalability, and high availability required to handle critical Web application issues.

WebLogic server implements both a Web page cluster and an EJB component cluster, and does not require any specialized hardware or operating system support. A Web page cluster enables transparent replication, load balancing, and representation of content fault tolerance.

Whether it is a Web cluster or a component cluster, the scalability and availability required for an e-commerce solution are critical. Shared client/server and database connections, as well as data caching and EJBS, enhance performance. This is what other Web applications don't have.

So WebLogic is far beyond Tomcat in terms of extensibility.

on the cost:

Tomcat Open source is free.

WebLogic not open source is not free.

In short, WLS is a lot better than Tomcat in terms of power and scalability and usability, but that doesn't make it clear that WLS is suitable for every aspect, and the use of Tomcat can be seen as a very popular feature of Tomcat, though it has limited functionality. In fact, the key is to see what you do.

Tomcat is the free open source Jsp,servlet engine, the entry level of webserver, and just getting started by it people using Tomcat is easy to get started with. And it's a lightweight application server, the most important of which is that it is free, so in small and medium-sized systems and concurrent access to the user is not very many occasions are widely used, is the first choice to develop and debug JSP programs. Tomcat is lighter and consumes less resources. Of course, when the project is big, WLS is sure to be suitable only, and Tomcat can not meet too much demand, but the cost of WLS is not to be underestimated.

In short, the key to see what you do, weigh the pros and cons to make choices.

In addition, there are other Java application Server, such as: IBM WebSphere, Sun GlassFish, resin, etc. Apache is the most widely used httpserver in the world, free of charge. The same open source free JBoss, domestic manufacturers are also produced like the Tongweb, Kingdee apusic application Server and so on. are widely used.

Talking about WebLogic and Tomcat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.