Git Product home page Git Product logo

blade's Introduction

Bootstrap Liferay Advanced Developer Environments(BLADE)

This small experiment aims to provide bootstrap project environments for all the major build tools in common use for Java projects so that Liferay development can start quickly and easily.

Software/Tools/Specifications Version
OSGI Core 5.0
OSGI Compendium 5.0
OSGI Annotations 6.0
Liferay Portal 7.x(Development)
Bndtools 2.4.0.M2

Projects

The template projects are categorized based on the build tools,

  • maven - these are set of Liferay projects that can be bootstrapped on to maven development environment
  • bndtools - these are set of Liferay projects that can be bootstrapped on to bndtools based development environment
  • gradle - these are set of Liferay projects that can be bootstrapped on to gradle based development environment

The projects also demonstrate how to use various frameworks like:

  • Blueprint
  • Declarative Services(DS)
  • OSGI API

Maven

  • /maven/sample-maven-blueprint

A maven project which uses Blueprint for registering a portlet.

  • /maven/sample-maven-ds

A maven project which uses the DS (Declarative Services) for registering a portlet.

  • /maven/sample-maven-osgiapi

A maven project which uses the raw OSGI APIs for registering a portlet.

Bndtools

  • cnf

The Bndtools configuration project

  • /bndtools/sample.bundle.bndtools.blueprint

A bndtools project which uses Blueprint for registering a portlet.

  • /bndtools/sample.bundle.bndtools.ds

A bndtools project which uses the DS (Declarative Services) for registering a portlet.

  • /bndtools/sample.bundle.bndtools.osgiapi

A bndtools project which uses the raw OSGI APIs for registering a portlet.

Integration Points

The following are the list of Liferay Integration points that are demonstrated as part of these projects,

  • javax.portlet.Portlet

  • com.liferay.portal.kernel.portlet.bridges.mvc.ActionCommand The project sample.bundle.bndtools.ip.actioncommand demonstrates this integation point. It integrates the action command named greet with portlet greeter.

    __NOTE:__ To see how this example works, a portlet plugin with a portlet named **greeter** (javax.portlet.name='greeter') is to be deployed.  The command adds a key `greeting_message` to Liferay SessionMessages, along with a session attribute `GREETER_MESSAGE`. You can independently deploy the bundle `sample.bundle.bndtools.ip.actioncommand` a.k.a refresh the bundle without the need to redeploy the Portlet plugin.
    
  • java.util.ResourceBundle

License

License

Contribution

These templates can be copied freely and contributions are welcome.

References

OSGI R5

OSGI Compendium R5

Blueprint

Bndtools

blade's People

Contributors

rotty3000 avatar gamerson avatar kameshsampath avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.