Einsatz von Komponenten in JEE am Beispiel von IMIXS

Similar documents
Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Deccansoft Software Services. J2EE Syllabus

SUN Enterprise Development with iplanet Application Server

Java EE 5 Development for WebSphere Application Server V7

11-15 DECEMBER ANTWERP BELGIUM

Building the Enterprise

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

IBM Enterprise Connectivity with J2EE V1.3.

Java EE 7: Back-End Server Application Development

Fast Track to EJB 3.0 and the JPA Using JBoss

NetBeans IDE Field Guide

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Enterprise JavaBeans, Version 3 (EJB3) Programming

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

Leverage Rational Application Developer v8 to develop Java EE6 application and test with WebSphere Application Server v8

Distributed Multitiered Application

Enterprise JavaBeans. Layer 05: Deployment

Installing and Configuring the Runtime Processes 2

open source community experience distilled

BEAWebLogic. Server. Deploying Applications to WebLogic Server

CO Java EE 7: Back-End Server Application Development

New Features in EJB 3.1

Oracle 10g: Build J2EE Applications

BEA WebLogic Server R EJB Enhancements

<Insert Picture Here> Productive JavaEE 5.0 Development

Implementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p.

index_ qxd 7/18/02 11:48 AM Page 259 Index

JVA-163. Enterprise JavaBeans

J2EE Packaging and Deployment

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Developing Applications with Java EE 6 on WebLogic Server 12c

Spring Dynamic Modules

jar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Practice Test. Oracle 1z Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam. Version: 14.

SUN Sun Cert Bus Component Developer Java EE Platform 5, Upgrade. Download Full Version :

Creating Mediation Handler for WAS 8.5 using EJB 3.0 Author: Hemalatha Rajendran

Oracle Corporation

Chapter 6 Enterprise Java Beans

Comparing JavaBeans and OSGi

J2EE Interview Questions

S A M P L E C H A P T E R

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

IBM. Developing with IBM Rational Application Developer for WebSphere Software V6

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

Oracle Fusion Middleware

The 60-Minute Guide to Development Tools for IBM Lotus Domino, IBM WebSphere Portal, and IBM Workplace Applications

Java EE 6: Develop Business Components with JMS & EJBs

RealVCE. Free VCE Exam Simulator, Real Exam Dumps File Download

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

Web Application Architecture (based J2EE 1.4 Tutorial)

Specialized - Mastering JEE 7 Web Application Development

JAVA WEBAPPS UND SERVICES ON ORACLE JAVA CLOUD SERVICE

Leverage Rational Application Developer v8 to develop OSGi application and test with Websphere Application Server v8

WHAT IS EJB. Security. life cycle management.

Techniques for Building J2EE Applications

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

WebSphere Application Server for z/os I'm Not a Dummy But...

Component-based Architecture Buy, don t build Fred Broks

JBoss SOAP Web Services User Guide. Version: M5

EclipseLink. Solutions Guide for EclipseLink Release 2.6. June Beta Draft

WAS V7 Application Development

Courses For Event Java Advanced Summer Training 2018

web.xml Deployment Descriptor Elements

Enterprise JavaBeans. Layer:01. Overview

Functional Specification for Deployment Author(s):

Search Engines Chapter 2 Architecture Felix Naumann

SCBCD EXAM STUDY KIT. Paul Sanghera CX JAVA BUSINESS COMPONENT DEVELOPER CERTIFICATION FOR EJB MANNING. Covers all you need to pass

Problems in Scaling an Application Client

WebSphere Application Server What s new in WAS V7.0 for Developers

Java EE Patterns 176

Oracle9iAS TopLink. 1 TopLink CMP for BEA WebLogic Server. 1.1 EJB 2.0 Support. CMP-Specific Release Notes

Migration Guide. SAP Web Application Server Release 6.40 J2EE and Web Dynpro for Java

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Oracle Banking APIs. Part No. E Third Party Simulation Guide Release April 2018

Hands-on Development of Web Applications with Java EE 6

ITdumpsFree. Get free valid exam dumps and pass your exam test with confidence

CHAPTER 6. Organizing Your Development Project. All right, guys! It s time to clean up this town!

In the most general sense, a server is a program that provides information

Developing Applications for Oracle WebLogic Server g Release 1 (10.3.6)

Contents at a Glance

IBM WebSphere Application Server 8. Java EE 6 Feature Packs

Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat

Deployment Manual. SAP J2EE Engine 6.20

Component-Based Software Engineering. ECE493-Topic 5 Winter Lecture 26 Java Enterprise (Part D)

Das Seminar kann zur Vorbereitung auf die Zertifizierung als Microsoft Certified Solutions Developer (MCSD): SharePoint Applications genutzt werden.

presentation DAD Distributed Applications Development Cristian Toma

AdminCamp. IBM Connections. Arnd Layer IBM Collaboration Solutions Competency Leader Web 2.0 & Social SW Gelsenkirchen,

Oracle Fusion Middleware

Not just an App. Server

Fast Track to EJB 3.0

A General ecommerce Platform with Strong International and Local Aspects

Java EE 6 - Update Harpreet Singh GlassFish Portfolio Product Manager

MyEclipse EJB Development Quickstart

Transcription:

Einsatz von Komponenten in JEE am Beispiel von IMIXS the open source workflow technology Ralph.Soika@imixs.com Imixs Software Solutions GmbH Best IBM Lotus Sametime Collaboration Extension Imixs Software Solutions GmbH Nordendstr. 2, 80799 München Tel.: +49(89) 45 21 36 0 http://www.imixs.com http://www.imixs.org 12.09.10 Imixs 1

Agenda Warum Komponenten? Deployment von EJB Komponenten in Java EE 6 Diskussion 12.09.10 Imixs 2

Die Angst vor Java EE... EJB WEB Modul JAAS JNDI Deployment EJB light Transaction JPA JPQL Java EE ist eine Komponenten Architektur Java EE applications are made up of components. A Java EE component is a selfcontained functional software unit that is assembled into a Java EE application with its related classes and files and communicates with other components. 12.09.10 Imixs 3

Was ist eine Komponente? Eine Software Komponente ist ein Software Element, das konform zu einem Komponentenmodell ist und gemäß einem Composition Standard ohne Änderungen mit anderen Komponenten verknüpft und ausgeführt werden kann. Eine Komponente zeichnet sich also dadurch aus, dass sie ein Element einer komponentenbasierten Anwendung darstellt und definierte Schnittstellen zur Verbindung mit anderen Komponenten besitzt. Ohne Änderung ausführbar Konfigurierbar Verknüpfbarkeit Hohe Wiederverwendbarkeit 12.09.10 Imixs 4

JEE Roles Reusable modules make it possible to divide the application development and deployment process into distinct roles so different people or companies can perform different parts of the process. Application Component Provider The application component provider is the company or person who creates web components, enterprise beans, applets, or application clients for use in J2EE applications.? Application Assembler The application assembler is the person who gets application components and assembles them into a application EAR file. The assembler or deployer can edit the deployment descriptor directly or use tools that correctly add XML tags according to interactive selections. Entwickler 12.09.10 Imixs 5

Beispiel Imixs JEE Components The Imixs JEE is a full featured Management System (WFMS) based on the JEE specification. The project extends the Imixs API project to fulfill the requirements to a scalable, transactional, robust and simple deployable Java EE System. Definition und Verwaltung von Modellen Erstellen, Ausführen und Persistierung von Prozessinstanzen Bereitstellen von Aufgaben und Statuslisten Zugriffsmanagement einer Prozessinstanz Prozessdokumentation compliance Funktionen Archivierung, Versionierung 12.09.10 Imixs 6

Imixs JEE Components Architektur JPA Komponente Entity Beans Java Persistence Service Interfaces EJB Komponente Session Beans Implementierung Business Logic Web SOAP REST XML 12.09.10 Imixs 7

Java EE 6 Komponenten Deployment EAR / + META INF/ application.xml my_ejb_module.jar my_web_module.war EAR mit externen Komponenten / + META INF/ application.xml my_ejb_module.jar my_web_module.war imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar 12.09.10 Imixs 8

Java EE 6 Komponenten Deployment EAR mit externen Komponenten / + META INF/ application.xml + my_ejb_module.jar ejb jar.xml sun ejb jar.xml persistence.xml my_web_module.war imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar @annotations!! no deployment descriptor! 12.09.10 Imixs 9

Java EE 6 Komponenten Deployment INFO: [AutoDeploy] Selecting file /opt/glassfishv3/glassfish/domains/domain1/autodeploy/imixs workflow jsf sampleear 0.0.2 SNAPSHOT.ear for autodeployment. SCHWERWIEGEND: Class [ Lorg/imixs/workflow/jee/ejb/EntityService; ] not found. Error while loading [ class org.imixs.workflow.jee.soap.modelwebservicebean ] WARNUNG: Error in annotation processing: java.lang.noclassdeffounderror: Lorg/imixs/workflow/jee/ejb/EntityService; SCHWERWIEGEND: Class [ Lorg/imixs/workflow/jee/ejb/Service; ] not found. Error while loading [ class org.imixs.workflow.jee.rest.jaxrs.service ] WARNUNG: Error in annotation processing: java.lang.noclassdeffounderror: Lorg/imixs/workflow/jee/ejb/Service; SCHWERWIEGEND: Exception while deploying the app java.lang.illegalargumentexception: Referencing error: This bundle has no bean of name [EntityServiceBean] 12.09.10 Imixs 10

Java EE 6 Komponenten Deployment EAR mit externen Komponenten / + META INF/ application.xml + my_ejb_module.jar ejb jar.xml sun ejb jar.xml persistence.xml my_web_module.war imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar 12.09.10 Imixs 11

Java EE 6 Komponenten Deployment EAR mit externen Komponenten / + META INF/ application.xml + lib/ imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar + my_ejb_module.jar ejb jar.xml sun ejb jar.xml persistence.xml my_web_module.war 12.09.10 Imixs 12

Java EE 6 Komponenten Deployment SCHWERWIEGEND: Cannot resolve reference Remote ejb ref name=org.imixs.demo.app.appserviceonebean/demoservicesecond,remote 3.x interface =org.imixs.demo.demoservicesecond,ejb link=null,lookup=null,mappedname=,jndiname=,reftype=session because there are 2 ejbs in the application with interface org.imixs.demo.demoservicesecond SCHWERWIEGEND: Exception while deploying the app java.lang.runtimeexception: Cannot resolve reference Remote ejb ref name=org.imixs.demo.app.appserviceonebean/demoservicesecond,remote 3.x interface =org.imixs.demo.demoservicesecond,ejb link=null,lookup=null,mappedname=,jndiname=,reftype=session because there are 2 ejbs in the application with interface org.imixs.demo.demoservicesecond at com.sun.enterprise.deployment.util.ejbbundlevalidator.accept(ejbbundlevalidator.ja va:569)... 12.09.10 Imixs 13

Java EE 6 Komponenten Deployment EAR mit externen Komponenten / + META INF/ application.xml + lib/ imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar + my_ejb_module.jar ejb jar.xml sun ejb jar.xml persistence.xml my_web_module.war Not allowed! No Entity or EJBs! 12.09.10 Imixs 14

Java EE 6 Komponenten Deployment EAR mit externen Komponenten / + META INF/ application.xml Manifest Version: 1.0 + my_ejb_module.jar Class Path: imixs workflow jee impl 2.1.0.jar ejb jar.xml imixs workflow jee 2.1.0.jar sun ejb jar.xml persistence.xml MANIFEST.MF my_web_module.war imixs workflow jee 2.1.0.jar imixs workflow jee impl 2.1.0.jar 12.09.10 Imixs 15

Weitere Quellen im Internet: http://www.imixs.org http://doc.imixs.org/jee/deployment.html http://www 02.imixs.com/roller/ralphsjavablog/entry/jee6_and_packaging_an_ear http://forums.java.net/jive/thread.jspa?messageid=382643 noch Fragen? 12.09.10 Imixs 16