Java EE 6 Environment Setup
Platform Highlights

This course takes an introductory look at Java Enterprise Edition and explains its main characteristics. We then continue to show you how to set up a Java EE 6 environment, which will be useful when following along with our Oracle Java EE 6 Programmer learning path.

Learning Objectives

  • Obtain a foundational understanding of Java EE 6
  • Learn how to install the necessary programs to begin using Java EE 6

Intended Audience

This course is intended for anyone who already has basic knowledge of Java and now wants to learn about Java EE 6.


Basic knowledge of Java programming.




Hello Dear friends. In this video, we will examine the Java 6 EE platform highlights. Let's begin. Enterprises today operate in a globally competitive environment. They require software applications to meet their increasingly sophisticated business requirements. Companies in today's globalized world are spread across continents, conducting business 24/7 over the Internet and across borders. And their systems must be internationalized and ready to deal with diverse currencies and time zones, all while cutting costs, improving service response times, keeping corporate data and trustworthy and secure servers and providing a variety of graphical user interfaces to consumers, employees and suppliers. It's also not rare that a company has to coordinate in house data stored in different locations, processed by multiple programming languages and routed through different protocols. And of course, it has to do this without losing money, preventing system crashes and being highly available, scalable and secure.

Enterprise applications have to face change in complexity and be robust. That's precisely why Java Enterprise edition as Java EE, was created. Java EE is a set of specifications intended for enterprise applications. It can be seen as an extension of Java SC to facilitate the development of distributed, robust, powerful and highly available applications. The most important goal of the Java EE 6 platform is to simplify development by providing a common foundation for the various kinds of components in the Java EE platform. Developers benefit from productivity improvements with more annotations and less XML configuration, more Plain Old Java Objects as POJOs and simplified packaging. The Java EE 6 platform includes the following new features: Specifically, the Java EE 6 platform introduces a lightweight web profile targeted at next-generation Web applications, as well as a full profile that contains all Java EE technologies and provides the full power of the Java EE 6 platform for enterprise applications.

Java EE 6 is an important milestone. Not only does it follow the steps of Java EE 5 by focusing on an easier development model, it also adds new specifications and brings profiles and pruning to make it lighter. Moreover, it profits from the dynamics of open-source communities as well as the rigor of the JCP. Today, Java EE is a well documented platform with experienced developers, a large community and many deployed applications running on company servers. Java EE is a suite of APIs to build standard component based multi tier applications. These components are deployed in different containers offering a series of services. Today, the term Jakarta EE is more commonly used than Java EE or J2 EE. Jakarta EE is a collection of software components and APIs for creating enterprise Java applications. Jakarta EE specifications extend Java SC, the standard edition Java programming language with ways to perform functions particularly useful for an enterprise application. However, our training covers an older version of Java EE.

So, we will use the term J2 EE throughout the course. Let's have a closer look at the Java 6 platform and its features. First, profile. Profiles are a major new feature in the Java EE 6 environment. Their main goal is to reduce the size of the platform to suit the developers needs more efficiently. No matter the size or complexity of the application you developed today, you will deploy it in an application server that offers you API and services for 28 specifications. A major criticism urged against Java EE was that it was too large. Profiles are designed precisely to address this issue. As you see in this image, profiles are subsets of the platform or super sets of it, and may overlap with the platform or with other profiles. Java EE 6 defines a single profile called the Web profile. Its aims is to allow developers to create web applications with the appropriate set of technologies. There were new technologies that came with Java 6. Of course, these technologies are old nowadays.

However, since we are explaining this training over Java 6, we need to talk about these innovations. The main goal of this release is to continue the improved ease of development introduced with Java EE 5. In Java EE 5, EJBs, persistent entities and web services, were remodeled to follow a more object-oriented approach and to use annotations as a new way of defining metadata. Java EE 6 follows this path and applies the same paradigms to the web tier. Today, a JSF managed bean is an annotated Java class with an optional XML Descriptor. Java EE also focuses on bringing simplicity to the platform by introducing profiles and pruning some outdated technologies. It adds more features to the existing specification while adding new ones, such as JAX-RS. More than before, Java EE applications are portable across containers with standard JNDI names and a specified embedded EJB container.

Let's move on to the new technologies defined by Java 6. These include: JAX-RS as Java API for RESTful web services, managed beans, contexts and dependency injection for the Java EE platform, bean validation and Java authentication service provider interface for containers. Also, new features were added for Java Servlets components, enterprise Java beans components and servlets. In the following videos, we will examine them in great detail. That's all I have for now. In the next video, we will examine the application model and distributed multi-tier applications. See you in the next video.


About the Author
Learning Paths

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.

Covered Topics