JB161 - JBoss and EJB3 for Java Developers

Tečaj zagotavlja podroben uvod v JBoss, EJB3 in J2EE in je idealna izbira za študente, ki že imajo osnovno znanje s področja Jave, vendar želijo svoje vedenje okrepiti. Tečaj se ne zaključi s samostojno certifikacijo, čeprav morajo udeleženci, ki želijo nadaljevati šolanje na Middleware tečaju, opraviti prav ta tečaj, ali pa uspešno opraviti uvrstitveni test.

Tečaj se odvija v angleškem jeziku. Vsebinski sklopi so:

Introduction to J2EE and EJB3

This module provides an overview of the J2EE platform architecture and EJB3 component model. It clearly defines J2EE, the motivation behind the design of the platform, the EJB3 components that comprise the J2EE 1.4 platform and provides an overview to the packaging and description of roles in J2EE development and management.

Servlets

This module provides the background and motivation that led to the creation of the Java Servlet specification as well as an overview of the servlet architecture. It covers basic HTTP request and parameter handling, HTTP Sessions, filters and web application lifecycle events. It also covers the Web Archive (WAR) packaging, how to use JBoss specific deployment descriptors for servlet configuration, and how to configure Tomcat connectors.

Java Server Pages

This presentation gives the background and motivation of the Java Server Pages specification and gives a foundation for JSP implementation. It covers JSP tags and directives, introduces MVC architecture concepts with JSP and EJB3 and how to make modifications to applications currently deployed with JSP pages with JBoss expanded directory deployments.

Naming Services and JNDI

This section describes the J2EE Naming Service, its role and how it is used. It explains the basics of the Java Naming and Directory Interface (JNDI) API and the configuration of the Naming Service. It also provides foundational details of JBossNS, the naming service implementation used by the JBoss application server.

Introduction to EJB3

This module provides a basic introduction to Enterprise Java Beans 3.0. It explains the case for server-side components, the declarative (via annotations and/or configuration files) programming approach of EJB components. It shows how EJB insulates "business code" from system code. This section Introduces the different kinds of EJB components: session, entity and message-driven beans and presents how to author with version 3.0 of this component specification. The student will learn how to specify a local and/ or remote POJI (plain old Java interface) for the simple POJO-based (plain old Java object) component. The module will show how to author EJB3 life-cycle listeners and listener classes and exception classes that may be specified to determine the completion of a transaction. This section will introduce the student to the completely new persistence model for entity beans and their embeddable classes. The module will conclude with an explanation of several architectural innovations found in the JBoss Application Server EJB3 container such as smart proxy technology. Smart Proxy technology adds "ease-of-use" to EJB3 deployment and backward compatibility to EJB2.x. It is integral to the highly configurable, "interceptor-based" EJB3 container.

EJB3: Stateless Session Beans

This module covers the stateless session bean in detail. EJB3 bean implementation, packaging and deployment will be addressed. Bean lifecycle and lifecycle listener classes, pooling and concurrency issues are covered as well as how to configure session bean pool sizes and author custom interceptor stacks. The student will learn how to create custom container configurations in JBoss and how to use the interface class name or a global JNDI mapping for bean location.

EJB3: Stateful Session Beans

# This module covers the stateful session bean in detail. Lifecycle listener classes, container annotations and interceptor classes for EJB3 stateful session beans are thoroughly examined. This module will provide a comparison between stateless and stateful session beans and why one would be chosen over the other. The student will learn how to configure a Stateful Session Bean cache and how to configure Stateless and Stateful Session Beans for clustering in JBoss.

EJB3: Entity Beans

This section covers the new persistence model for EJB3 (and J2SE) POJO components in detail. This includes addressing the interfaces, lifecycle and lifecycle listener classes, interceptor classes, simple and composite ids and queries in EJB3. Issues of concurrency, pooling and packaging and deployment are covered. The student will learn how to construct embeddable and composite id classes. The student will be introduced to the use of "dependency injection." The student will learn how to configure different commit options, mapping and fetching strategies, and how to manage basic datasource configuration for entity objects in EJB3.

Transaction Assembly

This module introduces the concept of transactional boundaries and how the transactional declarative tags (as annotations or tags in the configuration file) allow developers to control atomic units of work. A foundational overview of the two phase commit protocol and the handling of exceptions and rollbacks from within an EJB3 POJO is provided.

J2EE Security and JBoss

This section is an overview to the J2EE security topics. The student will be shown how to add access control to web applications, how to authenticate users and how to control access to EJB components. This module also shows how to setup and configure the numerous security domains, or login modules for a JBoss instance.

EJB3: Message Driven Beans (MDB) and the Java Message Service (JMS)

This module provides a comprehensive introduction to the Java Messaging Service and the JMS API. Point-to-point and publish-subscribe messaging domains will be covered as well as transactional JMS. The student will be shown how to work with an integrated JMS within the EJB3 component framework. An in-depth look in to Message Driven Beans (MDB) (for asynchronous communication with the EJB3 layer) will be provided. The student will learn how to create message driven beans within a transactional setting and how to deploy JMS connection factories, JMS destinations and message driven beans.

EJB3 Interceptors

This section describes the interceptors formalized in the EJB3 specification. Interceptors are stateless Java classes that work in the EJB3 container in a manner similar to the way Servlet 2.3 filters work in the Web container. EJB3 interceptors intercept the incoming business method invocations and the outgoing return message. This module describes how to author both global and class-specific interceptors and how the invocation state and an arbitrary payload can be shared among multiple interceptors via the InvocationContext object.

Web Services with EJB3

This section will provide an overview of the architecture and implementation of J2EE 1.4 web services. The student will learn how to expose EJB3 and Servlet components via a Web Services Definition Language (WSDL) document to enable remote XML RPC invocations to these components. The student will learn the basic approach of integrating the JBoss application server with legacy enterprise middleware and .NET.
 
 

Prijava

Trajanje: 4 dni
Lokacija: Housing Co. d.o.o., Vodovodna 100, 1000 Ljubljana

Potek tečaja:

Pričetek tečaja: 9:00
Konec tečaja: 16:30-17:00 (odvisno od poteka)

Cena: 2.650 EUR + DDV

 

Prijava na tečaje je možna samo za registrirane uporabnike.

Prijava

nov uporabnik

Več informacij...

Komu je tečaj namenjen?

Tečaj JBoss and EJB3 for Java Developers je namenjen razvijalcem s področja Jave, ki želijo razširiti svoje znanje na področju EJB3 and J2EE middleware programiranja z uporabo aplikacije JBoss Application Server. Tečaj zajema podrobno spoznavanje EJB3 and J2EE s pomočjo JBoss Application Server-ja. Udeležencem ponuja laboratorijski pristop pri spoznavanju razvoja in implamantacij aplikacij EJB3 in J2EE ter orodij, ki so za ta prosces potrebna.

Predznanje

Udeleženci naj bi imeli osnovno znanje programiranja v Javi in poznavanje OOAD konceptov. Pri tem je priporočljivo naslednje znanje:

  • Objektno-orientirani "koncepti dedovanja", polimorfizem in enkapsulacija
  • Javanska sintaksa, specifično za podatkovne tipe, spremenljivke, operatorje
  • Pisanje Java razredov in uporabo vmesnikov
  • Uporabo Java zbirk
  • Upravljanje z izjemami
  • Uporaba JDK in izgradnja okolja za prevajanje in poganjanje Java programov iz ukazne vrstice.
  • Za obisk tečaja ni potrebno predznanje J2EE ali JBoss aplikacijskega strežnika. Tečaj bazira na Jboss 3.2.x in 4.x.


Literatura

Udeleženci prejmejo uradno JBoss literaturo.