SlideShare a Scribd company logo
1 of 26
Download to read offline
Introduction to
            Open Source ERP
           for Java Developers
     (Compiere, ADempiere and Openbravo)

Presented by:
Chuck Boecking from Trek Global
512.850.6068
Note: If you find this presentation helpful or if you have recommendations, please
reach out and let me know. Thanks!
Why a Java Developer Should Care
● Open Source ERP is approaching the tipping
  point of business acceptance.
● This tipping point gives the Java developers
  more freedom and flexibility when adopting
  platforms to solve wide-scale business
  problems.
● A single company-wide open source system
  gives developers more resources to drive
  and change business.
Interesting Points
● Compiere, ADempiere and OpenBravo are
  mature and stable solutions for managing
  goods and services in enterprises from
  $50M to $500M in gross revenue.
● Discussion topics will include architecture,
  application, performance tuning and war
  stories.
What is ERP?
ERP or Enterprise Resource Planning is a
single application that brings many common
organizational features into a single package.

Features include:
Accounting (GL, AP, AR)   Inventory Management       CRM (Customer Management


Receiving                 Purchasing (Order)         Fulfillment and Shipping
                          Management

Product Management        Sales (Order) Management   Manufacturing


Customer Management       Vendor Management          Service Management
Case Studies Worth Reading
Complex inspection and wholesale distribution
● 120 users across many countries and
  multiple financial entities
● Why notable: extensive customization

High volume wholesale and retail distribution
● 300 concurrent users shipping 10M units per
  month across 140K order lines
● Why notable: high volume
Technology Stack
● Java SE
● Tomcat and JBoss
● Model Driven Architecture - application
  dictionary
● zk WebUI and Java Swing
● PostgreSQL DB and Oracle DB
● 2Pack Release Management

Notable: supports end-to-end license-free
usage for companies with up to 500 concurrent
users.
ADempiere Statistics
● Just under 3000 classes w/o including auto-
  generated model classes
● About 800 tables
● Created in sf.net in 2006 as a fork from
  Compiere
● Historically one of sf.net's most active
  projects
Common Developer Entry Points
Developer hooks for implementing logic and
automation:
● Callout - based on user interactions with UI.
● Model - based on interaction with
  persistence layer.
● Processes - based on users deliberately
  pressing a button or invoking a menu action.

Other: Context - helps control visibility and
default values and is also accessible from code
almost anywhere.
Callout
package org.adempiere.callout;

import java.util.Properties;

import org.compiere.model.CalloutEngine;
import org.compiere.model.GridField;
import org.compiere.model.GridTab;
import org.compiere.util.AdempiereSystemError;
import org.compiere.util.Env;

public class SimpleCallout extends CalloutEngine {

public String test(Properties ctx, int windowNo, GridTab mTab, GridField mField,
Object value) throws AdempiereSystemError {

 // First get value
 Price = ((BigDecimal)mTab.getValue("Price"));

 // do some calculations
  BigDecimal Total = Qty.multiply(Price);

 // Set value back to column field
 mTab.setValue("Total", Total);

  return "this is a return string";
 }
}
Source: http://www.adempiere.com/Callout
Model
package adempiere.model;
import org.compiere.model.X_XX_Material;
public class MMaterial extends X_XX_Material {
        /** Create & Load existing Persistent Object */
        public MMaterial(Properties ctx, int XX_Material_ID, String trxName) {
               super(ctx, XX_Material_ID, trxName);
               // other initializations here
        }

       /** Create & Load existing Persistent Object.         */
       public MMaterial(Properties ctx, ResultSet rs, String trxName) {
              super(ctx, rs, trxName);
              // other initializations here
       }

       /** [OPTIONAL] Called before Save for Pre-Save Operation.           */
       protected boolean beforeSave(boolean newRecord)
       {
              return true;
       }
       /** ... afterSave(), getters, setters, convenience methods */
}


Example: http://www.adempiere.com/NewWindow
Process
package org.compiere.process;
public class TemplateProcess extends SvrProcess {
        private PO record;

      @Override
      protected void prepare() {
             for ( ProcessInfoParameter para : getParameter())
             { ...handle parameters...
             }
             // you can also retrieve the id of the current record for processes called from a window
             int recordId = getRecord_ID();
      }

      @Override
      protected String doIt() throws Exception {

             /* Commonly the doIt method firstly do some validations on the parameters
                and throws AdempiereUserException or AdempiereSystemException if errors found */

             return "A message to the user (indicating success - failures must throw Exceptions)";
      }

      /** Post process actions (outside trx). */
      @Override
      protected void postProcess(boolean success) {
              if (success) {} else { }
      }

}
http://www.adempiere.com/Process
Context
int currole_id = Env.getContextAsInt(ctx, "#AD_Role_ID");
2Pack Environment Migration
http://www.adempiere.com/2Pack
                                                                 Simple
                                                               Environment
                                                               Management
                                 Prod
 Complex
Environment                                                       Prod
Management
                     Stage 1            Stage 2

                                                                  Dev

              QA1                QA2              QA3




   Dev1               Dev2              Dev3            Dev4
Resources
Development introduction
http://www.adempiere.com/Development




End-to-end development example http://www.adempiere.
com/How_to_create_a_complete_new_module_in_ADempiere




Creating a customization environment
http://www.adempiere.com/Create_your_ADempiere_customization_environment
War Stories
Complex: CSI inspection

Volume: 10M units from worldwide distribution

eCommerce: 3 webstores => 1K shipments/day

Project Management: Time tracking
Chuck Boecking
●   Started with Compiere in 2003
●   Open Source ERP 70 to 90% since 2006
●   Professional educator and integrator
●   Wholesale distribution and assembly
    specialty

Chuck Boecking
512.850.6068
cboecking@trekglobal.com
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers
Open Source ERP Technologies for Java Developers

More Related Content

What's hot

Documentum Data Models.ppt
Documentum Data Models.pptDocumentum Data Models.ppt
Documentum Data Models.pptHarysCv
 
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdf
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdfInformation Architecture Guidelines (SharePoint) - Innovate Vancouver.pdf
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdfInnovate Vancouver
 
Fusion hcm presentation final version
Fusion hcm presentation final versionFusion hcm presentation final version
Fusion hcm presentation final versionFeras Ahmad
 
Presentation oracle ebs r12
Presentation oracle ebs r12Presentation oracle ebs r12
Presentation oracle ebs r12Feras Ahmad
 
Odoo Functional Training
Odoo Functional TrainingOdoo Functional Training
Odoo Functional TrainingPinakin Nayi
 
Oracle apps order-management
Oracle apps order-managementOracle apps order-management
Oracle apps order-managementswedin
 
Node mailer example how to send email using nodemailer with gmail & mailtrap
Node mailer example how to send email using nodemailer with gmail & mailtrapNode mailer example how to send email using nodemailer with gmail & mailtrap
Node mailer example how to send email using nodemailer with gmail & mailtrapKaty Slemon
 
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)Amazon Web Services Korea
 
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)AWSKRUG - AWS한국사용자모임
 
Odoo Presentasi.pptx
Odoo Presentasi.pptxOdoo Presentasi.pptx
Odoo Presentasi.pptxYudi512144
 
Digital transformation with Odoo platform
Digital transformation with Odoo platformDigital transformation with Odoo platform
Digital transformation with Odoo platformCanh Pham
 
Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Mario Cardinal
 
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?SharePoint Site Architecture: Flat, Deep or somewhere in the middle?
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?Joanne Klein
 
Project Tracker App - Model Driven Apps
Project Tracker App - Model Driven AppsProject Tracker App - Model Driven Apps
Project Tracker App - Model Driven AppsSachchin Annam
 
Microsoft Teams Overview
Microsoft Teams OverviewMicrosoft Teams Overview
Microsoft Teams OverviewSara Barbosa
 
Oracle property manager
Oracle property managerOracle property manager
Oracle property managerGOT1
 
CRM Brochure@Zoho Corporation
CRM Brochure@Zoho CorporationCRM Brochure@Zoho Corporation
CRM Brochure@Zoho Corporationrahulasb
 

What's hot (20)

Documentum Data Models.ppt
Documentum Data Models.pptDocumentum Data Models.ppt
Documentum Data Models.ppt
 
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdf
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdfInformation Architecture Guidelines (SharePoint) - Innovate Vancouver.pdf
Information Architecture Guidelines (SharePoint) - Innovate Vancouver.pdf
 
Fusion hcm presentation final version
Fusion hcm presentation final versionFusion hcm presentation final version
Fusion hcm presentation final version
 
Presentation oracle ebs r12
Presentation oracle ebs r12Presentation oracle ebs r12
Presentation oracle ebs r12
 
Odoo Functional Training
Odoo Functional TrainingOdoo Functional Training
Odoo Functional Training
 
Oracle apps order-management
Oracle apps order-managementOracle apps order-management
Oracle apps order-management
 
Node mailer example how to send email using nodemailer with gmail & mailtrap
Node mailer example how to send email using nodemailer with gmail & mailtrapNode mailer example how to send email using nodemailer with gmail & mailtrap
Node mailer example how to send email using nodemailer with gmail & mailtrap
 
ODOO Logistics
ODOO LogisticsODOO Logistics
ODOO Logistics
 
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)
Amazon EC2 Container Service 자세히 보기 - 김상필 (AWS 솔루션즈 아키텍트)
 
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)
DynamoDB를 이용한 PHP와 Django간 세션 공유 - 강대성 (피플펀드컴퍼니)
 
Odoo access rights
Odoo access rightsOdoo access rights
Odoo access rights
 
Odoo Presentasi.pptx
Odoo Presentasi.pptxOdoo Presentasi.pptx
Odoo Presentasi.pptx
 
ERPnext HR Module
ERPnext HR ModuleERPnext HR Module
ERPnext HR Module
 
Digital transformation with Odoo platform
Digital transformation with Odoo platformDigital transformation with Odoo platform
Digital transformation with Odoo platform
 
Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.Best Practices for Architecting a Pragmatic Web API.
Best Practices for Architecting a Pragmatic Web API.
 
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?SharePoint Site Architecture: Flat, Deep or somewhere in the middle?
SharePoint Site Architecture: Flat, Deep or somewhere in the middle?
 
Project Tracker App - Model Driven Apps
Project Tracker App - Model Driven AppsProject Tracker App - Model Driven Apps
Project Tracker App - Model Driven Apps
 
Microsoft Teams Overview
Microsoft Teams OverviewMicrosoft Teams Overview
Microsoft Teams Overview
 
Oracle property manager
Oracle property managerOracle property manager
Oracle property manager
 
CRM Brochure@Zoho Corporation
CRM Brochure@Zoho CorporationCRM Brochure@Zoho Corporation
CRM Brochure@Zoho Corporation
 

Viewers also liked

ERP System Development Plan
ERP System Development PlanERP System Development Plan
ERP System Development PlanSri Jayasinghe
 
Open Source Solution
Open Source SolutionOpen Source Solution
Open Source Solutionittishait
 
Smart pos stepbystep-v2-0
Smart pos stepbystep-v2-0Smart pos stepbystep-v2-0
Smart pos stepbystep-v2-0Rawntech Mak
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshopmanisherp084
 
Your Guide to be a Software Engineer
Your Guide to be a Software EngineerYour Guide to be a Software Engineer
Your Guide to be a Software EngineerAhmed Mater
 
Moneran Kingdom
Moneran KingdomMoneran Kingdom
Moneran Kingdomiiiapdst
 
Nyc 7 qualities_of_the_leader_as_coach_
Nyc 7 qualities_of_the_leader_as_coach_Nyc 7 qualities_of_the_leader_as_coach_
Nyc 7 qualities_of_the_leader_as_coach_tomheck
 
Business Process Reengineering Presentation
Business Process Reengineering PresentationBusiness Process Reengineering Presentation
Business Process Reengineering PresentationHira Anwer Khan
 
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...Paris Open Source Summit
 
Training & development dhanu
Training & development dhanuTraining & development dhanu
Training & development dhanuDhanu P G Naik
 
Final Report Business Process Reengineering
Final Report Business Process ReengineeringFinal Report Business Process Reengineering
Final Report Business Process ReengineeringHira Anwer Khan
 
Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...Odoo
 

Viewers also liked (20)

ERP System Development Plan
ERP System Development PlanERP System Development Plan
ERP System Development Plan
 
ERP PROJECT
ERP PROJECTERP PROJECT
ERP PROJECT
 
Open Source Solution
Open Source SolutionOpen Source Solution
Open Source Solution
 
Smart pos stepbystep-v2-0
Smart pos stepbystep-v2-0Smart pos stepbystep-v2-0
Smart pos stepbystep-v2-0
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshop
 
Your Guide to be a Software Engineer
Your Guide to be a Software EngineerYour Guide to be a Software Engineer
Your Guide to be a Software Engineer
 
Moneran Kingdom
Moneran KingdomMoneran Kingdom
Moneran Kingdom
 
Group3
Group3Group3
Group3
 
Nyc 7 qualities_of_the_leader_as_coach_
Nyc 7 qualities_of_the_leader_as_coach_Nyc 7 qualities_of_the_leader_as_coach_
Nyc 7 qualities_of_the_leader_as_coach_
 
Business Process Reengineering Presentation
Business Process Reengineering PresentationBusiness Process Reengineering Presentation
Business Process Reengineering Presentation
 
Unit 06: The Web Application Extension for UML
Unit 06: The Web Application Extension for UMLUnit 06: The Web Application Extension for UML
Unit 06: The Web Application Extension for UML
 
Krefeld iDempiere 05/17/2013
Krefeld iDempiere 05/17/2013Krefeld iDempiere 05/17/2013
Krefeld iDempiere 05/17/2013
 
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...
Keynote #Tech - Solution métier Open Source : exemple de nouvelle approche te...
 
Unit 05: Physical Architecture Design
Unit 05: Physical Architecture DesignUnit 05: Physical Architecture Design
Unit 05: Physical Architecture Design
 
3 Jsf
3 Jsf3 Jsf
3 Jsf
 
Training & development dhanu
Training & development dhanuTraining & development dhanu
Training & development dhanu
 
Unit 09: Web Application Testing
Unit 09: Web Application TestingUnit 09: Web Application Testing
Unit 09: Web Application Testing
 
Final Report Business Process Reengineering
Final Report Business Process ReengineeringFinal Report Business Process Reengineering
Final Report Business Process Reengineering
 
1 Introduction
1 Introduction1 Introduction
1 Introduction
 
Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...Tips on how to improve the performance of your custom modules for high volume...
Tips on how to improve the performance of your custom modules for high volume...
 

Similar to Open Source ERP Technologies for Java Developers

Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Mike Villiger
 
Guide to Generate Extent Report in Kotlin
Guide to Generate Extent Report in KotlinGuide to Generate Extent Report in Kotlin
Guide to Generate Extent Report in KotlinRapidValue
 
Anatomy of a Build Pipeline
Anatomy of a Build PipelineAnatomy of a Build Pipeline
Anatomy of a Build PipelineSamuel Brown
 
Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Peter Bittner
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)CIVEL Benoit
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1CIVEL Benoit
 
Simplifying RCP Update and Install
Simplifying RCP Update and InstallSimplifying RCP Update and Install
Simplifying RCP Update and Installsusanfmccourt
 
Pragmatic Monolith-First, easy to decompose, clean architecture
Pragmatic Monolith-First, easy to decompose, clean architecturePragmatic Monolith-First, easy to decompose, clean architecture
Pragmatic Monolith-First, easy to decompose, clean architecturePiotr Pelczar
 
Testing your application on Google App Engine
Testing your application on Google App EngineTesting your application on Google App Engine
Testing your application on Google App EngineInphina Technologies
 
Testing Your Application On Google App Engine
Testing Your Application On Google App EngineTesting Your Application On Google App Engine
Testing Your Application On Google App EngineIndicThreads
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To PrometheusEtienne Coutaud
 
Idempotency of commands in distributed systems
Idempotency of commands in distributed systemsIdempotency of commands in distributed systems
Idempotency of commands in distributed systemsMax Małecki
 
Docker presentasjon java bin
Docker presentasjon java binDocker presentasjon java bin
Docker presentasjon java binOlve Hansen
 
Java programming concept
Java programming conceptJava programming concept
Java programming conceptSanjay Gunjal
 
CMI 2.0 session at Drupal DevDays in Cluj-Napoca
CMI 2.0 session at Drupal DevDays in Cluj-NapocaCMI 2.0 session at Drupal DevDays in Cluj-Napoca
CMI 2.0 session at Drupal DevDays in Cluj-NapocaNuvole
 
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8sShipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8sAndreas Grabner
 

Similar to Open Source ERP Technologies for Java Developers (20)

Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019Chicago DevOps Meetup Nov2019
Chicago DevOps Meetup Nov2019
 
Guide to Generate Extent Report in Kotlin
Guide to Generate Extent Report in KotlinGuide to Generate Extent Report in Kotlin
Guide to Generate Extent Report in Kotlin
 
Anatomy of a Build Pipeline
Anatomy of a Build PipelineAnatomy of a Build Pipeline
Anatomy of a Build Pipeline
 
Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
Simplifying RCP Update and Install
Simplifying RCP Update and InstallSimplifying RCP Update and Install
Simplifying RCP Update and Install
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
Pragmatic Monolith-First, easy to decompose, clean architecture
Pragmatic Monolith-First, easy to decompose, clean architecturePragmatic Monolith-First, easy to decompose, clean architecture
Pragmatic Monolith-First, easy to decompose, clean architecture
 
Testing your application on Google App Engine
Testing your application on Google App EngineTesting your application on Google App Engine
Testing your application on Google App Engine
 
Testing Your Application On Google App Engine
Testing Your Application On Google App EngineTesting Your Application On Google App Engine
Testing Your Application On Google App Engine
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To Prometheus
 
Hot sos em12c_metric_extensions
Hot sos em12c_metric_extensionsHot sos em12c_metric_extensions
Hot sos em12c_metric_extensions
 
DevOps explained
DevOps explainedDevOps explained
DevOps explained
 
Idempotency of commands in distributed systems
Idempotency of commands in distributed systemsIdempotency of commands in distributed systems
Idempotency of commands in distributed systems
 
Docker presentasjon java bin
Docker presentasjon java binDocker presentasjon java bin
Docker presentasjon java bin
 
Java programming concept
Java programming conceptJava programming concept
Java programming concept
 
CMI 2.0 session at Drupal DevDays in Cluj-Napoca
CMI 2.0 session at Drupal DevDays in Cluj-NapocaCMI 2.0 session at Drupal DevDays in Cluj-Napoca
CMI 2.0 session at Drupal DevDays in Cluj-Napoca
 
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8sShipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
 
Tdd,Ioc
Tdd,IocTdd,Ioc
Tdd,Ioc
 

Recently uploaded

Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
The Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemThe Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemSafe Software
 
Deliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceDeliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceOpsTree solutions
 
A PowerPoint Presentation on Vikram Lander pptx
A PowerPoint Presentation on Vikram Lander pptxA PowerPoint Presentation on Vikram Lander pptx
A PowerPoint Presentation on Vikram Lander pptxatharvdev2010
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
full stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdffull stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdfHulkTheDevil
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationBuild Intuit
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
Transport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MITransport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MIRomil Mishra
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfROWELL MARQUINA
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfwill854175
 
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2DianaGray10
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerAnchore
 
The work to make the piecework work: An ethnographic study of food delivery w...
The work to make the piecework work: An ethnographic study of food delivery w...The work to make the piecework work: An ethnographic study of food delivery w...
The work to make the piecework work: An ethnographic study of food delivery w...stockholm university
 
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023Joshua Flannery
 
Dublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxDublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxKunal Gupta
 

Recently uploaded (20)

Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
The Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemThe Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data Ecosystem
 
Deliver Latency Free Customer Experience
Deliver Latency Free Customer ExperienceDeliver Latency Free Customer Experience
Deliver Latency Free Customer Experience
 
A PowerPoint Presentation on Vikram Lander pptx
A PowerPoint Presentation on Vikram Lander pptxA PowerPoint Presentation on Vikram Lander pptx
A PowerPoint Presentation on Vikram Lander pptx
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
full stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdffull stack practical assignment msc cs.pdf
full stack practical assignment msc cs.pdf
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientation
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
Transport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MITransport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MI
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdf
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdf
 
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
 
Software Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey HightowerSoftware Security in the Real World w/Kelsey Hightower
Software Security in the Real World w/Kelsey Hightower
 
The work to make the piecework work: An ethnographic study of food delivery w...
The work to make the piecework work: An ethnographic study of food delivery w...The work to make the piecework work: An ethnographic study of food delivery w...
The work to make the piecework work: An ethnographic study of food delivery w...
 
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023
THE STATE OF STARTUP ECOSYSTEM - INDIA x JAPAN 2023
 
Dublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxDublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptx
 

Open Source ERP Technologies for Java Developers

  • 1. Introduction to Open Source ERP for Java Developers (Compiere, ADempiere and Openbravo) Presented by: Chuck Boecking from Trek Global 512.850.6068 Note: If you find this presentation helpful or if you have recommendations, please reach out and let me know. Thanks!
  • 2. Why a Java Developer Should Care ● Open Source ERP is approaching the tipping point of business acceptance. ● This tipping point gives the Java developers more freedom and flexibility when adopting platforms to solve wide-scale business problems. ● A single company-wide open source system gives developers more resources to drive and change business.
  • 3. Interesting Points ● Compiere, ADempiere and OpenBravo are mature and stable solutions for managing goods and services in enterprises from $50M to $500M in gross revenue. ● Discussion topics will include architecture, application, performance tuning and war stories.
  • 4. What is ERP? ERP or Enterprise Resource Planning is a single application that brings many common organizational features into a single package. Features include: Accounting (GL, AP, AR) Inventory Management CRM (Customer Management Receiving Purchasing (Order) Fulfillment and Shipping Management Product Management Sales (Order) Management Manufacturing Customer Management Vendor Management Service Management
  • 5. Case Studies Worth Reading Complex inspection and wholesale distribution ● 120 users across many countries and multiple financial entities ● Why notable: extensive customization High volume wholesale and retail distribution ● 300 concurrent users shipping 10M units per month across 140K order lines ● Why notable: high volume
  • 6. Technology Stack ● Java SE ● Tomcat and JBoss ● Model Driven Architecture - application dictionary ● zk WebUI and Java Swing ● PostgreSQL DB and Oracle DB ● 2Pack Release Management Notable: supports end-to-end license-free usage for companies with up to 500 concurrent users.
  • 7. ADempiere Statistics ● Just under 3000 classes w/o including auto- generated model classes ● About 800 tables ● Created in sf.net in 2006 as a fork from Compiere ● Historically one of sf.net's most active projects
  • 8.
  • 9. Common Developer Entry Points Developer hooks for implementing logic and automation: ● Callout - based on user interactions with UI. ● Model - based on interaction with persistence layer. ● Processes - based on users deliberately pressing a button or invoking a menu action. Other: Context - helps control visibility and default values and is also accessible from code almost anywhere.
  • 10. Callout package org.adempiere.callout; import java.util.Properties; import org.compiere.model.CalloutEngine; import org.compiere.model.GridField; import org.compiere.model.GridTab; import org.compiere.util.AdempiereSystemError; import org.compiere.util.Env; public class SimpleCallout extends CalloutEngine { public String test(Properties ctx, int windowNo, GridTab mTab, GridField mField, Object value) throws AdempiereSystemError { // First get value Price = ((BigDecimal)mTab.getValue("Price")); // do some calculations BigDecimal Total = Qty.multiply(Price); // Set value back to column field mTab.setValue("Total", Total); return "this is a return string"; } } Source: http://www.adempiere.com/Callout
  • 11. Model package adempiere.model; import org.compiere.model.X_XX_Material; public class MMaterial extends X_XX_Material { /** Create & Load existing Persistent Object */ public MMaterial(Properties ctx, int XX_Material_ID, String trxName) { super(ctx, XX_Material_ID, trxName); // other initializations here } /** Create & Load existing Persistent Object. */ public MMaterial(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); // other initializations here } /** [OPTIONAL] Called before Save for Pre-Save Operation. */ protected boolean beforeSave(boolean newRecord) { return true; } /** ... afterSave(), getters, setters, convenience methods */ } Example: http://www.adempiere.com/NewWindow
  • 12. Process package org.compiere.process; public class TemplateProcess extends SvrProcess { private PO record; @Override protected void prepare() { for ( ProcessInfoParameter para : getParameter()) { ...handle parameters... } // you can also retrieve the id of the current record for processes called from a window int recordId = getRecord_ID(); } @Override protected String doIt() throws Exception { /* Commonly the doIt method firstly do some validations on the parameters and throws AdempiereUserException or AdempiereSystemException if errors found */ return "A message to the user (indicating success - failures must throw Exceptions)"; } /** Post process actions (outside trx). */ @Override protected void postProcess(boolean success) { if (success) {} else { } } } http://www.adempiere.com/Process
  • 13. Context int currole_id = Env.getContextAsInt(ctx, "#AD_Role_ID");
  • 14. 2Pack Environment Migration http://www.adempiere.com/2Pack Simple Environment Management Prod Complex Environment Prod Management Stage 1 Stage 2 Dev QA1 QA2 QA3 Dev1 Dev2 Dev3 Dev4
  • 15. Resources Development introduction http://www.adempiere.com/Development End-to-end development example http://www.adempiere. com/How_to_create_a_complete_new_module_in_ADempiere Creating a customization environment http://www.adempiere.com/Create_your_ADempiere_customization_environment
  • 16. War Stories Complex: CSI inspection Volume: 10M units from worldwide distribution eCommerce: 3 webstores => 1K shipments/day Project Management: Time tracking
  • 17. Chuck Boecking ● Started with Compiere in 2003 ● Open Source ERP 70 to 90% since 2006 ● Professional educator and integrator ● Wholesale distribution and assembly specialty Chuck Boecking 512.850.6068 cboecking@trekglobal.com