SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
@dblevins @dvlc_ | #TomEE
Apache TomEE from Dev
to Ops
David Blevins / Daniel Cunha
@dblevins / @dvlc_
#TomEE
@dblevins @dvlc_ | #TomEE
Goals
• Pick up where “hello world” leaves off
• Application Dev and Ops techniques
• Largely Java EE Generic
• Some TomEE flair
• TomEE Tools and Packaging
• Not a TomEE introduction
• Plenty of those out there
@dblevins @dvlc_ | #TomEE
Apache TomEE Recap
• Java EE certified version of Tomcat
• Java EE 7 in progress
• Pronounced, “Tommy” (not “Tommy-e”)
• Built from All-Apache Components
• Footprint: 30MB zip, 100~MB Memory
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
Basic Project
• step-0
• Hello world
• 1 JAX-RS service
• 1 Arquillian Test
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
TomEE Maven Plugin
• step-1
• Allows Fat Jar, tomee:exec
• Setup and Run, tomee:run
• Build a Server, tomee:build
• Add, remove jars and webapps
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
Setup SSL and @RolesAllowed
• step2 and step3
• Self-signed cert
• SSL Connector enabled
• conf/tomcat-users.xml added
• WEB-INF/web.xml added
• @RolesAllowed for authorization
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
Configuration with Sabot / CDI
• step4
• CDI Extension
• Converts Any* Java Type
• @Inject @Config(“some.property”)
• Properties for each env *in* the webapp
• conf/system.properties added denoting environment
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
JMX Monitoring
• step5
• @Monitor
• Built-in
• Commons-math
• 2000 samples by default
• Enabled on method-by-method basis
@dblevins @dvlc_ | #TomEE
Steps
• Basic single service project
• Setup TomEE Maven Plugin
• Enable SSL, Basic Auth and @RolesAllowed
• Configuration with Sabot
• Monitoring with @Monitor
• SSH and @Command via Crest Connector
@dblevins @dvlc_ | #TomEE
SSH Connector & Fun
• step6 and step7
• Crest SSH Connector
• Java EE 7 Connector improvements
• @Command @Option and command completion
• Commands placed in webapp
@dblevins @dvlc_ | #TomEE
Q & A
@dblevins @dvlc_ | #TomEE
Thank you!

Mais conteúdo relacionado

Destaque

Developing Android applications with Ceylon
Developing Android applications with Ceylon Developing Android applications with Ceylon
Developing Android applications with Ceylon Enrique Zamudio López
 
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017Baruch Sadogursky
 
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014Doc Norton
 
Java ee com apache tom ee e tomee+ tdc - 2014
Java ee com apache tom ee e tomee+   tdc - 2014Java ee com apache tom ee e tomee+   tdc - 2014
Java ee com apache tom ee e tomee+ tdc - 2014Daniel Cunha
 
Instalación de Apache Tomcat 8
Instalación de Apache Tomcat 8Instalación de Apache Tomcat 8
Instalación de Apache Tomcat 8pablozacrosuarez
 
Tomcat Clustering
Tomcat ClusteringTomcat Clustering
Tomcat Clusteringgouthamrv
 
Apache TomEE, Java EE 6 Web Profile {and more} on Tomcat
Apache TomEE, Java EE 6 Web Profile {and more} on TomcatApache TomEE, Java EE 6 Web Profile {and more} on Tomcat
Apache TomEE, Java EE 6 Web Profile {and more} on TomcatTomitribe
 
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new properties
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new propertiesPost-Modern CSS: Start learning CSS Grid, Flexbox and other new properties
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new propertiesBryan Robinson
 
Tomcat session clustering
Tomcat session clusteringTomcat session clustering
Tomcat session clusteringKim SeokYoung
 
Intro to Microsoft Cognitive Services
Intro to Microsoft Cognitive ServicesIntro to Microsoft Cognitive Services
Intro to Microsoft Cognitive ServicesAmanda Lange
 
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...Baruch Sadogursky
 
The Technical Debt Trap
The Technical Debt TrapThe Technical Debt Trap
The Technical Debt TrapDoc Norton
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Servermohamedmoharam
 

Destaque (17)

Developing Android applications with Ceylon
Developing Android applications with Ceylon Developing Android applications with Ceylon
Developing Android applications with Ceylon
 
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017
DevOps @Scale (Greek Tragedy in 3 Acts) as it was presented at DevNexus 2017
 
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
Agile Metrics : Velocity is NOT the Goal - NDC Oslo 2014
 
Tomcat
TomcatTomcat
Tomcat
 
Java ee com apache tom ee e tomee+ tdc - 2014
Java ee com apache tom ee e tomee+   tdc - 2014Java ee com apache tom ee e tomee+   tdc - 2014
Java ee com apache tom ee e tomee+ tdc - 2014
 
Instalación de Apache Tomcat 8
Instalación de Apache Tomcat 8Instalación de Apache Tomcat 8
Instalación de Apache Tomcat 8
 
Tomcat Clustering
Tomcat ClusteringTomcat Clustering
Tomcat Clustering
 
Apache TomEE, Java EE 6 Web Profile {and more} on Tomcat
Apache TomEE, Java EE 6 Web Profile {and more} on TomcatApache TomEE, Java EE 6 Web Profile {and more} on Tomcat
Apache TomEE, Java EE 6 Web Profile {and more} on Tomcat
 
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new properties
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new propertiesPost-Modern CSS: Start learning CSS Grid, Flexbox and other new properties
Post-Modern CSS: Start learning CSS Grid, Flexbox and other new properties
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
 
Tomcat session clustering
Tomcat session clusteringTomcat session clustering
Tomcat session clustering
 
Web service introduction 2
Web service introduction 2Web service introduction 2
Web service introduction 2
 
Tomcat next
Tomcat nextTomcat next
Tomcat next
 
Intro to Microsoft Cognitive Services
Intro to Microsoft Cognitive ServicesIntro to Microsoft Cognitive Services
Intro to Microsoft Cognitive Services
 
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
 
The Technical Debt Trap
The Technical Debt TrapThe Technical Debt Trap
The Technical Debt Trap
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 

Último

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Último (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

DevNexus - Apache TomEE from Dev to Ops

  • 1. @dblevins @dvlc_ | #TomEE Apache TomEE from Dev to Ops David Blevins / Daniel Cunha @dblevins / @dvlc_ #TomEE
  • 2. @dblevins @dvlc_ | #TomEE Goals • Pick up where “hello world” leaves off • Application Dev and Ops techniques • Largely Java EE Generic • Some TomEE flair • TomEE Tools and Packaging • Not a TomEE introduction • Plenty of those out there
  • 3. @dblevins @dvlc_ | #TomEE Apache TomEE Recap • Java EE certified version of Tomcat • Java EE 7 in progress • Pronounced, “Tommy” (not “Tommy-e”) • Built from All-Apache Components • Footprint: 30MB zip, 100~MB Memory
  • 4. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 5. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 6. @dblevins @dvlc_ | #TomEE Basic Project • step-0 • Hello world • 1 JAX-RS service • 1 Arquillian Test
  • 7. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 8. @dblevins @dvlc_ | #TomEE TomEE Maven Plugin • step-1 • Allows Fat Jar, tomee:exec • Setup and Run, tomee:run • Build a Server, tomee:build • Add, remove jars and webapps
  • 9. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 10. @dblevins @dvlc_ | #TomEE Setup SSL and @RolesAllowed • step2 and step3 • Self-signed cert • SSL Connector enabled • conf/tomcat-users.xml added • WEB-INF/web.xml added • @RolesAllowed for authorization
  • 11. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 12. @dblevins @dvlc_ | #TomEE Configuration with Sabot / CDI • step4 • CDI Extension • Converts Any* Java Type • @Inject @Config(“some.property”) • Properties for each env *in* the webapp • conf/system.properties added denoting environment
  • 13. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 14. @dblevins @dvlc_ | #TomEE JMX Monitoring • step5 • @Monitor • Built-in • Commons-math • 2000 samples by default • Enabled on method-by-method basis
  • 15. @dblevins @dvlc_ | #TomEE Steps • Basic single service project • Setup TomEE Maven Plugin • Enable SSL, Basic Auth and @RolesAllowed • Configuration with Sabot • Monitoring with @Monitor • SSH and @Command via Crest Connector
  • 16. @dblevins @dvlc_ | #TomEE SSH Connector & Fun • step6 and step7 • Crest SSH Connector • Java EE 7 Connector improvements • @Command @Option and command completion • Commands placed in webapp
  • 17. @dblevins @dvlc_ | #TomEE Q & A
  • 18. @dblevins @dvlc_ | #TomEE Thank you!