SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
JavaOne
San Francisco 2013
Arshal
Wednesday, October 2, 13
2
Agenda
1. Introduction
2. Key Points
3. Details
5. Summary
4. Looking forward
Wednesday, October 2, 13
3
Introduction
What
Where
Wednesday, October 2, 13
Key Points
1. DukePad
2. Java SE 8: Lambda Programming
3. JEE 7
4. Java ME 8
5. Project Sumatra
6. Project Avatar
Wednesday, October 2, 13
Road map
Wednesday, October 2, 13
Java 8 and Beyond
Java 8
1. Lambda – JSR 335
2. New Date & Time API – JSR 310
3. Project Nashorn: JavaScript Service layer
4. Security Enhancements
Beyond Java 8
1. Modular Platform
2. Unified Type System
3. Language Interoperability
4. Memory-efficient data structure
Wednesday, October 2, 13
JEE 7
Wednesday, October 2, 13
JEE5
Ease of
Developme
nt
JEE6
Light weight
JEE7
Productivity
and HTML5
JEE 7
Wednesday, October 2, 13
9
Details
1.1
1.1
1.0
2.1
3.2
2.0
3.1
1.1
2.2 2.0
1.0
1.7
Deprecation
1.2
Wednesday, October 2, 13
10
CDI 1.1 : The Aquarium
1. Aligning the JSF component model/scoping to CDI
2. Decoupling declarative transactions from the EJB component model through the JTA 1.2
@Transactional CDI interceptor.
3. Modernizing the JMS 2 API utilizing CDI
4. Support for CDI in Bean Validation 1.1
5. Allow inspection of event metadata
6. Support decorators on built in beans
7. Class exclusion filters to beans.xml to prevent scanning of classes and packages
8. Easy access to non-contextual instances of beans
9. @Vetoed annotation allowing easy programmatic disablement of classes
10. @WithAnnotations as a way of improving extension loading performance
Details
Wednesday, October 2, 13
11
Bean Validation 1.1(JSR 349)
1. Improved semantic readability
2. Method-level validation (validation of parameters or return values)
3. Dependency injection for Bean Validation components
4. Integration with Context and Dependency Injection (CDI)
5. Error message interpolation using EL expressions
Details
Wednesday, October 2, 13
12
Interceptors(JSR318)
1. @AroundConstructor
2. @PreDestroy
3. New lifecycle callback
Client call => Interceptor instance creation and Injection of needed class (except target class) =>
InvocationContext.proceed() creates target Instance => AroundConstruct => Injection is complete
=> PostConstruct()
4. Ordering using
@Priority (lowest number are called first)
@Interceptors({InterceptorA.class, InterceptorB.class}) left to right order
Details
Wednesday, October 2, 13
13
Concurrency 1.0
1. Simple and advanced design patterns
2. Default ManagedExecutorService, custom executer can be defined in web.xml
3. ManagedScheduleExecutor: Submit delayed/periodic tasks
4. ManagedThreadFactory: can use user threads in java EE
5. Dynamic proxy: can create runnable context proxies
Details
Wednesday, October 2, 13
14
JPA 2.1
1. Convertors: custom conversion between DB and object types
2. Criteria update/delete : bulk update/delete through criteria API
3. Runtime creation of named queries
4. Injectable EntityListeners
5. Unsynchronized persistence contexts
6. DDL generation - automatic table, index(@Index) and schema generation.
7. Entity Graphs - allow partial or specified fetching or merging of objects.
8. JPQL/Criteria enhancements - arithmetic sub-queries, generic database functions, join ON
clause, TREAT option.
9. Stored Procedures: NamedStoredProcedure queries and parameters
Details
Wednesday, October 2, 13
15
JTA 1.2 (Project Kenai)
1. @Transactional(value=Transactional.txType.Required, rollbackOn={SQLException.class,
JMSException.class}, dontRollbackOn=SQLWarning.class)
2. @TransactionScoped: lifecycle limited to transaction
3. Can make normal POJOs transactional using this annotation
Details
Wednesday, October 2, 13
16
EJB 3.2
1. Asynchronous session bean(@Asynchronous)
2. Non-persistent EJB Timer service
3. Lifecyle callback methods (@PostConstruct, @PreDestroy, @PostActivate, @PrePassivate)
Details
Wednesday, October 2, 13
17
JMS 2.0
1. Easier Resource Configuration
2. JMS context API: simplified
3. JMS Resource Definition Annotations
Details
Wednesday, October 2, 13
18
Servlet 3.1
1. Non-blocking I/O - checks read/write availability b4 actually doing it.
2. Protocol Upgrade (HttpUpgradeHandler) : init , destroy
3. Improved security : denies all non-secure accesses
Details
Wednesday, October 2, 13
19
WebSocket 1.1
1. Full-duplex bi-directional communication over TCP
2. Annotated server endpoint
3. Annotated client endpoint (@javax.websocket.ClientEndPoint)
4. Encoder/Decoder classes
Details
Wednesday, October 2, 13
20
EL 3.0
1.stand-alone environment support: useful for batch
2.ELProcessor, new operators,
3.lambda support
JSF 2.2
1.Faces Flow; @FlowScoped
2. Resource Library Contract
3. Pass through attributes (p:type="email" -> type="email")
4. h:inputFile for file upload (Part.class)
5. Security improvements: CSRF, type checking
Details
Wednesday, October 2, 13
21
JAX-RS 2.0
1.New API to consume rest serives
2.async client and server supported(Future.class)
3.Message filter ClientRequestFilter,ClientResponseFilter
4.Entity Interceptors - intercept inbound/outbound stream
JSONP 1.0
1. json builder, JsonObject.class and JsonParser
Details
Wednesday, October 2, 13
22
Batch processing
1. chunk-style or batchlets
2. Partition: split a job among multiple cores
3. Creating workflows
Details
Wednesday, October 2, 13
Looking forward
1. CDI beans instead of current FacesBeans
2. Migration to JSF 2.2
3. Possible use batchlet in batch processing
4. Use of transaction scope on existing pojos
5. Use of flow scope and many more...
Wednesday, October 2, 13
Wednesday, October 2, 13
25
Thank you
Wednesday, October 2, 13

Mais conteúdo relacionado

Destaque

ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...
ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...
ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...Aquilino Felizardo
 
Oracle talk 20131213
Oracle talk 20131213Oracle talk 20131213
Oracle talk 20131213Arshal Ameen
 
Digital Television standard part-1-6-2007
Digital Television standard part-1-6-2007Digital Television standard part-1-6-2007
Digital Television standard part-1-6-2007Ashraful Islam
 
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
Java EE 6 Adoption in One of the World’s Largest Online Financial SystemsJava EE 6 Adoption in One of the World’s Largest Online Financial Systems
Java EE 6 Adoption in One of the World’s Largest Online Financial SystemsArshal Ameen
 
день дублера
день дублерадень дублера
день дублераDemo87
 
Маслов Сравнительный менеджмент
Маслов Сравнительный менеджментМаслов Сравнительный менеджмент
Маслов Сравнительный менеджментDmitry Maslov
 
WordPress_Workshop_Feb_2014_consolidated
WordPress_Workshop_Feb_2014_consolidatedWordPress_Workshop_Feb_2014_consolidated
WordPress_Workshop_Feb_2014_consolidatedAnvith KS
 
школа наш дім
школа наш дімшкола наш дім
школа наш дімDemo87
 
2013 Interactive Annual Report
2013 Interactive Annual Report2013 Interactive Annual Report
2013 Interactive Annual ReportDeA Capital S.p.A.
 
'Found' and 'after' - a short history of data reuse in the arts
'Found' and 'after' - a short history of data reuse in the arts'Found' and 'after' - a short history of data reuse in the arts
'Found' and 'after' - a short history of data reuse in the artsMartin Donnelly
 
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New Delhi
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New DelhiYuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New Delhi
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New DelhiTelugu Desam Official Party
 

Destaque (12)

ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...
ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...
ORGANIZATIONAL PERFORMANCE MEASUREMENT AND EVALUATION SYSTEMS IN SMEs: THE CA...
 
Oracle talk 20131213
Oracle talk 20131213Oracle talk 20131213
Oracle talk 20131213
 
Digital Television standard part-1-6-2007
Digital Television standard part-1-6-2007Digital Television standard part-1-6-2007
Digital Television standard part-1-6-2007
 
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
Java EE 6 Adoption in One of the World’s Largest Online Financial SystemsJava EE 6 Adoption in One of the World’s Largest Online Financial Systems
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
 
день дублера
день дублерадень дублера
день дублера
 
Маслов Сравнительный менеджмент
Маслов Сравнительный менеджментМаслов Сравнительный менеджмент
Маслов Сравнительный менеджмент
 
iqama (1)
iqama (1)iqama (1)
iqama (1)
 
WordPress_Workshop_Feb_2014_consolidated
WordPress_Workshop_Feb_2014_consolidatedWordPress_Workshop_Feb_2014_consolidated
WordPress_Workshop_Feb_2014_consolidated
 
школа наш дім
школа наш дімшкола наш дім
школа наш дім
 
2013 Interactive Annual Report
2013 Interactive Annual Report2013 Interactive Annual Report
2013 Interactive Annual Report
 
'Found' and 'after' - a short history of data reuse in the arts
'Found' and 'after' - a short history of data reuse in the arts'Found' and 'after' - a short history of data reuse in the arts
'Found' and 'after' - a short history of data reuse in the arts
 
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New Delhi
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New DelhiYuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New Delhi
Yuvagarjan - Chandra Babu Naidu Speech Presentation - CAG Event, New Delhi
 

Semelhante a Java one sf 2013

Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Sadayuki Furuhashi
 
Developing iPhone and iPad apps that leverage Windows Azure
Developing iPhone and iPad apps that leverage Windows AzureDeveloping iPhone and iPad apps that leverage Windows Azure
Developing iPhone and iPad apps that leverage Windows AzureSimon Guest
 
Subhajit kar(java)
Subhajit kar(java)Subhajit kar(java)
Subhajit kar(java)Subhajit Kar
 
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveData
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveDataAndroid MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveData
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveDataWaheed Nazir
 
Nt1310 Unit 3 Language Analysis
Nt1310 Unit 3 Language AnalysisNt1310 Unit 3 Language Analysis
Nt1310 Unit 3 Language AnalysisNicole Gomez
 
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLE
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLEDATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLE
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLEijdms
 
TechEvent Eclipse Microprofile
TechEvent Eclipse MicroprofileTechEvent Eclipse Microprofile
TechEvent Eclipse MicroprofileTrivadis
 
Technology Stack - Template.docx
Technology Stack - Template.docxTechnology Stack - Template.docx
Technology Stack - Template.docxSMuthuKumar15
 
Rapid JCR Applications Development with Sling
Rapid JCR Applications Development with SlingRapid JCR Applications Development with Sling
Rapid JCR Applications Development with SlingFelix Meschberger
 
web component_development
web component_developmentweb component_development
web component_developmentbachector
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEQAware GmbH
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEMario-Leander Reimer
 
node.js 실무 - node js in practice by Jesang Yoon
node.js 실무 - node js in practice by Jesang Yoonnode.js 실무 - node js in practice by Jesang Yoon
node.js 실무 - node js in practice by Jesang YoonJesang Yoon
 
Android rest client applications-services approach @Droidcon Bucharest 2012
Android rest client applications-services approach @Droidcon Bucharest 2012Android rest client applications-services approach @Droidcon Bucharest 2012
Android rest client applications-services approach @Droidcon Bucharest 2012Droidcon Eastern Europe
 

Semelhante a Java one sf 2013 (20)

Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1Understanding Presto - Presto meetup @ Tokyo #1
Understanding Presto - Presto meetup @ Tokyo #1
 
Java IO
Java IOJava IO
Java IO
 
Developing iPhone and iPad apps that leverage Windows Azure
Developing iPhone and iPad apps that leverage Windows AzureDeveloping iPhone and iPad apps that leverage Windows Azure
Developing iPhone and iPad apps that leverage Windows Azure
 
Subhajit kar(java)
Subhajit kar(java)Subhajit kar(java)
Subhajit kar(java)
 
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveData
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveDataAndroid MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveData
Android MVVM architecture using Kotlin, Dagger2, LiveData, MediatorLiveData
 
11 req specs
11 req specs11 req specs
11 req specs
 
Skillwise Struts.x
Skillwise Struts.xSkillwise Struts.x
Skillwise Struts.x
 
Nt1310 Unit 3 Language Analysis
Nt1310 Unit 3 Language AnalysisNt1310 Unit 3 Language Analysis
Nt1310 Unit 3 Language Analysis
 
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLE
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLEDATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLE
DATABASE PRIVATE SECURITY JURISPRUDENCE: A CASE STUDY USING ORACLE
 
TechEvent Eclipse Microprofile
TechEvent Eclipse MicroprofileTechEvent Eclipse Microprofile
TechEvent Eclipse Microprofile
 
Struts2.x
Struts2.xStruts2.x
Struts2.x
 
Technology Stack - Template.docx
Technology Stack - Template.docxTechnology Stack - Template.docx
Technology Stack - Template.docx
 
Rapid JCR Applications Development with Sling
Rapid JCR Applications Development with SlingRapid JCR Applications Development with Sling
Rapid JCR Applications Development with Sling
 
Icin 2009
Icin 2009Icin 2009
Icin 2009
 
Java seminar.pptx
Java seminar.pptxJava seminar.pptx
Java seminar.pptx
 
web component_development
web component_developmentweb component_development
web component_development
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EE
 
A Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EEA Hitchhiker's Guide to Cloud Native Java EE
A Hitchhiker's Guide to Cloud Native Java EE
 
node.js 실무 - node js in practice by Jesang Yoon
node.js 실무 - node js in practice by Jesang Yoonnode.js 실무 - node js in practice by Jesang Yoon
node.js 실무 - node js in practice by Jesang Yoon
 
Android rest client applications-services approach @Droidcon Bucharest 2012
Android rest client applications-services approach @Droidcon Bucharest 2012Android rest client applications-services approach @Droidcon Bucharest 2012
Android rest client applications-services approach @Droidcon Bucharest 2012
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 

Último (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 

Java one sf 2013

  • 2. 2 Agenda 1. Introduction 2. Key Points 3. Details 5. Summary 4. Looking forward Wednesday, October 2, 13
  • 4. Key Points 1. DukePad 2. Java SE 8: Lambda Programming 3. JEE 7 4. Java ME 8 5. Project Sumatra 6. Project Avatar Wednesday, October 2, 13
  • 6. Java 8 and Beyond Java 8 1. Lambda – JSR 335 2. New Date & Time API – JSR 310 3. Project Nashorn: JavaScript Service layer 4. Security Enhancements Beyond Java 8 1. Modular Platform 2. Unified Type System 3. Language Interoperability 4. Memory-efficient data structure Wednesday, October 2, 13
  • 10. 10 CDI 1.1 : The Aquarium 1. Aligning the JSF component model/scoping to CDI 2. Decoupling declarative transactions from the EJB component model through the JTA 1.2 @Transactional CDI interceptor. 3. Modernizing the JMS 2 API utilizing CDI 4. Support for CDI in Bean Validation 1.1 5. Allow inspection of event metadata 6. Support decorators on built in beans 7. Class exclusion filters to beans.xml to prevent scanning of classes and packages 8. Easy access to non-contextual instances of beans 9. @Vetoed annotation allowing easy programmatic disablement of classes 10. @WithAnnotations as a way of improving extension loading performance Details Wednesday, October 2, 13
  • 11. 11 Bean Validation 1.1(JSR 349) 1. Improved semantic readability 2. Method-level validation (validation of parameters or return values) 3. Dependency injection for Bean Validation components 4. Integration with Context and Dependency Injection (CDI) 5. Error message interpolation using EL expressions Details Wednesday, October 2, 13
  • 12. 12 Interceptors(JSR318) 1. @AroundConstructor 2. @PreDestroy 3. New lifecycle callback Client call => Interceptor instance creation and Injection of needed class (except target class) => InvocationContext.proceed() creates target Instance => AroundConstruct => Injection is complete => PostConstruct() 4. Ordering using @Priority (lowest number are called first) @Interceptors({InterceptorA.class, InterceptorB.class}) left to right order Details Wednesday, October 2, 13
  • 13. 13 Concurrency 1.0 1. Simple and advanced design patterns 2. Default ManagedExecutorService, custom executer can be defined in web.xml 3. ManagedScheduleExecutor: Submit delayed/periodic tasks 4. ManagedThreadFactory: can use user threads in java EE 5. Dynamic proxy: can create runnable context proxies Details Wednesday, October 2, 13
  • 14. 14 JPA 2.1 1. Convertors: custom conversion between DB and object types 2. Criteria update/delete : bulk update/delete through criteria API 3. Runtime creation of named queries 4. Injectable EntityListeners 5. Unsynchronized persistence contexts 6. DDL generation - automatic table, index(@Index) and schema generation. 7. Entity Graphs - allow partial or specified fetching or merging of objects. 8. JPQL/Criteria enhancements - arithmetic sub-queries, generic database functions, join ON clause, TREAT option. 9. Stored Procedures: NamedStoredProcedure queries and parameters Details Wednesday, October 2, 13
  • 15. 15 JTA 1.2 (Project Kenai) 1. @Transactional(value=Transactional.txType.Required, rollbackOn={SQLException.class, JMSException.class}, dontRollbackOn=SQLWarning.class) 2. @TransactionScoped: lifecycle limited to transaction 3. Can make normal POJOs transactional using this annotation Details Wednesday, October 2, 13
  • 16. 16 EJB 3.2 1. Asynchronous session bean(@Asynchronous) 2. Non-persistent EJB Timer service 3. Lifecyle callback methods (@PostConstruct, @PreDestroy, @PostActivate, @PrePassivate) Details Wednesday, October 2, 13
  • 17. 17 JMS 2.0 1. Easier Resource Configuration 2. JMS context API: simplified 3. JMS Resource Definition Annotations Details Wednesday, October 2, 13
  • 18. 18 Servlet 3.1 1. Non-blocking I/O - checks read/write availability b4 actually doing it. 2. Protocol Upgrade (HttpUpgradeHandler) : init , destroy 3. Improved security : denies all non-secure accesses Details Wednesday, October 2, 13
  • 19. 19 WebSocket 1.1 1. Full-duplex bi-directional communication over TCP 2. Annotated server endpoint 3. Annotated client endpoint (@javax.websocket.ClientEndPoint) 4. Encoder/Decoder classes Details Wednesday, October 2, 13
  • 20. 20 EL 3.0 1.stand-alone environment support: useful for batch 2.ELProcessor, new operators, 3.lambda support JSF 2.2 1.Faces Flow; @FlowScoped 2. Resource Library Contract 3. Pass through attributes (p:type="email" -> type="email") 4. h:inputFile for file upload (Part.class) 5. Security improvements: CSRF, type checking Details Wednesday, October 2, 13
  • 21. 21 JAX-RS 2.0 1.New API to consume rest serives 2.async client and server supported(Future.class) 3.Message filter ClientRequestFilter,ClientResponseFilter 4.Entity Interceptors - intercept inbound/outbound stream JSONP 1.0 1. json builder, JsonObject.class and JsonParser Details Wednesday, October 2, 13
  • 22. 22 Batch processing 1. chunk-style or batchlets 2. Partition: split a job among multiple cores 3. Creating workflows Details Wednesday, October 2, 13
  • 23. Looking forward 1. CDI beans instead of current FacesBeans 2. Migration to JSF 2.2 3. Possible use batchlet in batch processing 4. Use of transaction scope on existing pojos 5. Use of flow scope and many more... Wednesday, October 2, 13