Home » Tutorials » Java Tutorials » Enterprise Java Tutorials

Enterprise Java Tutorials

Enterprise Java Tutorials
In this detailed Resource page, we feature an abundance of Enterprise Java Tutorials!

Java Platform, Enterprise Edition (Java EE), formerly Java 2 Platform, Enterprise Edition (J2EE), currently Jakarta EE, is a set of specifications, extending Java SE 8 (i.e. not based on latest Java 11; while can also work with later it or later than Java 8) with specifications for enterprise features such as distributed computing and web services. Java EE applications are run on reference runtimes, that can be microservices or application servers, which handle transactions, security, scalability, concurrency and management of the components it is deploying.

Java EE is defined by its specification. The specification defines APIs and their interactions. As with other Java Community Process specifications, providers must meet certain conformance requirements in order to declare their products as Java EE compliant.

Examples of contexts in which Java EE referencing runtimes are used are: e-commerce, accounting, banking information systems.

What’s New in Java EE 8

Java EE 8 continues to improve API and programming models needed for today’s applications and adds features requested by our world-wide community. This release modernizes support for many industry standards and continues simplification of enterprise ready APIs. Enhancements include:

  • Java Servlet 4.0 API with HTTP/2 support
  • Enhanced JSON support including a new JSON binding API
  • A new REST Reactive Client API
  • Asynchronous CDI Events
  • A new portable Security API
  • Server-Sent Events support (Client & Server-side)
  • Support for Java SE 8 new capabilities (e.g. Date & Time API, Streams API, annotations enhancements)

Specifications

Java EE includes several specifications that serve different purposes, like generating web pages, reading and writing from a database in a transactional way, managing distributed queues.

The Java EE APIs include several technologies that extend the functionality of the base Java SE APIs, such as Enterprise JavaBeans, connectors, servlets, JavaServer Pages and several web service technologies.

Note
If you wish to build up your Core Java knowledge first, check out our 150 Java Interview Questions and Answers – The ULTIMATE List.

Enterprise Java Tutorials – Web specifications

Learn about the web specifications of J2EE

  • Servlet – (Java Servlet Tutorial – The ULTIMATE Guide)
    Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems.

    Here are some more of our examples:
    Sample Java Servlet
    In this example we are going to see how to create a simple Java Servlet.
    Basics of Servlets Tutorial
    In this article we will cover the basics of Servlets using Java 8, in a servlet 3.1 compliant container.

  • WebSocket – (Java Servlet Websocket Example)
    The Java API for websocket provides both client and server api’s and can be found in the javax.websocket javax.websocket.server packages accordingly.
  • Expression Language (EL) – (JSP Expression Language Tutorial)
    EL means the Expression Language, which is used for accessing the data and makes it possible to easily access the application data stored in the JavaBean’s components and other objects.

Enterprise Java Tutorials – Web service specifications

Learn about the web service specifications of J2EE

  • JAX-RS – (JAX-RS Web Service Example)
    JAX-RS stands for RESTful Web Services. JAX-RS is a set of APIs to develop the REST services. It is part of the Java EE6 and makes developers to develop the REST web application easily.

    Here are some more of our examples:
    JAX-RS Security Example
    In this article we are going to keep it simple and demonstrate how transport layer security could be introduced.
    JAX-RS Client Example
    In this article we are going to present an example code of writing a JAX-RS Client.

  • JAXB – (JAXB Tutorial for Java XML Binding – The ULTIMATE Guide)
    JAXB stands for Java Architecture for XML Binding. It offers the possibility to convert Java objects into XML structures and the other way around. JAXB comes with the JRE standard bundle since the first versions of the JRE 1.6.

    Here are some more of our examples:
    JAXB Hello World example
    With this example we shall show you how to work with the JAXB framework in Java.
    JAX-WS JAXB Example
    In this example, I will build a JAX-WS service with three steps.

  • JSON-P
    Java API for JSON Processing is a set of specifications to manage information encoded in JSON format.
  • JSON-B
    Java API for JSON Binding provides specifications to convert JSON information into or from Java classes.

Enterprise Java Tutorials – Enterprise specifications

Learn about the enterprise specifications of J2EE

  • JTA – (Spring JTA example)
    Java Transaction API contains the interfaces and annotations to interact with the transaction support offered by Java EE.
  • JMS – (Apache ActiveMQ Tutorial for beginners)
    Java Message Service provides a common way for Java programs to create, send, receive and read an enterprise messaging system’s messages. To use JMS, one must have a JMS provider (e.g. Apache ActiveMQ) that can manage the sessions, queues and topics.

    Here are some more of our examples:
    Apache ActiveMQ “Hello World” Example
    In this example, we shall show you how to make use of ActiveMQ as a message broker for exchanging messages between applications connected via a network.
    Apache ActiveMQ Best Practices Tutorial
    In this tutorial, you will learn how to develop a few Java applications which integrate ActiveMQ to send and receive messages to and from destinations.

Enterprise Java Tutorials – Other specifications

Finally here are some other specifications of J2EE

  • Bean Validation
    This package contains the annotations and interfaces for the declarative validation support offered by the Bean Validation API. Bean Validation provides a unified way to provide constraints on beans (e.g. JPA model classes) that can be enforced cross-layer. In Java EE, JPA honors bean validation constraints in the persistence layer, while JSF does so in the view layer.
  • JSR-352 – (JDBC Batch Processing Example)
    Batch Applications provide the means to run long running background tasks that possibly involve a large volume of data and which may need to be periodically executed.

    Here are some more of our examples:
    JDBC Batch Update Example
    This article presents a simple example of performing JDBC Batch Update. It assumes that the reader is familiar with the JDBC (Java DataBase Connectivity) API which is just one of the tools in Java for connecting to a database from a client.
    java.sql.BatchUpdateException – How to resolve Batch Update Exception
    In this example I will discuss about BatchUpdateException and how to resolve it. This exception is thrown when an error occurs during a batch update operation. It provides (among others) the update counts for all commands that were executed successfully during the batch update.

  • JCA
    Java EE Connector Architecture is a Java-based technology solution for connecting application servers and enterprise information systems (EIS) as part of enterprise application integration (EAI) solutions. This is a low-level API aimed at vendors that the average application developer typically does not come in contact with.
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy