Modular JavaScript

Modular JavaScript
@sander_mak
@pbakker
Modularity
 intro
JavaScript
 pitfalls
JS
 Module
 Systems
Java
 +
 JavaScript
 modularity
Why
 Modularity?
Modularity is
key
 
to maintainable code
Modularity 101
Encapsulation
Maintainability
Flexible composition
Sanity
Modularity 101
Remember
 Java?
Low
 Coupling
High
 Cohesion
Modularity in Java
Bundle A
+ package org.myapi
- package org.myapi.impl
- package org.util
Bundle B
+ package org.other.api
Bundle C
+ package org.other.impl
Imports
Imports
Modularity in Java
The
 only
 modularity
 
solution
 for
 Java
 today
OSGi
Why modularity in JavaScript?
We
 run
 into
 the
 same
 maintainability
 
problems
 as
 on
 the
 server
 side...
So...
20%
80%
Java JavaScript
50% 50%
then now
1 of 38

Recommended

Java 9 Modularity in Action by
Java 9 Modularity in ActionJava 9 Modularity in Action
Java 9 Modularity in ActionSander Mak (@Sander_Mak)
8.5K views49 slides
Desiging for Modularity with Java 9 by
Desiging for Modularity with Java 9Desiging for Modularity with Java 9
Desiging for Modularity with Java 9Sander Mak (@Sander_Mak)
1.9K views80 slides
Scala & Lift (JEEConf 2012) by
Scala & Lift (JEEConf 2012)Scala & Lift (JEEConf 2012)
Scala & Lift (JEEConf 2012)Sander Mak (@Sander_Mak)
2.5K views33 slides
Java 9 modularity by
Java 9 modularityJava 9 modularity
Java 9 modularityKnoldus Inc.
1.3K views18 slides
Modular Java by
Modular JavaModular Java
Modular JavaMartin Toshev
3K views69 slides
Modules or microservices? by
Modules or microservices?Modules or microservices?
Modules or microservices?Sander Mak (@Sander_Mak)
5.9K views117 slides

More Related Content

What's hot

Modular Java applications with OSGi on Apache Karaf by
Modular Java applications with OSGi on Apache KarafModular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache KarafIoan Eugen Stan
1.9K views18 slides
Karaf ee-apachecon eu-2012 by
Karaf ee-apachecon eu-2012Karaf ee-apachecon eu-2012
Karaf ee-apachecon eu-2012Charles Moulliard
6.2K views52 slides
Java modules using project jigsaw@jdk 9 by
Java modules using project jigsaw@jdk 9Java modules using project jigsaw@jdk 9
Java modules using project jigsaw@jdk 9Mauricio "Maltron" Leal
617 views21 slides
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016) by
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)Robert Scholte
1.7K views52 slides
OSGi & Java EE in GlassFish by
OSGi & Java EE in GlassFishOSGi & Java EE in GlassFish
OSGi & Java EE in GlassFishSanjeeb Sahoo
4.8K views25 slides
Java Modularity with OSGi by
Java Modularity with OSGiJava Modularity with OSGi
Java Modularity with OSGiIlya Rybak
18.9K views58 slides

What's hot(20)

Modular Java applications with OSGi on Apache Karaf by Ioan Eugen Stan
Modular Java applications with OSGi on Apache KarafModular Java applications with OSGi on Apache Karaf
Modular Java applications with OSGi on Apache Karaf
Ioan Eugen Stan1.9K views
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016) by Robert Scholte
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)
Java 9 and the impact on Maven Projects (ApacheCon Europe 2016)
Robert Scholte1.7K views
OSGi & Java EE in GlassFish by Sanjeeb Sahoo
OSGi & Java EE in GlassFishOSGi & Java EE in GlassFish
OSGi & Java EE in GlassFish
Sanjeeb Sahoo4.8K views
Java Modularity with OSGi by Ilya Rybak
Java Modularity with OSGiJava Modularity with OSGi
Java Modularity with OSGi
Ilya Rybak18.9K views
Polygot Java EE on the GraalVM by Ryan Cuprak
Polygot Java EE on the GraalVMPolygot Java EE on the GraalVM
Polygot Java EE on the GraalVM
Ryan Cuprak1K views
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development by Sanjeeb Sahoo
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application DevelopmentOSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
OSGi and Java EE: A Hybrid Approach to Enterprise Java Application Development
Sanjeeb Sahoo2.8K views
The Making of the Oracle R2DBC Driver and How to Take Your Code from Synchron... by VMware Tanzu
The Making of the Oracle R2DBC Driver and How to Take Your Code from Synchron...The Making of the Oracle R2DBC Driver and How to Take Your Code from Synchron...
The Making of the Oracle R2DBC Driver and How to Take Your Code from Synchron...
VMware Tanzu689 views
Apache, osgi and karaf par Guillaume Nodet by Normandy JUG
Apache, osgi and karaf par Guillaume NodetApache, osgi and karaf par Guillaume Nodet
Apache, osgi and karaf par Guillaume Nodet
Normandy JUG2.3K views
Spring Boot on Amazon Web Services with Spring Cloud AWS by VMware Tanzu
Spring Boot on Amazon Web Services with Spring Cloud AWSSpring Boot on Amazon Web Services with Spring Cloud AWS
Spring Boot on Amazon Web Services with Spring Cloud AWS
VMware Tanzu1.2K views
Nuxeo WebEngine and GlassFish v3 by Nuxeo
Nuxeo WebEngine and GlassFish v3Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3
Nuxeo495 views
Micronaut Deep Dive - Devoxx Belgium 2019 by graemerocher
Micronaut Deep Dive - Devoxx Belgium 2019Micronaut Deep Dive - Devoxx Belgium 2019
Micronaut Deep Dive - Devoxx Belgium 2019
graemerocher1.4K views
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011 by Arun Gupta
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Arun Gupta2.3K views

Viewers also liked

Modularity in the Cloud by
Modularity in the CloudModularity in the Cloud
Modularity in the CloudSander Mak (@Sander_Mak)
2.6K views34 slides
Cross-Build Injection attacks: how safe is your Java build? by
Cross-Build Injection attacks: how safe is your Java build?Cross-Build Injection attacks: how safe is your Java build?
Cross-Build Injection attacks: how safe is your Java build?Sander Mak (@Sander_Mak)
3.7K views38 slides
Hibernate Performance Tuning (JEEConf 2012) by
Hibernate Performance Tuning (JEEConf 2012)Hibernate Performance Tuning (JEEConf 2012)
Hibernate Performance Tuning (JEEConf 2012)Sander Mak (@Sander_Mak)
9.4K views54 slides
Ferguson - Legislator's Report Card by
Ferguson - Legislator's Report CardFerguson - Legislator's Report Card
Ferguson - Legislator's Report Cardbiferguson
336 views10 slides
Google Doc Ch4 by
Google Doc Ch4Google Doc Ch4
Google Doc Ch4Warren Yip
300 views3 slides
張望 佛門攝影 by
張望   佛門攝影張望   佛門攝影
張望 佛門攝影Huanyin Cheng
537 views57 slides

Viewers also liked(20)

Ferguson - Legislator's Report Card by biferguson
Ferguson - Legislator's Report CardFerguson - Legislator's Report Card
Ferguson - Legislator's Report Card
biferguson336 views
Google Doc Ch4 by Warren Yip
Google Doc Ch4Google Doc Ch4
Google Doc Ch4
Warren Yip300 views
Mlc For Cities Introduction To The Concept by MultiLingualCity
Mlc For Cities Introduction To The ConceptMlc For Cities Introduction To The Concept
Mlc For Cities Introduction To The Concept
MultiLingualCity281 views
Presentation2[1] by o.m.garcia
Presentation2[1]Presentation2[1]
Presentation2[1]
o.m.garcia178 views
Dialogbaseret Aftalestyring Powerpoint øKonomiudvalget 4. December 07 by ibsis
Dialogbaseret Aftalestyring   Powerpoint øKonomiudvalget 4. December 07Dialogbaseret Aftalestyring   Powerpoint øKonomiudvalget 4. December 07
Dialogbaseret Aftalestyring Powerpoint øKonomiudvalget 4. December 07
ibsis398 views
La Narracion by mgartal
La NarracionLa Narracion
La Narracion
mgartal456 views
Presentation Skills - Session One by Kevin Smith
Presentation Skills - Session OnePresentation Skills - Session One
Presentation Skills - Session One
Kevin Smith730 views
Vip Program by Proforma Amplified by Jim Hanika
Vip Program by Proforma AmplifiedVip Program by Proforma Amplified
Vip Program by Proforma Amplified
Jim Hanika398 views

Similar to Modular JavaScript

Modular JavaScript by
Modular JavaScriptModular JavaScript
Modular JavaScriptNLJUG
1.2K views59 slides
Modular JavaScript in an OSGi World - S Mak by
Modular JavaScript in an OSGi World - S MakModular JavaScript in an OSGi World - S Mak
Modular JavaScript in an OSGi World - S Makmfrancis
6.3K views68 slides
Java 7 Modularity: a View from the Gallery by
Java 7 Modularity: a View from the GalleryJava 7 Modularity: a View from the Gallery
Java 7 Modularity: a View from the Gallerynjbartlett
3.3K views123 slides
Java 9, JShell, and Modularity by
Java 9, JShell, and ModularityJava 9, JShell, and Modularity
Java 9, JShell, and ModularityMohammad Hossein Rimaz
1.2K views60 slides
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-java by
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-javaMoved to https://slidr.io/azzazzel/what-s-not-new-in-modular-java
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-javaMilen Dyankov
26.7K views70 slides

Similar to Modular JavaScript(20)

Modular JavaScript by NLJUG
Modular JavaScriptModular JavaScript
Modular JavaScript
NLJUG1.2K views
Modular JavaScript in an OSGi World - S Mak by mfrancis
Modular JavaScript in an OSGi World - S MakModular JavaScript in an OSGi World - S Mak
Modular JavaScript in an OSGi World - S Mak
mfrancis6.3K views
Java 7 Modularity: a View from the Gallery by njbartlett
Java 7 Modularity: a View from the GalleryJava 7 Modularity: a View from the Gallery
Java 7 Modularity: a View from the Gallery
njbartlett3.3K views
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-java by Milen Dyankov
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-javaMoved to https://slidr.io/azzazzel/what-s-not-new-in-modular-java
Moved to https://slidr.io/azzazzel/what-s-not-new-in-modular-java
Milen Dyankov26.7K views
Modular Java EE in the Cloud by Bert Ertman
Modular Java EE in the CloudModular Java EE in the Cloud
Modular Java EE in the Cloud
Bert Ertman2K views
Get the Top 6 new features in Java 2019 by Aegis Softtech
Get the Top 6 new features in Java 2019Get the Top 6 new features in Java 2019
Get the Top 6 new features in Java 2019
Aegis Softtech273 views
Java 9 New Features by Ali BAKAN
Java 9 New FeaturesJava 9 New Features
Java 9 New Features
Ali BAKAN196 views
Managing modular software for your nu get, c++ and java development by Baruch Sadogursky
Managing modular software for your nu get, c++ and java developmentManaging modular software for your nu get, c++ and java development
Managing modular software for your nu get, c++ and java development
Baruch Sadogursky1.5K views
Zero Downtime with OSGi - Chicago Coder Conference 05-15-2015 by Mariano Gonzalez
Zero Downtime with OSGi - Chicago Coder Conference 05-15-2015 Zero Downtime with OSGi - Chicago Coder Conference 05-15-2015
Zero Downtime with OSGi - Chicago Coder Conference 05-15-2015
Mariano Gonzalez1.5K views
How to not suck at JavaScript by tmont
How to not suck at JavaScriptHow to not suck at JavaScript
How to not suck at JavaScript
tmont4.1K views
Advanced Node.JS Meetup by LINAGORA
Advanced Node.JS MeetupAdvanced Node.JS Meetup
Advanced Node.JS Meetup
LINAGORA2K views
Android interview questions by satish reddy
Android interview questionsAndroid interview questions
Android interview questions
satish reddy460 views

More from Sander Mak (@Sander_Mak)

Scalable Application Development @ Picnic by
Scalable Application Development @ PicnicScalable Application Development @ Picnic
Scalable Application Development @ PicnicSander Mak (@Sander_Mak)
239 views20 slides
Coding Your Way to Java 13 by
Coding Your Way to Java 13Coding Your Way to Java 13
Coding Your Way to Java 13Sander Mak (@Sander_Mak)
414 views80 slides
Coding Your Way to Java 12 by
Coding Your Way to Java 12Coding Your Way to Java 12
Coding Your Way to Java 12Sander Mak (@Sander_Mak)
2K views69 slides
Java Modularity: the Year After by
Java Modularity: the Year AfterJava Modularity: the Year After
Java Modularity: the Year AfterSander Mak (@Sander_Mak)
913 views109 slides
Migrating to Java 9 Modules by
Migrating to Java 9 ModulesMigrating to Java 9 Modules
Migrating to Java 9 ModulesSander Mak (@Sander_Mak)
5.5K views60 slides
Provisioning the IoT by
Provisioning the IoTProvisioning the IoT
Provisioning the IoTSander Mak (@Sander_Mak)
4.4K views38 slides

More from Sander Mak (@Sander_Mak)(20)

Recently uploaded

Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueShapeBlue
179 views7 slides
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
123 views28 slides
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
117 views25 slides
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ by
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericShapeBlue
88 views9 slides
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...ShapeBlue
85 views10 slides
The Role of Patterns in the Era of Large Language Models by
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language ModelsYunyao Li
80 views65 slides

Recently uploaded(20)

Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue179 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue123 views
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue117 views
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ by ShapeBlue
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
ShapeBlue88 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue85 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li80 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue112 views
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool by ShapeBlue
Extending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPoolExtending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPool
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool
ShapeBlue84 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... by ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue120 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE69 views
DRBD Deep Dive - Philipp Reisner - LINBIT by ShapeBlue
DRBD Deep Dive - Philipp Reisner - LINBITDRBD Deep Dive - Philipp Reisner - LINBIT
DRBD Deep Dive - Philipp Reisner - LINBIT
ShapeBlue140 views
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... by ShapeBlue
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
ShapeBlue144 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue163 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue154 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc160 views
Future of AR - Facebook Presentation by Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty62 views
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... by ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue101 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue158 views
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue by ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlueCloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
CloudStack Managed User Data and Demo - Harikrishna Patnala - ShapeBlue
ShapeBlue94 views

Modular JavaScript