Java technologies explained to non-technical audience
-
Upload
steinn-arnar-jonsson -
Category
Technology
-
view
375 -
download
1
description
Transcript of Java technologies explained to non-technical audience
![Page 1: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/1.jpg)
Business Value…Achieved
Java Lunch ‘N Learn For QSI Talent Managers
Steinn ‘Stan’ Jónsson, March 24, 2014
(Java technologies explained to non-‐technical audience)
![Page 2: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/2.jpg)
Business Value…Achieved
Agenda
• How to sell QSI to developers? • Java buzzwords explained in layman terms
• Q & A
![Page 3: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/3.jpg)
Business Value…Achieved
How to sell QSI to Developers?
• See blog post at: hMp://www.sjonsson.com/2013/08/7-‐reasons-‐to-‐become-‐soTware.html
![Page 4: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/4.jpg)
Business Value…Achieved
Web Purchase -‐ Example used to explain Java buzzwords
![Page 5: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/5.jpg)
Business Value…Achieved
EJB – Enterprise Java Beans
• Leave low-‐level details to others
![Page 6: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/6.jpg)
Business Value…Achieved
EJB
Get for free: • Remotely callable • Security • Transac]on Management • Scalability
![Page 7: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/7.jpg)
Business Value…Achieved
• What are the benefits of EJBs? (Enterprise Java Beans) – Sample answers: • Allows me to focus on business logic and solving business problems
• By using EJBs I need to worry less about: – Remote Access – Security – Scalability – Transac]on Management
EJB – Possible Interview Question
![Page 8: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/8.jpg)
Business Value…Achieved
JMS – Java Message Service
• Don’t call. Send a message.
![Page 9: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/9.jpg)
Business Value…Achieved
JMS
![Page 10: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/10.jpg)
Business Value…Achieved
• What are some benefit of JMS? (Java Message Service) – Sample answers: • Improved performance by making calls asynchronous (via JMS Queues)
• Allows me to broadcast messages to mul]ple subscribers. (Done via JMS Topics. Works similar to email mailing lists)
JMS – Possible Interview Question
![Page 11: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/11.jpg)
Business Value…Achieved
Hibernate
• Take the easy route to your database • Maps “Java speak” to “database speak”
SQL Maze
![Page 12: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/12.jpg)
Business Value…Achieved
• Why to people use Hibernate? – Sample answers: • To simplify database persistence • For produc]vity reasons -‐ To avoid having to manually write SQL queries • For performance reasons -‐ To take advantage of caching
• To avoid vendor lock-‐in -‐ Hibernate is database independent
Hibernate – Possible Interview Question
![Page 13: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/13.jpg)
Business Value…Achieved
The Spring Framework
• Giant toolbox for simplifying Java development
![Page 14: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/14.jpg)
Business Value…Achieved
Spring – Most used for
• Wire the applica]on together
![Page 15: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/15.jpg)
Business Value…Achieved
Spring – Wire the application together
BeMer known as Dependency Injec]on
![Page 16: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/16.jpg)
Business Value…Achieved
• Why do people use the Spring Framework? – Sample answers: • For produc]vity reasons – To take advantage of extensive Spring libraries
• Helps “wiring applica]ons together” (make more loosely coupled applica]ons via dependency injec]on) • For performance reasons (Spring container is more lightweight than JEE container)
Spring – Possible Interview Question
![Page 17: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/17.jpg)
Business Value…Achieved
JUnit
• Automate! Don’t have a human do a robot’s job!
Unit tests automated. Humans can focus on integra]on tes]ng.
![Page 18: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/18.jpg)
Business Value…Achieved
• Why do people use JUnit? – Sample answers: • It is the de facto library for wri]ng tests in Java • To write unit tests (and mul]ple other types of tests)
• To automate tes]ng of their code
JUnit– Possible Interview Question
![Page 19: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/19.jpg)
Business Value…Achieved
Design Patterns
• Singleton
![Page 20: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/20.jpg)
Business Value…Achieved
• What is a Singleton? – Sample answer: • Design paMern that restricts the instan]a]on of a class to one object.
• How to implement Singleton? – Sample answers: • Make constructor private. Class keeps sta]c reference to instance. Typically has getInstance method. • Use Spring (Spring beans are Singletons by default) • Use enum (a single-‐element enum type)
Design Patterns – Possible Interview Questions
![Page 21: Java technologies explained to non-technical audience](https://reader034.fdocuments.in/reader034/viewer/2022052619/555b1af1d8b42aa67a8b4acf/html5/thumbnails/21.jpg)
Business Value…Achieved
Q & A