Most Popular Posts

08/04/2013

Java vs J2EE vs JEE - Java Enterprise Edition Explained

TL;DR


  • Java - is a programming language
  • JEEJava Enterprise Edition based on Java 1.5+ - is a platform as a collection of technologies based on Java, for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing  highly available, scalable, secure, modular applications.
  • J2EE - older 'version' of J2EE based on java <1.5
  • JEE = Web Clients (HTML/XML) + Web Components (Servlets/ JSP) + Business Components (EJBs)
  • JEE Components - self-contained functional software assembled into JEE application with its related classes and files, and communicates with other components. In most cases component provides specific function and is part of a larger program and runs within container. Example components:
  • JEE Container - maintains individual components, it is the interface between a component and the low-level platform specific functionality that supports the component. Before a Web, enterprise bean, or application client component can be executed, it must be assembled into a J2EE application and deployed into its container.
  • JEE Modules - one or more JEE components for the same container type and one component DD (Deployment Descriptor) of that type.








Details:

JEE stands for:

"Java Enterprise Edition based on Java 1.5+ - is a platform as a collection of technologies based on Java, for developing and deploying enterprise applications"


JEE consists of many different technologies. Main parts are:

Application Components - Components are self-contained functional software assembled into JEE application with its related classes and files, and communicates with other components. In most cases component provides specific function and is part of a larger program and runs within containerExample components:
  • Client components - Application clients / applets
    • native/ 'fat' applications
    • applets on the user side

Containers - Every kind of component sits within a container and has one container.
Containers also provide a declarative mechanism for configuring applications and components during assembly or deployment through the DD (deployment Descriptors). Inside one container we can have several applications with different DDs. Example containers:
  • Web Containers
    • Web Containers provide runtime support for the user requetsts and produce responses based on the form and variables in the request. Process usually startes the execution of Servlets or JSP.
  • EJB Containers
    • These provide EJB (Enterprise Java Beans) components by automated support for transaction, security, persistence, and life cycle management of deployed components. 
  • Resource managed drivers - resource adapters
    • these are mainly drivers that provide connectivity to an external components. 

9 comments:

  1. I always visit your blog.it's really informative for us..Thank you.

    Java and J2EE Training in Chennai - AmitySoft

    ReplyDelete
  2. Amazing blog about the various informative information on the programming languages.
    Java Training in Chennai

    ReplyDelete
  3. Hello, The Program was really appreciatible . we are TIB Academy
    Pleas do let us if u have any problem with any other program let us
    know we will for sure solve it thank you


    https://goo.gl/PPYJHC

    ReplyDelete
  4. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog...Java Training in Chennai

    ReplyDelete
  5. The Java 2 Platform Enterprise Edition (J2EE) is a set of coordinated specifications and practices that together enable solutions for developing, deploying, and managing multi-tier server-centric applications. Building on the Java 2 Platform, Standard Edition (J2SE), the J2EE platform adds the capabilities necessary to provide a complete, stable, secure, and fast Java platform to the enterprise level.

    ReplyDelete
  6. Ciitnoida provides Core and java training institute in

    noida
    . We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-

    oriented, java training in noida , class-based build

    of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an

    all-time high not just in India but foreign countries too.

    By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13

    years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best

    Java training in Noida.

    java training institute in noida
    java training in noida

    ReplyDelete
  7. Best explanation ever, previously I was looking for a info about this technology and now I am Clear. Thanks.

    Selenium Training in Chennai
    Selenium Course in Chennai
    Selenium Training
    Selenium Courses in Chennai

    ReplyDelete