The course is part of this learning path
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.
- Obtain a foundational understanding of Java EE 6
- Learn how to install the necessary programs to begin using Java EE 6
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 packaging in Java EE. Let's begin. Components must be packaged in a standard formatted archive to be deployed in a container. Java SE defines Java archive files as having the file extension .jar and being used to compress many files such as Java classes, deployment descriptors, resources or external libraries into a single file, similar to the zip format. Java EE defines different types of modules that have their own packaging format based on this common jar format. An application client module contains Java classes and other resource files packaged in a jar file. This jar file can be executed in a Java SE environment or in an application client container. Like any other archive format, the jar file contains an optional META-INF directory for meta information describing the archive. The META-INF/MANIFEST.MF file is used to define extension and package-related data.
Together, these implement the connector architecture for a particular EIS. Resource adapter modules are packaged as jar files with a .rar extension commonly referred to as war file or a web archive. The optional web deployment descriptor is defined in the WEB-INF/web.xml file. If the war file contains EJB light beans, an optional deployment descriptor can be set at WEB-INF/ejb-jar.xml. Dependent jar files are stored in the WEB-INF-lib directory while Java class files are kept in the WEB-INF classes directory. I'm hoping that we now have a better understanding of Java EE packaging. In the next video, we will examine the Java 6EE APIs. See you in the next video.
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.