How-to use ipojo factories

Size: px
Start display at page:

Download "How-to use ipojo factories"

Transcription

1 How-to use ipojo factories Overview»» Home Why choose ipojo Success stories Features Download Documentation»» Getting Started»» ipojo in 10 minutes Using Annotations Maven tutorial Advanced tutorial Using Distributed OSGi Application Composition Describing components»» Requiring a service Providing a service Lifecycle management Configuration Introspection Impacting the lifecycle Asynchronous communication

2 JMX management Extender pattern Whiteboard pattern User Guide»» Temporal dependencies ipojo and config admin Factories and Instances XML Schemas API Testing components Eclipse Integration FAQ Reference Card Advanced Topics»» Javadoc Handler development Manipulation Metadata Tools»» Ant Task Dive into the ipojo Manipulation depths Eclipse Plugin Maven Plugin arch shell command Online Manipulator Webconsole plugin Junit4OSGi Support Misc»»

3 Supported JVMs Supported OSGi Implementations ipojo's Dark Side Blog Article & Presentations ASF Sponsorship Sponsors ipojo Factories Principles ipojo defines a factory for each declared component type. These factories are used to create component instances. This document presents how to declare instances and configure them. The API to create, dispose and reconfigure instances is also explained.

4 Preliminary Concepts Component Type Component Instance How-to declare instances inside metadata files Creating, disposing and reconfiguring instances with the API Creating instances Disposing created instance Reconfiguring instance Accessing services exposed by created instances How to use the ManagedServiceFactory to create, disposed and reconfigure instances

5 Preliminary Concepts Component Type A component type is a kind of instance template. If we compare component concepts with object oriented programming, component types are classes and component instances are objects. A component type is declared inside a metadata file (generally named 'metadata.xml'). The next snippet shows you a component type declaration: <component classname="..." name="myfactory">... <!--component type configuration -->... </component> A component type declaration begins generally by '<component>' and is composed by: An implementation class ('classname', mandatory). The 'classname' attribute indicates the qualified name of the class implementing the component. A name ('name') Handler configuration (see handler guide) The 'name' attribute contains the factory name. If not specified, the 'classname' attribute is used as the factory name. This factory name is used to refer to the factory (and consequently to the component type). A factory can be public or private. A public factory allows creating instances dynamically and from other bundles. A private factory can only be used to create instances by declaring them in the same metadata.xml file that defines the instances' component type (i.e. in the same bundle). By default, factories are public. To set the factory to private add the 'public="false"'' attribute in the '<component>' element, such as: <component classname="..." name="myprivatefactory" public="false">... <!--component type configuration -->... </component> Public factories offer different ways to create instances: Instances can be declared in ipojo descriptor in any bundle (i.e. from any metadata.xml file) Instances can be created dynamically by using the API. Two APIs are provided the ipojo Factory API and the OSGi Configuration Admin API Indeed, ipojo will publish two services to access the factory through the API: org.apache.felix.ipojo.factory : ipojo Factory Interface org.osgi.service.cm.managedservicefactory : Config Admin Interface The factory name will be used as the service.pid property for those services. The service.pid is unique and persists between framework restarts. The service.pid of the factory equals the factory name. This allows identifying factories exposed in the service registry. Factories are either valid or invalid. You can't create instances until a factory becomes valid. A factory is invalid if required handlers are missing. This issue occurs only if the component type uses external handlers. Component Instance A component instance is an instance of a component type. For example, if a component type declares 'providing' and 'requiring' services, then the component instances will actually expose and require those services. Several instances can be created from one factory, but all these instances will be managed as different entities, and so are independent. A component instance is characterized by: a component type (the factory name) an instance name (used to identify the instance, is unique)

6 a configuration : a set of <key, value> couple A factory keeps a reference to each created instance. If the factory stops, goes away, or becomes invalid, all created instances are stopped and are destroyed. To create an instance, the creation request (describing the instance to create) must refer to the factory (by using the factory name), and provide the instance configuration. This configuration can specify the instance name ('instance.name' property). Be aware that this name must be unique. If not specified, ipojo will generate a unique name. A factory can refuse the creation if the configuration is not acceptable or if the factory is invalid. An unacceptable configuration is a not suitable configuration in regard to component type. Reasons for unacceptable configuration are: The instance name is not set or not unique A property required by the component type is missing inside the configuration A pushed property has a wrong type How-to declare instances inside metadata files The main way to create instances is to declare those instances inside the ipojo descriptor file (i.e. 'metadata.xml'). Those declarations can use either public factories from any bundle, or private factories from the same bundle. Private factories are generally used to guaranty singleton instance as instances can only be created inside the same bundle. When a instance declaration targets an external public factory, it will wait until the factory becomes available. So, the instance will be created only when the factory appears and is valid. If the factory disappears after the instance creation, the instance is disposed and will be recreated as soon as the factory comes back. The next snippet shows how to declare an instance in the metadata: <instance component="component factory name" name = "instance name" > <property name="a property name" value="a string form of the value"/> <property name="another prop name" value="the string form value "/> </instance> An instance declaration must contain the 'component' attribute. This attribute specifies the factory name (i.e. the component type). It can use either the factory name or the class name. The 'name' attribute allows setting the instance name. If not set, ipojo will generate a unique name for you. Then, instances can declare properties. Those property are mostly key-value pair. The key refer to a property name from the component type declaration such as in: <component classname="..." name="my-factory"> <properties> <property name="foo" field="m_foo"/> </properties> </component> <instance component="my-factory "> <property name="foo" value="bla bla bla"/> </instance> The string-form of the property value will be use to create the real object at runtime. If an unacceptable configuration is set, the instance is not created, and an error message appears to the console (and in the Log Service if present). Instance declaration properties can be more complex than only 'key-value'. It can contains structure like list, map, dictionary and arrays such as in:

7 <instance component="a.factory" name="complex-props"> <!--Creates a string array--> <property name="array" type="array"> <property value="a"/> <property value="b"/> <!--Creates a list containing string--> <property name="list" type="list"> <property value="a"/> <property value="b"/> <!--Creates a dictionary containing string--> <property name="dict" type="dictionary"> <property name="a" value="a"/> <property name="b" value="b"/> <!--Creates a map containing string--> <property name="map" type="map"> <property name="a" value="a"/> <property name="b" value="b"/> <!--A complex type can contains any other complex objects:--> <property name="complex-array" type="array"> <property type="list"> <property value="a"/> <property value="b"/> <property type="list"> <property value="c"/> <property value="d"/> <!--Empty structures will create empty objects--> <property name="empty-array" type="array"/> <property name="empty-list" type="list"/> <property name="empty-map" type="map"/> </instance> Instance name and factory name The instance.name and factory.name property should not be set directly. ipojo will manage those properties. The instance. name is simply created from the instance.name attribute of the instance declaration or from the factory-name-x where X is an integer. Creating, disposing and reconfiguring instances with the API A public factory is accessible through an exposed service ( org.apache.felix.ipojo.factory ). This service is accessible as any other OSGi service, and could be an ipojo dependency using a LDAP filter or the 'from' attribute such as in:

8 <component classname="..."> <!-- These two requirement descriptions are equivalent --> <requires field="a_field" filter="(factory.name=factory-name)"/> <requires field="another_field" from="another-factory"/> </component> Creating instances Once you have a reference on the factory you can create instance with the 'createcomponentinstance' method. ComponentInstance createcomponentinstance(java.util.dictionary configuration) throws UnacceptableConfiguration, MissingHandlerException, ConfigurationException This method returns a reference on the created instance. As you see, the method receives a dictionary containing the instance configuration. This configuration contains key-value pairs. However, values are either object (of the adequate type) of String used to create objects. This configuration can be 'null' if no properties have to be pushed. Instance Name The 'instance.name' property can be used to specify the instance name. Instances are automatically started when created. However, the instance can be invalid, if at least one handler is not valid). The instance creation process can fail. Three exceptions can be thrown during the creation: UnacceptableConfiguration means that mandatory properties are missing in the instance configuration MissingHandlerException means that the factory is not valid (i.e. an external handler is missing) ConfigurationException means that the instance configuration has failed. The cause can be either an issue in the component type description or an invalid property type. If an error occurs, a comprehensive message is reported in order to solve the issue. The next snippet shows an example of instance creation: // Assume we get a Factory in the fact field Properties props = new Properties(); props.put("instance.name","instance-name"); props.put("foo", "blablabla"); try { instance = fact.createcomponentinstance(props); } catch(exception e) { fail("cannot create the instance : " + e.getmessage()); } Disposing created instance You can only disposed instances that you created. To dispose an instance, just call the 'dispose' method on the ComponentInstance object (returned by the createcomponentinstance method).

9 instance.dispose(); Reconfiguring instance To reconfigure an instance, call the 'reconfigure' method on the ComponentInstance object. This method receives the new set of properties. Be aware that the 'instance.name' property cannot be changed. Properties props2 = new Properties(); props2.put("foo", "abc"); instance.reconfigure(props2); Accessing services exposed by created instances You can obviously access services exposed by an instance that you create. To do this just use the OSGi API and the bundle context in order to query service references in the service registry such as in ComponentInstance instance =... //... try { ServiceReference[] refs = context.getservicereferences(yourserviceinterface.class. getname(), "(instance.name=" + instance.getinstancename() +")"); if (refs!= null) { Foo your_object = (Foo) context.getservice(refs[0]); } } catch (InvalidSyntaxException e) { // Should not happen } The LDAP filter allows selecting the service provided by your instance. Be care that this service can be not accessible if the instance is not valid. Once you get the service reference, you can ask the service registry to get the service object (i.e. the object contained in your instance). If your instance does not provide services, you can access to the instance by following principles illustrated in the next snippet: if (instance.getstate() == ComponentInstance.VALID) { ImplementationClass object = (ImplementationClass) ((InstanceManager) instance). getpojoobject(); } else { System.out.println("Cannot get an implementation object from an invalid instance"); }

10 Take care to check the instance state before accessing the object. Indeed, the behavior of an invalid instance is not guaranty. The 'getpojoobject' method will return an already created implementation (pojo) object or create a new one (if none already created). How to use the ManagedServiceFactory to create, disposed and reconfigure instances The principle of the ManagedServiceFactory is the same as the ipojo Factory Service. So, you can create, dispose and reconfigure instances with the Configuration Admin. For further information, read the OSGi R4.x Compendium - Configuration Admin chapter. Be aware that the updated method is used both for instance creation (if the given configuration is new) and to reconfigure an existing instance. The deleted method is used to dispose instances.

Tutorial ipojo. 2. Preparation

Tutorial ipojo. 2. Preparation Tutorial ipojo 1. Context This tutorial is based on a pretty simple application. This application simulates a snack bar where products (hotdog, popcorn) are provided by vendors exposed as services. This

More information

Dependencies, dependencies, dependencies

Dependencies, dependencies, dependencies Dependencies, dependencies, dependencies Marcel Offermans!"#$%&'&()"* 1 Marcel Offermans Fellow and Software Architect at Luminis Technologies marcel.offermans@luminis.nl Member and Committer at Apache

More information

Patterns and Best Practices for dynamic OSGi Applications

Patterns and Best Practices for dynamic OSGi Applications Patterns and Best Practices for dynamic OSGi Applications Kai Tödter, Siemens Corporate Technology Gerd Wütherich, Freelancer Martin Lippert, akquinet it-agile GmbH Agenda» Dynamic OSGi applications» Basics»

More information

OSGi. Building and Managing Pluggable Applications

OSGi. Building and Managing Pluggable Applications OSGi Building and Managing Pluggable Applications What A Mess Billing Service Orders Shipping Accounting Workflow Inventory Application From The View Of... Building monolithic applications is evil nuf

More information

Using Apache Felix: OSGi best practices. Marcel Offermans luminis

Using Apache Felix: OSGi best practices. Marcel Offermans luminis Using Apache Felix: OSGi best practices Marcel Offermans luminis 1 About me Marcel Offermans Software architect at luminis Consultancy & product development Over 4 years of experience with OSGi Committer

More information

Liberate your components with OSGi services

Liberate your components with OSGi services Liberate your components with OSGi services One products journey through the Modularity Maturity Model Alasdair Nottingham (not@uk.ibm.com) WebSphere Application Server V8.5 Liberty Profile Development

More information

OSGi in Action. Ada Diaconescu

OSGi in Action. Ada Diaconescu OSGi in Action Karl Pauls Clement Escoffier karl.pauls@akquinet.de clement.escoffier@akquinet.de INF 346. Ada Diaconescu ada.diaconescu@telecom-paristech.fr 2 OSGi in Action - Clement Escoffier (clement.escoffier@akquinet.de)

More information

Java EE 7: Back-End Server Application Development

Java EE 7: Back-End Server Application Development Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Java EE 7: Back-End Server Application Development Duration: 5 Days What you will learn The Java EE 7: Back-End Server Application

More information

Carsten Ziegeler

Carsten Ziegeler Embrace OSGi Change A Developer's Quickstart Carsten Ziegeler cziegeler@apache.org About Member of the ASF Sling, Felix, Cocoon, Portals, Sanselan, Excalibur, Incubator PMC: Felix, Portals, Cocoon, Incubator,

More information

Oracle Complex Event Processing

Oracle Complex Event Processing Oracle Complex Event Processing Reference Guide Release 3.0 July 2008 Alpha/Beta Draft Oracle Complex Event Processing Reference Guide, Release 3.0 Copyright 2007, 2008, Oracle and/or its affiliates. All

More information

OSGi Cloud Ecosystems. David Bosschaert Principal Engineer, JBoss/Red Hat March 2013

OSGi Cloud Ecosystems. David Bosschaert Principal Engineer, JBoss/Red Hat March 2013 OSGi Cloud Ecosystems David Bosschaert Principal Engineer, JBoss/Red Hat david@redhat.com March 2013 Agenda PaaS today OSGi Cloud Ecosystems 'Demo' PaaS offerings today (1) General deployment containers

More information

Component Oriented Development in OSGi with Declarative Services, Spring Dynamic Modules and Apache ipojo

Component Oriented Development in OSGi with Declarative Services, Spring Dynamic Modules and Apache ipojo Component Oriented Development in OSGi with Declarative Services, Spring Dynamic Modules and Apache ipojo Neil Bartlett 1 Heiko Seeberger 2 1 Weigle Wilczek UK 2 Weigle Wilczek GmbH March 24, 2009 c 2009

More information

Introduction to OSGi. Marcel Offermans. luminis

Introduction to OSGi. Marcel Offermans. luminis Introduction to OSGi Marcel Offermans luminis Introduction Marcel Offermans marcel.offermans@luminis.nl Luminis Arnhem Apeldoorn Enschede IT solutions from idea to implementation with and for customers:

More information

Patterns and Best Practices for Dynamic OSGi Applications

Patterns and Best Practices for Dynamic OSGi Applications Patterns and Best Practices for Dynamic OSGi Applications Kai Tödter, Siemens Corporate Technology Gerd Wütherich, Freelancer Martin Lippert, akquinet it-agile GmbH Agenda» Dynamic OSGi applications» Basics»

More information

2 Apache Wink Building Blocks

2 Apache Wink Building Blocks 2 Apache Wink Building Blocks Apache Wink Building Block Basics In order to take full advantage of Apache Wink, a basic understanding of the building blocks that comprise it and their functional integration

More information

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

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

Apache Felix. Richard S. Hall. A Standard Plugin Model for Apache. Atlanta, Georgia U.S.A. November 13th, 2007

Apache Felix. Richard S. Hall. A Standard Plugin Model for Apache. Atlanta, Georgia U.S.A. November 13th, 2007 Apache Felix A Standard Plugin Model for Apache Richard S. Hall Atlanta, Georgia U.S.A. November 13th, 2007 Agenda Why OSGi technology? OSGi technology overview Apache Felix status Example application

More information

Lab 1 Introduction ipojo Component Model

Lab 1 Introduction ipojo Component Model Lab 1 Introduction ipojo Component Model Thomas Leveque A Page 1, January 27, 2011 Service Oriented Computation New computing paradigm Service as fundamental element Reduce dependencies among «software

More information

Adobe Experience Manager

Adobe Experience Manager Adobe Experience Manager Extend and Customize Adobe Experience Manager v6.x Student Guide: Volume 1 Contents CHAPTER ONE: BASICS OF THE ARCHITECTURAL STACK... 10 What is Adobe Experience Manager?... 10

More information

Extensibility, Componentization, and Infrastructure

Extensibility, Componentization, and Infrastructure Extensibility, Componentization, and Infrastructure Ted Slupesky (slupesky@us.ibm.com) Copyright 2006 IBM Corp. Available under terms of the Eclipse Public License http://www.eclipse.org/legal/epl-v10.html

More information

Apache Wink Developer Guide. Draft Version. (This document is still under construction)

Apache Wink Developer Guide. Draft Version. (This document is still under construction) Apache Wink Developer Guide Software Version: 1.0 Draft Version (This document is still under construction) Document Release Date: [August 2009] Software Release Date: [August 2009] Apache Wink Developer

More information

New Features in Java language

New Features in Java language Core Java Topics Total Hours( 23 hours) Prerequisite : A basic knowledge on java syntax and object oriented concepts would be good to have not mandatory. Jdk, jre, jvm basic undrestanding, Installing jdk,

More information

Peter Kriens OSGi Evangelist/Director. OSGi R4.3 // Next Release Overview

Peter Kriens OSGi Evangelist/Director. OSGi R4.3 // Next Release Overview Peter Kriens OSGi Evangelist/Director OSGi R4.3 // Next Release Overview Agenda Framework & ServiceTracker update to Java 5 generics A replacement for Package Admin and Start Level A Shell standard Managing

More information

ADF Mobile Code Corner

ADF Mobile Code Corner ADF Mobile Code Corner m05. Caching WS queried data local for create, read, update with refresh from DB and offline capabilities Abstract: The current version of ADF Mobile supports three ADF data controls:

More information

Apache Karaf Cave 4.x - Documentation

Apache Karaf Cave 4.x - Documentation Apache Karaf Cave 4.x - Documentation Apache Software Foundation Apache Karaf Cave 4.x - Documentation Overview User Guide 1. Installation 1.1. Pre-installation requirements 1.2. Registration of the Apache

More information

ApacheCon NA How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum

ApacheCon NA How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum ApacheCon NA 2015 How to Avoid Common Mistakes in OFBiz Development Presented by Adrian Crum 1Tech, Ltd. 29 Harley Street, London, W1G 9QR, UK www.1tech.eu 1 Overview Common Getting Started Problems Common

More information

BEAWebLogic. Event Server. Creating WebLogic Event Server Applications

BEAWebLogic. Event Server. Creating WebLogic Event Server Applications BEAWebLogic Event Server Creating WebLogic Event Server Applications Version 2.0 July 2007 Contents 1. Introduction and Roadmap Document Scope and Audience.............................................

More information

JBPM Course Content. Module-1 JBPM overview, Drools overview

JBPM Course Content. Module-1 JBPM overview, Drools overview JBPM Course Content Module-1 JBPM overview, Drools overview JBPM overview Drools overview Community projects Vs Enterprise projects Eclipse integration JBPM console JBPM components Getting started Downloads

More information

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- www.javabykiran. com 8888809416 8888558802 Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/- Java by Kiran J2EE SYLLABUS Servlet JSP XML Servlet

More information

Eclipse 4 Eclipse Day Toulouse 24 mai 2012

Eclipse 4 Eclipse Day Toulouse 24 mai 2012 Eclipse 4 Eclipse Day Toulouse 24 mai 2012 OPC 12 ECD PRE E4A 01 A OPCOACH 2012 Table of contents I - Eclipse 4 5 A. Application Model... 10 B. E4 injection and annotations... 14 C. CSS Styling... 17

More information

OSGi in Action. RICHARD S. HALL KARL PAULS STUART McCULLOCH DAVID SAVAGE CREATING MODULAR APPLICATIONS IN JAVA MANNING. Greenwich (74 w. long.

OSGi in Action. RICHARD S. HALL KARL PAULS STUART McCULLOCH DAVID SAVAGE CREATING MODULAR APPLICATIONS IN JAVA MANNING. Greenwich (74 w. long. OSGi in Action CREATING MODULAR APPLICATIONS IN JAVA RICHARD S. HALL KARL PAULS STUART McCULLOCH DAVID SAVAGE 11 MANNING Greenwich (74 w. long.) contents foreword xiv preface xvii acknowledgments xix about

More information

Fast Track to EJB 3.0 and the JPA Using JBoss

Fast Track to EJB 3.0 and the JPA Using JBoss Fast Track to EJB 3.0 and the JPA Using JBoss The Enterprise JavaBeans 3.0 specification is a deep overhaul of the EJB specification that is intended to improve the EJB architecture by reducing its complexity

More information

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III http://www.tutorialspoint.com DESIGN PATTERNS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Design Patterns Framework. You can download these sample

More information

TradeInterceptor SDK Quick Start Guide

TradeInterceptor SDK Quick Start Guide TradeInterceptor SDK Quick Start Guide Installation Custom indicators and trading strategies can be created using the Java programming language, version 6.0. A free copy of Java development kit (JDK) can

More information

Generating A Hibernate Mapping File And Java Classes From The Sql Schema

Generating A Hibernate Mapping File And Java Classes From The Sql Schema Generating A Hibernate Mapping File And Java Classes From The Sql Schema Internally, hibernate maps from Java classes to database tables (and from It also provides data query and retrieval facilities by

More information

SAP Edge Services, cloud edition Edge Services Predictive Analytics Service Guide Version 1803

SAP Edge Services, cloud edition Edge Services Predictive Analytics Service Guide Version 1803 SAP Edge Services, cloud edition Edge Services Predictive Analytics Service Guide Version 1803 Table of Contents MACHINE LEARNING AND PREDICTIVE ANALYTICS... 3 Model Trained with R and Exported as PMML...

More information

Fast Track to Spring 3 and Spring MVC / Web Flow

Fast Track to Spring 3 and Spring MVC / Web Flow Duration: 5 days Fast Track to Spring 3 and Spring MVC / Web Flow Description Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle

More information

OSGi on the Server. Martin Lippert (it-agile GmbH)

OSGi on the Server. Martin Lippert (it-agile GmbH) OSGi on the Server Martin Lippert (it-agile GmbH) lippert@acm.org 2009 by Martin Lippert; made available under the EPL v1.0 October 6 th, 2009 Overview OSGi in 5 minutes Apps on the server (today and tomorrow)

More information

BEAWebLogic. Event Server. WebLogic Event Server Reference

BEAWebLogic. Event Server. WebLogic Event Server Reference BEAWebLogic Event Server WebLogic Event Server Reference Version 2.0 July 2007 Contents 1. Introduction and Roadmap Document Scope and Audience............................................. 1-1 WebLogic

More information

Schema Null Cannot Be Resolved For Table Jpa

Schema Null Cannot Be Resolved For Table Jpa Schema Null Cannot Be Resolved For Table Jpa (14, 19) The abstract schema type 'Movie' is unknown. (28, 35) The state field path 'm.title' cannot be resolved to a valid type. at org.springframework.web.servlet.

More information

The scr goal of the maven-scr-plugin looks for the following JavaDoc tags when building component descriptors:

The scr goal of the maven-scr-plugin looks for the following JavaDoc tags when building component descriptors: SCR JavaDoc Tags The scr goal of the maven-scr-plugin looks for the following JavaDoc tags when building component descriptors: scr.component scr.property scr.service scr.reference scr.component The scr.component

More information

Oracle WebLogic Server 12c: Administration I

Oracle WebLogic Server 12c: Administration I Oracle WebLogic Server 12c: Administration I Duration 5 Days What you will learn This Oracle WebLogic Server 12c: Administration I training teaches you how to install and configure Oracle WebLogic Server

More information

Managing Reports. Reports. This chapter contains the following sections:

Managing Reports. Reports. This chapter contains the following sections: This chapter contains the following sections: Reports, page 1 Developing Reports Using POJO and Annotations, page 3 Developing Tabular Reports, page 4 Developing Drillable Reports, page 6 Registering Reports,

More information

Introducing EclipseLink: The Eclipse Persistence Services Project

Introducing EclipseLink: The Eclipse Persistence Services Project Introducing EclipseLink: The Eclipse Persistence Services Project Shaun Smith EclipseLink Ecosystem Development Lead Principal Product Manager, Oracle TopLink shaun.smith@oracle.com 2007 Oracle; made available

More information

The Object Cache. Table of contents

The Object Cache. Table of contents by Armin Waibel, Thomas Mahler Table of contents 1 Introduction.2 2 Why a cache and how it works?2 3 How to declare and change the used ObjectCache implementation.. 3 3.1 Priority of Cache Level.. 3 3.2

More information

CO Java EE 7: Back-End Server Application Development

CO Java EE 7: Back-End Server Application Development CO-85116 Java EE 7: Back-End Server Application Development Summary Duration 5 Days Audience Application Developers, Developers, J2EE Developers, Java Developers and System Integrators Level Professional

More information

OSGi. Tales from the Trenches. OSGitales from the trenches

OSGi. Tales from the Trenches. OSGitales from the trenches OSGi Tales from the Trenches Bertrand Delacretaz Senior R&D Developer, Day Software, www.day.com Apache Software Foundation Member and Director bdelacretaz@apache.org blog: http://grep.codeconsult.ch twitter:

More information

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA Web Application Development Using JEE, Enterprise Java and JPA Duration: 35 hours Price: $750 Delivery Option: Attend training via an on-demand, self-paced platform paired with personal instructor facilitation.

More information

Java J Course Outline

Java J Course Outline JAVA EE - J2SE - CORE JAVA After all having a lot number of programming languages. Why JAVA; yet another language!!! AND NOW WHY ONLY JAVA??? CHAPTER 1: INTRODUCTION What is Java? History Versioning The

More information

Class Dependency Analyzer CDA Developer Guide

Class Dependency Analyzer CDA Developer Guide CDA Developer Guide Version 1.4 Copyright 2007-2017 MDCS Manfred Duchrow Consulting & Software Author: Manfred Duchrow Table of Contents: 1 Introduction 3 2 Extension Mechanism 3 1.1. Prerequisites 3 1.2.

More information

Oracle WebLogic Diagnostics and Troubleshooting

Oracle WebLogic Diagnostics and Troubleshooting Oracle WebLogic Diagnostics and Troubleshooting Duško Vukmanović Principal Sales Consultant, FMW What is the WebLogic Diagnostic Framework? A framework for diagnosing problems that

More information

Oracle Fusion Middleware 11g: Build Applications with ADF Accel

Oracle Fusion Middleware 11g: Build Applications with ADF Accel Oracle University Contact Us: +352.4911.3329 Oracle Fusion Middleware 11g: Build Applications with ADF Accel Duration: 5 Days What you will learn This is a bundled course comprising of Oracle Fusion Middleware

More information

Enterprise Registry Repository

Enterprise Registry Repository BEAAquaLogic Enterprise Registry Repository Exchange Utility Version 3.0 Revised: February 2008 Contents 1. Getting Started With the ALRR Exchange Utility What is the ALRR Exchange Utility?.......................................

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2

More information

CS486: Tutorial on SOC, OSGi, and Knopflerfish. Ryan Babbitt (props to Dr. Hen-I Yang, CS415X) Feb. 3, 2011

CS486: Tutorial on SOC, OSGi, and Knopflerfish. Ryan Babbitt (props to Dr. Hen-I Yang, CS415X) Feb. 3, 2011 CS486: Tutorial on SOC, OSGi, and Knopflerfish Ryan Babbitt (rbabbitt@iastate.edu) (props to Dr. Hen-I Yang, CS415X) Feb. 3, 2011 Basic Concepts Service-oriented computing (SOC) Service-oriented architectures

More information

OSGi Best Practices. Emily

OSGi Best Practices. Emily OSGi Best Practices Emily Jiang @IBM Use OSGi in the correct way... AGENDA > Why OSGi? > What is OSGi? > How to best use OSGi? 3 Modularization in Java > Jars have no modularization characteristics No

More information

Page 1

Page 1 Java 1. Core java a. Core Java Programming Introduction of Java Introduction to Java; features of Java Comparison with C and C++ Download and install JDK/JRE (Environment variables set up) The JDK Directory

More information

Pelix/iPOPO When Python gets a taste of OSGi

Pelix/iPOPO When Python gets a taste of OSGi Pelix/iPOPO When Python gets a taste of OSGi Thomas Calmant 1 2 Joao Claudio Americo 1 Olivier Gattaz 2 Didier Donsez 1 Kiev Gama 3 1 Université Joseph Fourier Grenoble I LIG/INRIA SARDES/ERODS Team Grenoble,

More information

Spring Interview Questions

Spring Interview Questions Spring Interview Questions By Srinivas Short description: Spring Interview Questions for the Developers. @2016 Attune World Wide All right reserved. www.attuneww.com Contents Contents 1. Preface 1.1. About

More information

mvn package -Dmaven.test.skip=false //builds DSpace and runs tests

mvn package -Dmaven.test.skip=false //builds DSpace and runs tests DSpace Testing 1 Introduction 2 Quick Start 2.1 Maven 2.2 JUnit 2.3 JMockit 2.4 ContiPerf 2.5 H2 3 Unit Tests Implementation 3.1 Structure 3.2 Limitations 3.3 How to build new tests 3.4 How to run the

More information

DESIGN PATTERN - INTERVIEW QUESTIONS

DESIGN PATTERN - INTERVIEW QUESTIONS DESIGN PATTERN - INTERVIEW QUESTIONS http://www.tutorialspoint.com/design_pattern/design_pattern_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Design Pattern Interview Questions

More information

The Harmony Framework.

The Harmony Framework. The Harmony Framework SoftwareEngineering@LaBRI Empirical Software Engineering Ask a question Design an experiment Measure on real data Analyze the results Performing studies Controlled experiments Expensive

More information

TARGETPROCESS PLUGIN DEVELOPMENT GUIDE

TARGETPROCESS PLUGIN DEVELOPMENT GUIDE TARGETPROCESS PLUGIN DEVELOPMENT GUIDE v.2.8 Plugin Development Guide This document describes plugins in TargetProcess and provides some usage examples. 1 PLUG IN DEVELOPMENT... 3 CORE ABSTRACTIONS...

More information

Web Application Development Using JEE, Enterprise JavaBeans and JPA

Web Application Development Using JEE, Enterprise JavaBeans and JPA Web Application Development Using JEE, Enterprise Java and JPA Duration: 5 days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options.

More information

I Got My Mojo Workin'

I Got My Mojo Workin' I Got My Mojo Workin' Gary Murphy Hilbert Computing, Inc. http://www.hilbertinc.com/ glm@hilbertinc.com Gary Murphy I Got My Mojo Workin' Slide 1 Agenda Quick overview on using Maven 2 Key features and

More information

Metadata driven component development. using Beanlet

Metadata driven component development. using Beanlet Metadata driven component development using Beanlet What is metadata driven component development? It s all about POJOs and IoC Use Plain Old Java Objects to focus on business logic, and business logic

More information

GlassFish 3.1 Admin Console Modules

GlassFish 3.1 Admin Console Modules GlassFish 3.1 Admin Console Modules This table outlines the delivery for 3.1 Admin Console and how each feature is grouped into a plugin module. Unless specified, groupid for the artifact is org.glassfish.admingui

More information

Modularity in Java. With OSGi. Alex Docklands.LJC January Copyright 2016 Alex Blewitt

Modularity in Java. With OSGi. Alex Docklands.LJC January Copyright 2016 Alex Blewitt Modularity in Java With OSGi Alex Blewitt @alblue Docklands.LJC January 2016 Modularity in Java Modularity is Easy? Modularity is Hard! Modularity is Hard! Modularity is Hard! Modularity is Hard! Modularity

More information

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics Spring & Hibernate Overview: The spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion.

More information

Create your own Carbon Component. Sameera Jayasoma Technical Lead and Product Manager of WSO2 Carbon

Create your own Carbon Component. Sameera Jayasoma Technical Lead and Product Manager of WSO2 Carbon Create your own Carbon Component Sameera Jayasoma Technical Lead and Product Manager of WSO2 Carbon sameera@wso2.com WSO2 Founded in 2005 by acknowledged leaders in XML, Web Services Technologies & Standards

More information

Exam Questions 1Z0-895

Exam Questions 1Z0-895 Exam Questions 1Z0-895 Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam https://www.2passeasy.com/dumps/1z0-895/ QUESTION NO: 1 A developer needs to deliver a large-scale

More information

JVA-163. Enterprise JavaBeans

JVA-163. Enterprise JavaBeans JVA-163. Enterprise JavaBeans Version 3.0.2 This course gives the experienced Java developer a thorough grounding in Enterprise JavaBeans -- the Java EE standard for scalable, secure, and transactional

More information

Adobe Experience Manager Dev/Ops Engineer Adobe Certified Expert Exam Guide. Exam number: 9A0-397

Adobe Experience Manager Dev/Ops Engineer Adobe Certified Expert Exam Guide. Exam number: 9A0-397 Adobe Experience Manager Dev/Ops Engineer Adobe Certified Expert Exam Guide Exam number: 9A0-397 Revised 06 February 2018 About Adobe Certified Expert Exams To be an Adobe Certified Expert is to demonstrate

More information

STARCOUNTER. Technical Overview

STARCOUNTER. Technical Overview STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation

More information

Updated after review Removed paragraph mentioned java source code.

Updated after review Removed paragraph mentioned java source code. Functional Specification for DCR Plug-in Support Author(s): joel.binnquist.xc@ericsson.com Version: 1.3 Version Date Comment 0.1 2009-01-20 First version 1.0 2009-04-02 Updated after review. - Removed

More information

MonoLog - Logging and Monitoring Specifications

MonoLog - Logging and Monitoring Specifications The ObjectWeb Consortium Interface Specification MonoLog - Logging and Monitoring Specifications AUTHORS: S. Chassande-Barrioz (INRIA) CONTRIBUTORS: JB. Stefani (INRIA) B. Dumant (Kelua) Released: March

More information

Lecture 20. Java Exceptional Event Handling. Dr. Martin O Connor CA166

Lecture 20. Java Exceptional Event Handling. Dr. Martin O Connor CA166 Lecture 20 Java Exceptional Event Handling Dr. Martin O Connor CA166 www.computing.dcu.ie/~moconnor Topics What is an Exception? Exception Handler Catch or Specify Requirement Three Kinds of Exceptions

More information

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline Advanced Java Database Programming JDBC overview SQL- Structured Query Language JDBC Programming Concepts Query Execution Scrollable

More information

Aware IM Version 8.2 Programmers Reference

Aware IM Version 8.2 Programmers Reference Aware IM Version 8.2 Programmers Reference Copyright 2002-2018 Awaresoft Pty Ltd CONTENTS ABOUT THIS DOCUMENT... 4 1 ADDING PROGRAMMING EXTENSIONS TO AWARE IM... 4 2 GENERAL GUIDELINES... 5 3 ADDING CUSTOM

More information

Versant JPA Developer's Guide. Release 2.0

Versant JPA Developer's Guide. Release 2.0 Release 2.0 : Release 2.0 Versant JPA 2.0.17 Copyright 2012 2015 Versant Software LLC and Copyright 2013 2015 Actian Corporation. All rights reserved. The software described in this document is subject

More information

Apache Wink User Guide

Apache Wink User Guide Apache Wink User Guide Software Version: 0.1 The Apache Wink User Guide document is a broad scope document that provides detailed information about the Apache Wink 0.1 design and implementation. Apache

More information

/ / JAVA TRAINING

/ / JAVA TRAINING www.tekclasses.com +91-8970005497/+91-7411642061 info@tekclasses.com / contact@tekclasses.com JAVA TRAINING If you are looking for JAVA Training, then Tek Classes is the right place to get the knowledge.

More information

Service Discovery and Remote Services with the Eclipse Communication Framework

Service Discovery and Remote Services with the Eclipse Communication Framework Service Discovery and Remote Services with the Eclipse Communication Framework Jan S. Rellermeyer, ETH Zürich Markus Kuppe, Versant GmbH Scott Lewis, Code 9 2008 by the ECF team; made available under the

More information

OCP JavaEE 6 EJB Developer Study Notes

OCP JavaEE 6 EJB Developer Study Notes OCP JavaEE 6 EJB Developer Study Notes by Ivan A Krizsan Version: April 8, 2012 Copyright 2010-2012 Ivan A Krizsan. All Rights Reserved. 1 Table of Contents Table of Contents... 2 Purpose... 9 Structure...

More information

This course is intended for Java programmers who wish to write programs using many of the advanced Java features.

This course is intended for Java programmers who wish to write programs using many of the advanced Java features. COURSE DESCRIPTION: Advanced Java is a comprehensive study of many advanced Java topics. These include assertions, collection classes, searching and sorting, regular expressions, logging, bit manipulation,

More information

ECLIPSE PERSISTENCE PLATFORM (ECLIPSELINK) FAQ

ECLIPSE PERSISTENCE PLATFORM (ECLIPSELINK) FAQ ECLIPSE PERSISTENCE PLATFORM (ECLIPSELINK) FAQ 1. What is Oracle proposing in EclipseLink, the Eclipse Persistence Platform Project? Oracle is proposing the creation of the Eclipse Persistence Platform

More information

Magento Technical Guidelines

Magento Technical Guidelines Magento Technical Guidelines Eugene Shakhsuvarov, Software Engineer @ Magento 2018 Magento, Inc. Page 1 Magento 2 Technical Guidelines Document which describes the desired technical state of Magento 2

More information

Test Assertions for the SCA_J Common Annotations and APIs Version 1.1 Specification

Test Assertions for the SCA_J Common Annotations and APIs Version 1.1 Specification Test Assertions for the SCA_J Common Annotations and APIs Version 1.1 Specification Working Draft 6 27 June 2009 Specification URIs: This Version: http://docs.oasis-open.org/sca-assembly/sca-j-caa-1.1-test-assertions-wd5.html

More information

Distributed OSGi through Apache CXF and Web Services

Distributed OSGi through Apache CXF and Web Services Distributed OSGi through Apache CXF and Web Services Irina Astrova Arne Koschel Institute of Cybernetics Faculty IV, Department for Computer Science Tallinn University of Technology University of Applied

More information

Dynalink. Dynamic Linker Framework for Languages on the JVM. Attila Szegedi, Software Engineer, Twitter

Dynalink. Dynamic Linker Framework for Languages on the JVM. Attila Szegedi, Software Engineer, Twitter Dynalink Dynamic Linker Framework for Languages on the JVM Attila Szegedi, Software Engineer, Twitter Inc. @asz 1 What s the problem? circle.color = 0xae17e3 class Circle def color=(value)... end end public

More information

Distributed OSGi Services with the Eclipse Communication Framework. Jan S. Rellermeyer, ETH Zürich Markus Kuppe, Versant Inc.

Distributed OSGi Services with the Eclipse Communication Framework. Jan S. Rellermeyer, ETH Zürich Markus Kuppe, Versant Inc. June 10-11, 2008 Berlin, Germany Distributed OSGi Services with the Eclipse Communication Framework Jan S. Rellermeyer, ETH Zürich Markus Kuppe, Versant Inc. ECF: Eclipse Communication Framework Communication

More information

Software Components with Fractal: Reflective Software Architecture and Runtime Reconfiguration

Software Components with Fractal: Reflective Software Architecture and Runtime Reconfiguration Software Components with Fractal: Reflective Software Architecture and Runtime Reconfiguration Martin Monperrus Creative Commons Attribution License Copying and modifying are authorized as long as proper

More information

Chapter 3. Architecture and Design

Chapter 3. Architecture and Design Chapter 3. Architecture and Design Design decisions and functional architecture of the Semi automatic generation of warehouse schema has been explained in this section. 3.1. Technical Architecture System

More information

jbpm & Drools go Enterprise Maciej Swiderski

jbpm & Drools go Enterprise Maciej Swiderski jbpm & Drools go Enterprise Maciej Swiderski Build comprehensive BPM platform on top of jbpm and Drools that will truly accelerate your business Sounds nice but what's that? How easy is to: Introduce new

More information

1Z

1Z 1Z0-451 Passing Score: 800 Time Limit: 4 min Exam A QUESTION 1 What is true when implementing human reactions that are part of composite applications using the human task component in SOA 11g? A. The human

More information

Rest Client for MicroProfile. John D. Ament, Andy McCright

Rest Client for MicroProfile. John D. Ament, Andy McCright Rest Client for MicroProfile John D. Ament, Andy McCright 1.0, December 19, 2017 Table of Contents Microprofile Rest Client..................................................................... 2 MicroProfile

More information

What's upcoming to OSGi

What's upcoming to OSGi What's upcoming to OSGi OSGi R7 Release is coming. Are you ready? Raymond Augé raymond.auge@liferay.com Name @twitterhandle 3 Module Layer New Developers and SCM metadata headers: Bundle-Developers: raymond.auge;email=raymond.auge@liferay.com;

More information

Managing REST API. The REST API. This chapter contains the following sections:

Managing REST API. The REST API. This chapter contains the following sections: This chapter contains the following sections: The REST API, page 1 Identifying Entities, page 2 Configuring a POJO Class for REST API Support, page 2 Input Controllers, page 2 Implementing a Workflow Task,

More information

Université Joseph Fourier Grenoble 1 UFR IMAG Magistère 2 ème année Informatique

Université Joseph Fourier Grenoble 1 UFR IMAG Magistère 2 ème année Informatique Université Joseph Fourier Grenoble 1 UFR IMAG Magistère 2 ème année Informatique TOWARD A PIVOT SERVICE ORIENTED COMPONENT MODEL UPON OSGI Master report presented by Bassem Debbabi September 15, 2008 realized

More information

IBM Rational Software

IBM Rational Software IBM Rational Software Development Conference 2008 Introduction to the Jazz Technology Platform: Architecture Overview and Extensibility Scott Rich Distinguished Engineer, Jazz Architect IBM Rational SDP21

More information