Enviar pesquisa
Carregar
The New Java Driver
•
0 gostou
•
210 visualizações
James Chesters
Seguir
Trisha Gee gives a rough guide to the new java driver for MongoDB
Leia menos
Leia mais
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 38
Baixar agora
Baixar para ler offline
Recomendados
Property-Based Testing for Services
Property-Based Testing for Services
jessitron
Practical unit testing 2014
Practical unit testing 2014
Andrew Fray
Angular Unit Testing
Angular Unit Testing
Avi Engelshtein
QA Fest 2017. Игорь Любин. Примеры ускорения автотестов
QA Fest 2017. Игорь Любин. Примеры ускорения автотестов
QAFest
Expectativas turismo-2016-informe
Expectativas turismo-2016-informe
Turistenístico
Holidays in usa
Holidays in usa
em1nem
Culture of evidence-morgan narr
Culture of evidence-morgan narr
hlinck
Pinnacle - 2014 Annual Review
Pinnacle - 2014 Annual Review
Jennifer Root
Recomendados
Property-Based Testing for Services
Property-Based Testing for Services
jessitron
Practical unit testing 2014
Practical unit testing 2014
Andrew Fray
Angular Unit Testing
Angular Unit Testing
Avi Engelshtein
QA Fest 2017. Игорь Любин. Примеры ускорения автотестов
QA Fest 2017. Игорь Любин. Примеры ускорения автотестов
QAFest
Expectativas turismo-2016-informe
Expectativas turismo-2016-informe
Turistenístico
Holidays in usa
Holidays in usa
em1nem
Culture of evidence-morgan narr
Culture of evidence-morgan narr
hlinck
Pinnacle - 2014 Annual Review
Pinnacle - 2014 Annual Review
Jennifer Root
hvfd training
hvfd training
Danmiotke
Alegria
Alegria
pacoweb201
hvfd training
hvfd training
Danmiotke
Cells
Cells
karo636
The ELLA Awards
The ELLA Awards
The ELLA Awards
Theodor heuss gymnasiumpres2
Theodor heuss gymnasiumpres2
ramon_llull
Don't Write Them Off, Cast Iron Boilers Still Have a Future
Don't Write Them Off, Cast Iron Boilers Still Have a Future
BuildingMech
Hotel segments (Search vs Booking)
Hotel segments (Search vs Booking)
Turistenístico
Types of Expansion Tanks
Types of Expansion Tanks
BuildingMech
The ella awards presentation linked in
The ella awards presentation linked in
The ELLA Awards
Indirect Water Heater Sizing
Indirect Water Heater Sizing
BuildingMech
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
Turistenístico
SSPMA Sump & Sewage Pump Sizing
SSPMA Sump & Sewage Pump Sizing
BuildingMech
Improving the Quality of Existing Software
Improving the Quality of Existing Software
Steven Smith
Improving the Quality of Existing Software - DevIntersection April 2016
Improving the Quality of Existing Software - DevIntersection April 2016
Steven Smith
Improving the Quality of Existing Software
Improving the Quality of Existing Software
Steven Smith
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
avanttic Consultoría Tecnológica
Battle for Code Quality - A Story of One Java Project
Battle for Code Quality - A Story of One Java Project
GlobalLogic Ukraine
"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl
TEST Huddle
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Christian Nagel
Hitchhiker's guide to Functional Testing
Hitchhiker's guide to Functional Testing
Wiebe Elsinga
C# 8 in Libraries and Applications
C# 8 in Libraries and Applications
Christian Nagel
Mais conteúdo relacionado
Destaque
hvfd training
hvfd training
Danmiotke
Alegria
Alegria
pacoweb201
hvfd training
hvfd training
Danmiotke
Cells
Cells
karo636
The ELLA Awards
The ELLA Awards
The ELLA Awards
Theodor heuss gymnasiumpres2
Theodor heuss gymnasiumpres2
ramon_llull
Don't Write Them Off, Cast Iron Boilers Still Have a Future
Don't Write Them Off, Cast Iron Boilers Still Have a Future
BuildingMech
Hotel segments (Search vs Booking)
Hotel segments (Search vs Booking)
Turistenístico
Types of Expansion Tanks
Types of Expansion Tanks
BuildingMech
The ella awards presentation linked in
The ella awards presentation linked in
The ELLA Awards
Indirect Water Heater Sizing
Indirect Water Heater Sizing
BuildingMech
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
Turistenístico
SSPMA Sump & Sewage Pump Sizing
SSPMA Sump & Sewage Pump Sizing
BuildingMech
Destaque
(13)
hvfd training
hvfd training
Alegria
Alegria
hvfd training
hvfd training
Cells
Cells
The ELLA Awards
The ELLA Awards
Theodor heuss gymnasiumpres2
Theodor heuss gymnasiumpres2
Don't Write Them Off, Cast Iron Boilers Still Have a Future
Don't Write Them Off, Cast Iron Boilers Still Have a Future
Hotel segments (Search vs Booking)
Hotel segments (Search vs Booking)
Types of Expansion Tanks
Types of Expansion Tanks
The ella awards presentation linked in
The ella awards presentation linked in
Indirect Water Heater Sizing
Indirect Water Heater Sizing
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
LinkedIn edita una guía para convertir candidatos en empleados comprometidos"
SSPMA Sump & Sewage Pump Sizing
SSPMA Sump & Sewage Pump Sizing
Semelhante a The New Java Driver
Improving the Quality of Existing Software
Improving the Quality of Existing Software
Steven Smith
Improving the Quality of Existing Software - DevIntersection April 2016
Improving the Quality of Existing Software - DevIntersection April 2016
Steven Smith
Improving the Quality of Existing Software
Improving the Quality of Existing Software
Steven Smith
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
avanttic Consultoría Tecnológica
Battle for Code Quality - A Story of One Java Project
Battle for Code Quality - A Story of One Java Project
GlobalLogic Ukraine
"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl
TEST Huddle
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Christian Nagel
Hitchhiker's guide to Functional Testing
Hitchhiker's guide to Functional Testing
Wiebe Elsinga
C# 8 in Libraries and Applications
C# 8 in Libraries and Applications
Christian Nagel
Selenium Frameworks
Selenium Frameworks
Dave Haeffner
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Ukraine
Software Uni Conf October 2014
Software Uni Conf October 2014
Nayden Gochev
Voxxed Days Thessaloniki 2016 - Continuous Delivery: Jenkins, Docker and Spri...
Voxxed Days Thessaloniki 2016 - Continuous Delivery: Jenkins, Docker and Spri...
Voxxed Days Thessaloniki
Continuous Delivery - Voxxed Days Bucharest 2017
Continuous Delivery - Voxxed Days Bucharest 2017
Rafał Leszko
Practices and Tools for Building Better APIs
Practices and Tools for Building Better APIs
Peter Hendriks
Functional Java 8 - Introduction
Functional Java 8 - Introduction
Łukasz Biały
Automated acceptance test
Automated acceptance test
Bryan Liu
Introduction to Testing GraphQL Presentation
Introduction to Testing GraphQL Presentation
Knoldus Inc.
Testing Graph QL Presentation (Test Automation)
Testing Graph QL Presentation (Test Automation)
Knoldus Inc.
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
TEST Huddle
Semelhante a The New Java Driver
(20)
Improving the Quality of Existing Software
Improving the Quality of Existing Software
Improving the Quality of Existing Software - DevIntersection April 2016
Improving the Quality of Existing Software - DevIntersection April 2016
Improving the Quality of Existing Software
Improving the Quality of Existing Software
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
Battle for Code Quality - A Story of One Java Project
Battle for Code Quality - A Story of One Java Project
"Experiences Of Test Automation At Spotify" with Kristian Karl
"Experiences Of Test Automation At Spotify" with Kristian Karl
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
C# 8 in Libraries and Applications - BASTA! Frankfurt 2020
Hitchhiker's guide to Functional Testing
Hitchhiker's guide to Functional Testing
C# 8 in Libraries and Applications
C# 8 in Libraries and Applications
Selenium Frameworks
Selenium Frameworks
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
GlobalLogic Test Automation Online TechTalk “Test Driven Development as a Per...
Software Uni Conf October 2014
Software Uni Conf October 2014
Voxxed Days Thessaloniki 2016 - Continuous Delivery: Jenkins, Docker and Spri...
Voxxed Days Thessaloniki 2016 - Continuous Delivery: Jenkins, Docker and Spri...
Continuous Delivery - Voxxed Days Bucharest 2017
Continuous Delivery - Voxxed Days Bucharest 2017
Practices and Tools for Building Better APIs
Practices and Tools for Building Better APIs
Functional Java 8 - Introduction
Functional Java 8 - Introduction
Automated acceptance test
Automated acceptance test
Introduction to Testing GraphQL Presentation
Introduction to Testing GraphQL Presentation
Testing Graph QL Presentation (Test Automation)
Testing Graph QL Presentation (Test Automation)
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
Kristian Karl - Experiences of Test Automation at Spotify - EuroSTAR 2013
The New Java Driver
1.
@trisha_gee The New Java
Driver Trisha Gee Java Developer @ 10gen
2.
Introduction
3.
DISCLAIMER
4.
What’s the point
then?
5.
Design Goals
6.
Design Goals •
Cleaner design • Intuitive API • Consistency • Sane Exception handling • Test friendly • Backwards compatible
7.
And async?
8.
Tell me about
it...
9.
Cleaner Design
10.
Cleaner Design
11.
Cleaner Design
12.
Cleaner Design
13.
Cleaner Design
14.
Cleaner Design
15.
Cleaner Design
16.
Cleaner Design
17.
Cleaner Design
18.
Cleaner Design
19.
Cleaner Design
20.
So What?
21.
Legacy Applications
22.
Your Java Application
23.
Morphia & ODMs
24.
Other drivers
25.
Wasn’t that just
the first point?
26.
Intuitive API -
Find collection.find(query).skip(1000).limit(100); collection.filter(query).skip(1000).limit(100).all();
27.
Intuitive API -
Remove collection.remove(query); collection.filter(query).remove();
28.
Intuitive API -
Find and Modify collection.findAndModify(query, update); collection.findAndModify(query, update, sort, false, update, true, false); collection.filter(query) .sort(sort) .modifyAndGet(update, Get.AfterChangeApplied);
29.
Intuitive API public interface
MongoCollection<T>
30.
Consistency • Aided by
the clean design • Aids the intuitive API • Enforced by coding standards
31.
Consistency collection.filter(query).limit(10).all(); collection.filter(query).limit(10).remove(); collection.filter(query).sort(sortCriteria).one(); collection.filter(query).sort(sortCriteria).remove(); collection.filter(query).sort(sortCriteria).count(); Document result1 =
collection.filter(query) .sort(sortCriteria) .removeAndGet(); Document result2 = collection.filter(query) .sort(sortCriteria) .modifyAndGet(update,AfterChangeApplied);
32.
Sane Exception Handling •
Client Exceptions • Server Exceptions • No more parsing error Strings
33.
Test Friendly • Interfaces! •
Acceptance, functional and unit tests
34.
Backwards compatible • Very
important!
35.
And... • Documentation
•Self documenting code •Unit and Acceptance Tests •JavaDoc •Tutorials •Blogs
36.
In Summary
37.
In Summary •
Cleaner design • Intuitive API • Consistency • Sane Exception handling • Test friendly • Backwards compatible
38.
Questions?
@trisha_gee
Baixar agora