Comparison between the J2SE and the Java

Source: Internet
Author: User

Now think about it as long as you know the principle, technology is through, and there is no point. Think of this comparison between the pros and cons of the two.

    1. J2SE is the Client-server way, that is to say the client needs our own definition, such as javaswing,windows forms, etc., server side Data is typically passed using the WebService architecture or network communication between sockets.

2.J2EE is the server-server mode, meaning that the customer UI and data services are programmed on the server side. The customer UI usually refers to a browser, which includes PC-side, mobile-phone, tablet-PC and other different devices.


3. Pros and cons

J2se

1. Advantages: can achieve separate client and server programming, to achieve decoupling, easier division of labor. The client is compiled to better handle complex logic such as message service, complex reports, etc.

2. Insufficient: Each release of the customer needs to install or upgrade, to version control and operations to bring additional burdens.

J2ee

1 Advantages: The advantage of the Java EE is to unify the UI interface, customers using pre-installed browser only need to enter a simple URL address, can learn from each other's front-end style and HTML tags, etc. Browser-provided third-party plug-ins can enable users to have a better experience such as Firefox restclient, custom bookmarks and so on. Developers publish the project just server-side publishing, users do not need to install any client software, just the appropriate upgrade browser version, the current web development of browser compatibility is also progressing.

2 Insufficient: the use of server-side programming can not achieve low coupling, customer UI using Docment protocol +CSS, etc., for large UI design complex business logic can not be very good adaptation such as Nivacate if HTML implementation? QQ Chat using the browser, easy to use?


Comparison between the J2SE and the Java

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.