GithubHelp home page GithubHelp logo

francis-pouatcha / adcom Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 9.64 MB

Adorsys Commerce Framework

License: Apache License 2.0

HTML 22.99% JavaScript 25.82% CSS 1.47% Java 49.43% Ruby 0.02% Shell 0.27%

adcom's Introduction

adcom

Adorsys Commerce Framework. This is a framwork for a modular building of applications that include:

  • A rest backend
  • Angularjs micro client
  • Terminal management

Module Concept

module.lib

This stands for a shared library module. This is a jar that can be linked and used by other war modules.

A module.lid can contain: - JPA Mapped super classes - JPA Entities. In order for a JPA to be loaded in a referencing application, it must be explicitly listed in the persistence.xml of the referenced module. - Corresponding Repository Classes: These a delta spike repositories used to manage JPA-Entities. - Corresponding EJB Classes: These are ejbs using repository classes to access to entities.

We use these modules to allow for data sharing among war module: - Sharing login and session state among war modules. - Persistent event mechanism among independent modules. Sort of event queue. A module can expose an event through the definition of an EventJPA-Klass and an EventListener-Klass. - Each Module interested in the Event can register a persistent listener. - Before sending an event, the producing module loads the list of listeners and create one instance of the event for each registered listener. - Worker threads in the consuming module regularly check the event table, load event destinated to them, process theses events and delete them.

adcore.lib

general core module with utility classes.

adbase.lib

general adbase shared library. Contains all database classes for the adbase server module.

module.client

This is an angularjs browser based client module. No server side logic.

adres.client

Is used to stored files shared among all client modules. Because they all run on the save domain, client browser will never need to reload files when they switch among clients.

adlogin.client

This is the login client module. It provides the following functionality: - Login - Display a list of workspaces - Change password - See connection history - Logout

adbase.client

This is the client module used to manage organisations, orgUnits, logins and terminals.

module.server

REST modules. Contains all rest interfaces used to service client modules.

adterm.server

Special module used to register terminals. Uses basic authentication help register terminals.

adbase.server

Server module for the management of organisations, orgUnits, logins and terminals.

Initializating and Testing the Framework

In order to initialize the module, follow these steps:

Deployment

$JBOSS_HOME is the base directory of the jboss-eap-6.3.0 --> adcom> cp adcom.configuration/jboss-eap-6.3/standalone/security/adcom.jks $JBOSS_HOME/standalone/security/adcom.jks --> adcom> cp adcom.configuration/jboss-eap-6.3/standalone/configuration/standalone.xml $JBOSS_HOME/standalone/configuration/standalone.xml

Then start jboss-eap

--> adcom> mvn clean install --> adcom> cp adlogin.client/target/adlogin.client.war $JBOSS_HOME/standalone/deployments/ --> adcom> cp adbase.server/target/adbase.server.war $JBOSS_HOME/standalone/deployments/ --> adcom> cp adres.client/target/adres.client.war $JBOSS_HOME/standalone/deployments/ --> adcom> cp adterm.server/target/adterm.server.war $JBOSS_HOME/standalone/deployments/ --> adcom> cp adbase.client/target/adbase.client.war $JBOSS_HOME/standalone/deployments/

This is the data file. --> adcom> cp adcom.configuration/jboss-eap-6.3/adbase/data/adbase.xls $JBOSS_HOME/adbase/data/adbase.xls

You can deploy h2console.war to have access to the database. --> adcom> cp $Downloads/h2console.war $JBOSS_HOME/standalone/deployments/

Test

http://localhost:8080/adterm.server

adcom's People

Contributors

boriswaguia avatar clovisgakam avatar dassiorleando avatar francis-pouatcha avatar guymoyo avatar hsimofranklin avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adcom's Issues

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.