coherence managed coherence servers - part 3 - maven integration

Download Coherence Managed Coherence Servers - Part 3 - Maven Integration

Post on 10-Nov-2014

1.485 views

Category:

Technology

1 download

Embed Size (px)

DESCRIPTION

Watch on YouTube: http://www.youtube.com/watch?v=RyW8wao86qM

TRANSCRIPT

  • 1. Managed Coherence Servers WebLogic Sever Part 3 Maven Integration Tim Middleton - Solutions Architect Oracle Coherence Development
  • 2. Copyright 2013, Oracle and/or its affiliates. All rights reserved.2 See Part 1 Introduction and use-cases
  • 3. Copyright 2013, Oracle and/or its affiliates. All rights reserved.3 Maven Recap WebLogic Server & Coherence Maven Support Demonstration Agenda
  • 4. Copyright 2013, Oracle and/or its affiliates. All rights reserved.4 Maven is a build and dependency system allowing the configuration of project dependencies, 3rd party dependencies and the definition of a build lifecycle In terms of development there are a number of areas Maven attempts to help with: Making the build process easy Providing a uniform build system Providing quality project information Providing guidelines for best practices development Allowing transparent migration to new features Maven Recap
  • 5. Copyright 2013, Oracle and/or its affiliates. All rights reserved.5 Maven Recap WebLogic Server & Coherence Support Demonstration Agenda
  • 6. Copyright 2013, Oracle and/or its affiliates. All rights reserved.6 Seamless integration between Oracle Home and Maven repositories Standardize Maven usage and naming conventions GAR Archetype support GAR packaging type support for use with WLS deploy plugin Support for generation of POF configuration file on creation of a GAR WebLogic Maven Deploy Plugin WebLogic & Coherence Maven Support Maven Sync Plugin Oracle Home Enterprise Maven Repository Development Environment Production Environment
  • 7. Copyright 2013, Oracle and/or its affiliates. All rights reserved.7 Our Example EAR Application contains GAR with all artifacts for running Coherence Application, POJOs, Cache Configuration, etc. WAR with JSPs and Java Beans Maven project pom.xml files pom.xml gar/pom.xml servlet/pom.xml ear/pom.xml Example Configuration
  • 8. Copyright 2013, Oracle and/or its affiliates. All rights reserved.8 Maven pom.xml files pom.xml gar/pom.xml servlet/pom.xml ear/pom.xml Example Configuration Base pom.xml Include WebLogic Maven Plugin Configuration com.oracle.weblogicwls-maven-plugin12.1.2.0t3://localhost:7001weblogicwelcome1deployfalsetrueear/target/ear-1.0.ear/u01/Middleware ExampleEAR
  • 9. Copyright 2013, Oracle and/or its affiliates. All rights reserved.9 Maven pom.xml files pom.xml gar/pom.xml servlet/pom.xml ear/pom.xml Example Configuration GAR pom.xml Include Coherence and Configure POF Generation ... gar ... com.oracle.coherencecoherence12.1.2-0-0provided ... com.oracle.coherencemaven-gar-plugintruefalse
  • 10. Copyright 2013, Oracle and/or its affiliates. All rights reserved.10 Maven pom.xml files pom.xml gar/pom.xml servlet/pom.xml ear/pom.xml Example Configuration Servlet pom.xml Include Coherence and GAR Dependencies ... com.oracle.coherencegar1.0providedcom.oracle.coherencecoherence12.1.2-0-0provided ...
  • 11. Copyright 2013, Oracle and/or its affiliates. All rights reserved.11 Maven pom.xml files pom.xml gar/pom.xml servlet/pom.xml ear/pom.xml Example Configuration EAR pom.xml Include Coherence and GAR Dependencies ... maven-ear-plugintrue ...
  • 12. Copyright 2013, Oracle and/or its affiliates. All rights reserved.12 This plugin from Oracle allows you to perform WebLogic deployment and maintenance tasks automatically within maven projects. Some of these tasks include: Deployment / un-deployment of applciations Creation of domains Listing applications Starting/ stopping servers Starting/ stopping applications 12 WebLogic Maven Deploy Plugin
  • 13. Copyright 2013, Oracle and/or its affiliates. All rights reserved.13 Maven Recap WebLogic Server & Coherence Support Demonstration Agenda
  • 14. Copyright 2013, Oracle and/or its affiliates. All rights reserved.14 Install oracle-maven-sync plugin Execute the oracle-maven-sync plugin Create a new GAR archetype project Build the Managed Coherence Servers example from the first screencast using maven Deploy this using the WebLogic Maven plugin Demonstration
  • 15. Copyright 2013, Oracle and/or its affiliates. All rights reserved.15

Recommended

View more >