Kesha Williams explains the benefits of using Java EE to build microservices and the latest API additions and improvements.
- [Instructor] Let's discuss some of the features that make Java EE the perfect choice for authoring web services. Java EE, or Enterprise Edition, is commonly referred to as an umbrella specification, covering more detailed specifications and extending JAVA SE, or Standard Edition, with Enterprise features that assist with developing and running large scale and multi-tiered applications. Java EE is developed using the Java Community Process and has contributions from experts in the industry from Java user groups all around the world, and even from individual developers.
Java EE is used by many companies, with over 20 compliant Java EE implementations to choose from. The Java EE Enterprise Edition platform is useful for writing web services as it provides complete web services support. There are two benefits. The first is that the framework provides support for SOAP-based web services via the Java API for XML Web Services, JAX-WS, which we will talk about in detail later.
The second benefit is that the framework also provides support for RESTful API's via the Java API for RESTful Web Services, JAX-RS, which we will also talk about later. This course has a focus on Java EE 7, which is a widely adopted Enterprise standard. When it comes to new web services related features and Java EE seven, JAX-RS 2.0 was relased, which includes the addition of a brand new client-side API, and asynchronous capabilities, servlet filters, and interceptors.
- Comparing when to use JAX-WS vs. JAX-RS
- Using JAX-RS annotations
- Accessing REST resources with JAX-RS
- Creating JAX-WS endpoints
- Writing RESTful services using JAX-RS
- Reading, writing, updating, and deleting data via endpoints
- Mapping to entities
- Error handling
- Testing web services
- Securing Java EE web services