Giter VIP home page Giter VIP logo

narayana-quickstart's Introduction

Quickstarts

Introduction

The repository contains a set of quickstart projects which provide working example for specific Narayana transaction manager capabilities. The quickstarts can be used as a reference for your own project.

The list of all available quickstart can be found down at this page. Each quickstart is categorized with tags that depict areas the quickstart is connected with.


NOTE

WildFly quickstarts contain some more examples how to work with transactions in the Java EE environment. See repository: wildfly/quickstart. The quickstarts particularly connected to transaction managements are: jta-crash-rec, jts.


List of quickstarts

Project name Description Maven coordinates Tags
ArjunaCore/txoj Showing how to use the Transactional Object for Java (TXOJ) which is the core implementation concept of the Narayana state machine o.j.n.quickstart.arjunacore :txoj arjuna.core, standalone
ArjunaJTA/maven Minimalistic maven project showing how to configure maven to use the Narayana JTA implementation o.j.n.quickstart.jta :maven jta, standalone
ArjunaJTA/jakarta_transaction basics on using JTA API in your application, you can check how to obtain the UserTransaction and TransactionManager with use of the Narayana API o.j.n.quickstart.jta :jakarta_transaction jta, standalone
ArjunaJTA/jakartaee_transactional_app WildFly application which shows use of the transaction management in EJB when invoked from CDI bean o.j.n.quickstart.jta: jakartaee_transactional_app jta, wildfly
ArjunaJTA/object_store How to configure Narayana to run different types of object stores in standalone mode org.jboss.narayana.quickstart.jta: object_store jta, narayana.configuration, standalone
ArjunaJTA/recovery Example of running periodic recovery in Narayana standalone. The setup shows multiple implementation of the recovery storage for could be configured by user. o.j.n.quickstart.jta: recovery jta, narayana.configuration, standalone
ArjunaJTS/interop Transactional EJB calls between GlassFish and WildFly o.j.n.quickstart.jts :jts-interop-quickstart jts,wildfly,glassfish
ArjunaJTS/jts Demonstration of setting up JTS transactions in WildFly and how to use EJB2 beans to pass the transactional context over the remote IIOP call o.j.n.quickstart.jts :jboss-as-jts-parent jts,wildfly
ArjunaJTS/recovery Setting up the Narayana recovery manager for JTS in standalone mode o.j.n.quickstart.jts :jts-recovery jts, narayana.configuration, standalone
ArjunaJTS/standalone Example of using Narayana JTS and in second part the example of using ORB API to manage remote JTS transaction manager with IIOP calls o.j.n.quickstart.jts :jts-standalone jts, iiop, standalone
atsintegration How to integrate Narayana with and arbitrary Java EE application server o.j.n.quickstart.jta :application-server-integration narayana.configuration
agroal How to integrate Narayana with Agroal jdbc pooling library o.j.n.quickstart.jta :agroal jta, standalone, jdbc
jta-1_2-standalone How to integrate Narayana with Weld o.j.n.quickstart.jta :jta-1_2-standalone standalone, cdi
jta-1_2-in-wildfly How to use transactions with CDI in WildFly o.j.n.quickstart.jta :jta-1_2-in-wildfly standalone, cdi
jta-and-hibernate-standalone Using Narayana to manage transactions when JPA and CDI is used o.j.n.quickstart.jta :jta-and-hibernate-standalone standalone, cdi

Quickstart categorization

Category List of quickstarts
arjuna.core ArjunaCore/txoj
narayana.configuration ArjunaJTA/object_store, ArjunaJTA/recovery, ArjunaJTS/recovery, atsintegration
jta ArjunaJTA/maven, ArjunaJTA/jakarta_transaction, ArjunaJTA/jakartaee_transactional_app, ArjunaJTA/object_store, ArjunaJTA/recovery, agroal
jts ArjunaJTS/interop, ArjunaJTS/jts, ArjunaJTS/recovery, ArjunaJTS/standalone
standalone ArjunaCore/txoj, ArjunaJTA/maven, ArjunaJTA/jakarta_transaction, ArjunaJTA/object_store, ArjunaJTA/recovery, ArjunaJTS/recovery, ArjunaJTS/standalone, agroal, jta-1_2-standalone, jta-and-hibernate-standalone
wildfly ArjunaJTA/jakartaee_transactional_app,ArjunaJTS/interop, ArjunaJTS/jts, jta-1_2-in-wildfly
glassfish ArjunaJTS/interop
iiop ArjunaJTS/standalone
jdbc agroal
cdi jta-1_2-standalone, jta-1_2-in-wildfly, jta-and-hibernate-standalone

Tags definition

Contacting us

We are always happy to talk transactions and how-to use Narayana in exotic and not so exotic environments. If you have ideas for what we can add to the quickstarts to make them more useful please do reach out to us at: http://narayana.io/community

Quickstarts in CI environment

If you want to see how we run the quickstarts in our continuous integration environment, take a look at scripts/hudson/quickstart.sh.

Running a single quickstart

Change directory into the required quickstart and follow the instructions in the README.md file.

Running all quickstarts in a single command

To run the quickstarts:

  1. set WORKSPACE (to the root directory where the quickstart repository was cloned)
  2. set JBOSSAS_IP_ADDR (default is localhost)
  3. set JBOSS_HOME (to the path of WildFly server, you can download the server at http://wildfly.org/downloads)
  4. mvn clean install

NOTE: As the scope of Narayana quickstart is broad - it shows integration with many platform โ€“ you need to expect a big amount of data to be downloaded from Maven repository.

NOTE: If you want to prepare the quickstarts by installing them without running any test then run the mvn clean install -DskipTests

NOTE: If you want to run the quickstart with specific Narayana version you can use command line option -Dversion.narayana=...

narayana-quickstart's People

Contributors

tomjenkinson avatar mmusgrov avatar ochaloup avatar paulrobinson avatar dependabot[bot] avatar marcosgopen avatar zhfeng avatar jmfinelli avatar mayankkunwar avatar moulalis avatar swetapatra avatar gytis avatar xstefank avatar nmcl avatar mzezulka avatar celebrate-future avatar educhastenier avatar gautric avatar istraka avatar mkralik3 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.