Companies need distributed, transactional and portable applications: enterprise java applications fulfill the business logic for the enterprise.
Java platform provides APIs to developers and shortens developement time
The Java Community Process (JCP) writes Java Specification Requests (JSRs) to define the Java EE technologies
The Java EE 7 platform simplifies the programming model:
- Developers can use annotations in Java source files, instead of optional XML deployment descriptors. The Java EE server reads annotations and configures components at deployment and runtime
- With dependency Injection, required resources can be injected in component, instead of using JNDI lookup code. Dependency injection can be used in any container type: EJB container, web container and application client container. The container is aware of annotations and inject references to other component/resource
1 Java EE Application Model
Java EE applications implement enterprise services for customers, access data from different sources and distribute applications to a variety of clients
The business functions of Java enterprise applications are in the middle tier: the middle tier is usually on a dedicated server hardware.
The Java application model architecture implements the customer's services as multitier applications
The Java model partitions the work in two parts:
- business logic and presentation implemented by developers
- standard services provided by Java EE platform