SlideShare a Scribd company logo
Java™ in Web 2.0



Alexis Roos
Principal Field Technologist, CTO Office
OEM SW Sales
Sun Microsystems, Inc.
                                           1
Agenda




    • Java overview
    • Technologies supported by Java Platform
      to create Web 2.0 services
    • Future trends



                                                2
The Java Eco-System
                            6.5+ M     250+ M    850+ K    > 2.6 Billion
                 $2.8B      Java Dev. JavaFX GlassFish     Java Powered
                In Java                runtime Downloads      Phones
   $3B                      world wide
              App Servers                      Per month
Java Mobile
Game Market




                                                                 > 6 Billion
                                              > 40.0             Java Cards
                                              Million             Deployed
 Multi-Function        850+ M      Blu-ray Disc Digital TVs &
   Printers           PCs with       Devices     Set-Top Boxes
                        Java
                                                                               4
Java and Web 2.0
• End to end: server side but also allows to deliver services to smart cards,
  phones, desktop and TVs
• Convergence: mix and match Communications & Web
• Service Orientation: reusable and reuse other services (including
  legacy)
• Role specialization: different classes of developers: Communication,
  Enterprise, BPM, Web 2.0, ..
• Rich and robust platform: large set of specs and APIs
• Standards based
Java and Web 2.0 mash-ups
Agenda




    • Java overview
    • Technologies supported by Java Platform
      to create Web 2.0 services
    • Future trends



                                                6
Technologies supported by Java
Platform to create Web 2.0 services
• SOA
• Web Services
    > SOAP WS
    > RESTful WS
•   SIP Services
•   Java EE 6
•   AJAX
•   Dynamic languages and web frameworks
•   Java FX
SOA

• https://open-esb.dev.java.net/
• Enterprise Service Bus
• Service engines: BPEL, Intelligent Event Processing,
  XSLT, Data Mashup, Encoding, etc
• Wide range of adapters: communications, databases,
  EIS, etc.
• Very easy to use
  through Netbeans IDE
SOAP Web Services

• https://metro.dev.java.net/
• High-performance, extensible, easy-to-use web service
  stack
• Secure, reliable and transactions WS: WS-*
• Interoperable with .NET
• Transport neutral
• Very easy to use
  through IDEs support
RESTful Web Services

• https://jersey.dev.java.net/
• Standard annotation-driven API to build RESTful Web
  services in Java: Resources / Methods / Representations
• Rapid creation of RESTful WS from JPA entity classes
  and patterns.
• Generation of JavaScript client stubs from RESTful web
  services for building RESTful client applications.
• Test client generation for testing RESTful web services.
• Very easy to use through
  IDEs support
SIP Services

• https://sailfin.dev.java.net/
• Standard (JSR 116, 289) for developing and deploying
  communications applications
• Adds SIP servlet support on top of Java EE / GlassFish
• Allows Converged Java EE, SIP applications
• Highly scalable and carrier-grade
• Test client generation for testing SIP services.
• Very easy to use through
  IDEs support
Demo

• Done from scratch using IDE:
  > RESTful Web Services Creation from Database tables
    leveraging Google Map
  > Twitter status updates based on SIP Presence


• Netbeans 6.8 beta
  > http://www.netbeans.org/downloads/
  > Includes GlassFish V3 Preview
  > Java EE 6, SE, ME, Java FX, PHP, Ruby, Groovy, C/C++, etc.
• SailFin V2 (based on GF 2.1.1)
  > https://sailfin.dev.java.net/downloads/instructions.html
Java Enterprise Edition 6

• Most public reviews complete: Final release scheduled for
  Q4 2009
• GlassFish v3 is the Reference Implementation
• Flexible - One size no longer has to fit all
  > Full Platform
  > Web Profile: Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL
     1.2, JSF 2.0, JTA 1.1, JSR 45, Common Annotations
  > Opportunity for more profiles
• Extensible: Embrace Open Source Frameworks
• Productivity: More annotations, more POJOs, less XML,
  simplified packaging
Java Enterprise Edition 6
• Servlet 3.0:
    > Ease of use: annotations for ease of development, optional web.xml, etc.
    > Web Framework pluggability; Asynchronous Processing
• EJB 3.1
    > Ease-of-use improvements: no-interface view: once source file per bean;
      EJB inside web applications: No ejb-jar; Use WEB-INF/classes; Shared
      component environment; Portable JNDI
    > Singleton beans: @Singleton; Lightweight asynchronicity
    > Enhanced EJB Timer Service; Embeddable EJB Container
•   Java Persistence Architecture 2.0
•   Java Contexts & Dependency Injection (AKA - “Web Beans”)
•   Java Server Faces 2.0: MVC based, Easier to use than JSP.
•   JAX-RS 1.1 – RESTful services
AJAX and reverse AJAX

• Java Server Faces 2.0
  > Integrated AJAX support
  > Simplified component creation
• Comet
  > Techniques that enable a server to push data to client browsers
    through an HTTP open line of communication
Dynamic languages

• Pros vs Java
  >   Agile development
  >   More flexibility
  >   Metaprogramming and run-time code generation
  >   Domain-specific languages
  >   Productivity
• Cons vs Java
  >   Slower execution
  >   Scalability
  >   Different languages require different runtimes
  >   Maturity: contributors, ecosystem, testing, available libraries and
      frameworks, tooling, manageability, etc.
Dynamic languages and JVM: JRuby ex

• High performance, Real threading
• Vast array of libraries




http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/
Dynamic languages and web frameworks
• Run dynamic language applications along side Java EE
  apps with security, scalability, Java language and APIs
  benefits.
Dynamic languages – Pluggable Web
Framework

   JSF       Grails        ...         Rails      Merb          ...   Django         ...

          Servlet Spec                            Rack                       WSGI

             Web                                JRuby                      Jython
           Container                           Container                  Container


                                       V3 Kernel

                                        Grizzly

                                         JVM

    Key         GlassFish v3 Modules           Java Framework         Python Framework
                 Web Framework
                                               Ruby Framework
                 Interface
Other languages available on Java VM ..

• Clojure (Lisp)

• Scala

•   PHP
•   Rhino (JavaScript)
•   Java FX
•   And others ..
Demo
• Done from scratch using IDE:
  > Ruby + Java demo
  > Ruby on Rails




• Netbeans 6.8 beta
  > http://www.netbeans.org/downloads/
  > Includes GlassFish V3 Preview
  > Java EE 6, SE, ME, Java FX, PHP, Ruby, Groovy, C/C++, etc.
Java FX

• http://javafx.com/
• Platform for creating and delivering Rich Internet
  Applications across multiple screens
• Powered by the Java Platform
• Declarative Scripting Language
• Escape the browser deployment model linking with Java
  and Javascript
• Richness of Java development
Agenda




    • Java overview
    • Technologies supported by Java Platform
      to create Web 2.0 services
    • Future trends



                                                23
Development

• Team collaboration
  >   Presence
  >   Chat
  >   Continuous integration
  >   Issue Tracking
  >   Team Member Status Resources
• Cloud Plug-In
• Web on Web
• etc.
Runtime

• Multi screens
• Mixing and matching frameworks and languages
• PaaS

• Event processing
• Web based Integration

• New APIs: Semantic Web programming, NLP, Augmented
  Reality, etc.
Resources
• Open ESB
  > http://wiki.open-esb.java.net/
• SailFin
  > https://sailfin.dev.java.net/
• GlassFish (Java EE RI)
  > https://glassfish.dev.java.net/
      > https://jersey.dev.java.net/
      > https://javaserverfaces.dev.java.net/
      > http://glassfish-scripting.dev.java.net/
• Jruby
  > http://jruby.org/
  > http://kenai.com/projects/jruby/pages/CallingJavaFromJRuby
• Java FX
  > http://javafx.com/
Alexis Roos
alexis.roos@sun.com

More Related Content

What's hot (19)

PDF
WCM Roadmap Versions 3 3 And 4 0
Alfresco Software
 
PPTX
JSF 2: Myth of panacea? Magic world of user interfaces
Strannik_2013
 
PDF
Rich faces in_the_cloud_mini_booth
balunasj
 
PDF
NetBeans 5.5 and Java EE - Cédric Tabin - June 2007
JUG Lausanne
 
PPTX
ADP - Chapter 2 Exploring the java Servlet Technology
Riza Nurman
 
PDF
Microservices with WildFly Swarm - JavaSI 2016
Charles Moulliard
 
DOCX
Josin Wang Resume
Josin Wang
 
PPTX
LyncConference2013 - Lync Mobile - Mise en Oeuvre
Microsoft Technet France
 
PDF
Javantura 2014 - Java 8 JavaScript Nashorn
Miroslav Resetar
 
PDF
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Nicole Szigeti
 
DOC
Java web services soap rest training from hyderabad
FuturePoint Technologies
 
DOC
chandu
Chandra Sekhar
 
PPS
Deawsj 7 ppt-2_a
Niit Care
 
PDF
OTN Developer Days - GlassFish
glassfish
 
PDF
Introduction to Portlets Using Liferay Portal
rivetlogic
 
PPTX
WebClient Overview and 1.8 Roadmap
CM First Group
 
PPTX
Resilient Enterprise Messaging with WSO2 ESB
WSO2
 
PDF
Ajax World Fall08
rajivmordani
 
PDF
Deep-dive into WSO2 ESB 5.0
Kasun Indrasiri
 
WCM Roadmap Versions 3 3 And 4 0
Alfresco Software
 
JSF 2: Myth of panacea? Magic world of user interfaces
Strannik_2013
 
Rich faces in_the_cloud_mini_booth
balunasj
 
NetBeans 5.5 and Java EE - Cédric Tabin - June 2007
JUG Lausanne
 
ADP - Chapter 2 Exploring the java Servlet Technology
Riza Nurman
 
Microservices with WildFly Swarm - JavaSI 2016
Charles Moulliard
 
Josin Wang Resume
Josin Wang
 
LyncConference2013 - Lync Mobile - Mise en Oeuvre
Microsoft Technet France
 
Javantura 2014 - Java 8 JavaScript Nashorn
Miroslav Resetar
 
Support Tools für die Admin-Konsole - Nebil Kisa, Advanced Support Engineer
Nicole Szigeti
 
Java web services soap rest training from hyderabad
FuturePoint Technologies
 
Deawsj 7 ppt-2_a
Niit Care
 
OTN Developer Days - GlassFish
glassfish
 
Introduction to Portlets Using Liferay Portal
rivetlogic
 
WebClient Overview and 1.8 Roadmap
CM First Group
 
Resilient Enterprise Messaging with WSO2 ESB
WSO2
 
Ajax World Fall08
rajivmordani
 
Deep-dive into WSO2 ESB 5.0
Kasun Indrasiri
 

Viewers also liked (18)

PPTX
al-Quran surah Yaseen translation
Ameenah Yusuff
 
PPT
Developing Java Web Applications In Google App Engine
Tahir Akram
 
DOCX
Modul PHP untuk Pemula
Abdul Aziz
 
PDF
Buku pemrograman web html-css-javascript
Deka M Wildan
 
PDF
MySql 5 Dari Pemula Hingga Mahir (Achmad Solichin, Achmatim Net)
Achmad Solichin
 
PDF
Buat web dgn php mysql dreamweaver
Haswi Haswi
 
PDF
Menjadi webmaster dalam 30 hari
Didit Septiawan
 
PDF
Modul PHP
Muh Alhy Ŋ
 
PPS
Pengelolaan aset berbasis lokasi dengan Google Map, PHP, dan MySQL
Agus SA
 
PDF
Modul dasar pemrograman web
Deka M Wildan
 
PDF
Tutorial php membuat Aplikasi Inventaris
Deka M Wildan
 
PDF
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL Part 2 ...
Doni Tobing
 
PPT
Quran (A Code Of Life)
tariqmehsud
 
PDF
Seri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Agus Kurniawan
 
PDF
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL
Doni Tobing
 
PDF
Belajar Excel Tingkat Mahir
AYU LESTARI
 
PPT
Developing Java Web Applications
hchen1
 
PPTX
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
al-Quran surah Yaseen translation
Ameenah Yusuff
 
Developing Java Web Applications In Google App Engine
Tahir Akram
 
Modul PHP untuk Pemula
Abdul Aziz
 
Buku pemrograman web html-css-javascript
Deka M Wildan
 
MySql 5 Dari Pemula Hingga Mahir (Achmad Solichin, Achmatim Net)
Achmad Solichin
 
Buat web dgn php mysql dreamweaver
Haswi Haswi
 
Menjadi webmaster dalam 30 hari
Didit Septiawan
 
Modul PHP
Muh Alhy Ŋ
 
Pengelolaan aset berbasis lokasi dengan Google Map, PHP, dan MySQL
Agus SA
 
Modul dasar pemrograman web
Deka M Wildan
 
Tutorial php membuat Aplikasi Inventaris
Deka M Wildan
 
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL Part 2 ...
Doni Tobing
 
Quran (A Code Of Life)
tariqmehsud
 
Seri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Agus Kurniawan
 
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL
Doni Tobing
 
Belajar Excel Tingkat Mahir
AYU LESTARI
 
Developing Java Web Applications
hchen1
 
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
Ad

Similar to Java in web 2 0 presentation (20)

PDF
Powering the Next Generation Services with Java Platform - Spark IT 2010
Arun Gupta
 
PDF
JavaOne 2010 Keynote
Tomoyuki Tatsuno
 
PDF
GlassFish & Java EE Business Update @ CEJUG
Arun Gupta
 
PPT
December 4 SDForum Java Sig Presentation
Jonathan Abrams
 
PDF
Summer training java
Arshit Rai
 
PDF
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
Arun Gupta
 
PDF
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
Arun Gupta
 
PPT
Introduction to java_ee
Yogesh Bindwal
 
PDF
Glassfish An Introduction
Jumping Bean
 
PDF
GlassFish OSGi Server
Artur Alves
 
PDF
Java EE6 CodeCamp16 oct 2010
Codecamp Romania
 
PPT
Summer training java
Arshit Rai
 
PPT
Report From JavaOne 2009 - part 3
Lucas Jellema
 
ODP
Enterprise Java in 2012 and Beyond, by Juergen Hoeller
Codemotion
 
PDF
Java EE 7: the Voyage of the Cloud Treader
Saltmarch Media
 
PDF
Technologies Skills
S LMS
 
PDF
Technologies Skills
Deepak Raj
 
PDF
Retour JavaOne 2009
Alexis Moussine-Pouchkine
 
PDF
Whats Cool in Java E 6
Arun Gupta
 
PDF
Java and the Web
Dmitry Buzdin
 
Powering the Next Generation Services with Java Platform - Spark IT 2010
Arun Gupta
 
JavaOne 2010 Keynote
Tomoyuki Tatsuno
 
GlassFish & Java EE Business Update @ CEJUG
Arun Gupta
 
December 4 SDForum Java Sig Presentation
Jonathan Abrams
 
Summer training java
Arshit Rai
 
TDC 2011: The Java EE 7 Platform: Developing for the Cloud
Arun Gupta
 
The Java EE 7 Platform: Developing for the Cloud (FISL 12)
Arun Gupta
 
Introduction to java_ee
Yogesh Bindwal
 
Glassfish An Introduction
Jumping Bean
 
GlassFish OSGi Server
Artur Alves
 
Java EE6 CodeCamp16 oct 2010
Codecamp Romania
 
Summer training java
Arshit Rai
 
Report From JavaOne 2009 - part 3
Lucas Jellema
 
Enterprise Java in 2012 and Beyond, by Juergen Hoeller
Codemotion
 
Java EE 7: the Voyage of the Cloud Treader
Saltmarch Media
 
Technologies Skills
S LMS
 
Technologies Skills
Deepak Raj
 
Retour JavaOne 2009
Alexis Moussine-Pouchkine
 
Whats Cool in Java E 6
Arun Gupta
 
Java and the Web
Dmitry Buzdin
 
Ad

Recently uploaded (20)

PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Biography of Daniel Podor.pdf
Daniel Podor
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 

Java in web 2 0 presentation

  • 1. Java™ in Web 2.0 Alexis Roos Principal Field Technologist, CTO Office OEM SW Sales Sun Microsystems, Inc. 1
  • 2. Agenda • Java overview • Technologies supported by Java Platform to create Web 2.0 services • Future trends 2
  • 3. The Java Eco-System 6.5+ M 250+ M 850+ K > 2.6 Billion $2.8B Java Dev. JavaFX GlassFish Java Powered In Java runtime Downloads Phones $3B world wide App Servers Per month Java Mobile Game Market > 6 Billion > 40.0 Java Cards Million Deployed Multi-Function 850+ M Blu-ray Disc Digital TVs & Printers PCs with Devices Set-Top Boxes Java 4
  • 4. Java and Web 2.0 • End to end: server side but also allows to deliver services to smart cards, phones, desktop and TVs • Convergence: mix and match Communications & Web • Service Orientation: reusable and reuse other services (including legacy) • Role specialization: different classes of developers: Communication, Enterprise, BPM, Web 2.0, .. • Rich and robust platform: large set of specs and APIs • Standards based
  • 5. Java and Web 2.0 mash-ups
  • 6. Agenda • Java overview • Technologies supported by Java Platform to create Web 2.0 services • Future trends 6
  • 7. Technologies supported by Java Platform to create Web 2.0 services • SOA • Web Services > SOAP WS > RESTful WS • SIP Services • Java EE 6 • AJAX • Dynamic languages and web frameworks • Java FX
  • 8. SOA • https://open-esb.dev.java.net/ • Enterprise Service Bus • Service engines: BPEL, Intelligent Event Processing, XSLT, Data Mashup, Encoding, etc • Wide range of adapters: communications, databases, EIS, etc. • Very easy to use through Netbeans IDE
  • 9. SOAP Web Services • https://metro.dev.java.net/ • High-performance, extensible, easy-to-use web service stack • Secure, reliable and transactions WS: WS-* • Interoperable with .NET • Transport neutral • Very easy to use through IDEs support
  • 10. RESTful Web Services • https://jersey.dev.java.net/ • Standard annotation-driven API to build RESTful Web services in Java: Resources / Methods / Representations • Rapid creation of RESTful WS from JPA entity classes and patterns. • Generation of JavaScript client stubs from RESTful web services for building RESTful client applications. • Test client generation for testing RESTful web services. • Very easy to use through IDEs support
  • 11. SIP Services • https://sailfin.dev.java.net/ • Standard (JSR 116, 289) for developing and deploying communications applications • Adds SIP servlet support on top of Java EE / GlassFish • Allows Converged Java EE, SIP applications • Highly scalable and carrier-grade • Test client generation for testing SIP services. • Very easy to use through IDEs support
  • 12. Demo • Done from scratch using IDE: > RESTful Web Services Creation from Database tables leveraging Google Map > Twitter status updates based on SIP Presence • Netbeans 6.8 beta > http://www.netbeans.org/downloads/ > Includes GlassFish V3 Preview > Java EE 6, SE, ME, Java FX, PHP, Ruby, Groovy, C/C++, etc. • SailFin V2 (based on GF 2.1.1) > https://sailfin.dev.java.net/downloads/instructions.html
  • 13. Java Enterprise Edition 6 • Most public reviews complete: Final release scheduled for Q4 2009 • GlassFish v3 is the Reference Implementation • Flexible - One size no longer has to fit all > Full Platform > Web Profile: Servlet 3.0, EJB Lite 3.1, JPA 2.0, JSP 2.2, EL 1.2, JSTL 1.2, JSF 2.0, JTA 1.1, JSR 45, Common Annotations > Opportunity for more profiles • Extensible: Embrace Open Source Frameworks • Productivity: More annotations, more POJOs, less XML, simplified packaging
  • 14. Java Enterprise Edition 6 • Servlet 3.0: > Ease of use: annotations for ease of development, optional web.xml, etc. > Web Framework pluggability; Asynchronous Processing • EJB 3.1 > Ease-of-use improvements: no-interface view: once source file per bean; EJB inside web applications: No ejb-jar; Use WEB-INF/classes; Shared component environment; Portable JNDI > Singleton beans: @Singleton; Lightweight asynchronicity > Enhanced EJB Timer Service; Embeddable EJB Container • Java Persistence Architecture 2.0 • Java Contexts & Dependency Injection (AKA - “Web Beans”) • Java Server Faces 2.0: MVC based, Easier to use than JSP. • JAX-RS 1.1 – RESTful services
  • 15. AJAX and reverse AJAX • Java Server Faces 2.0 > Integrated AJAX support > Simplified component creation • Comet > Techniques that enable a server to push data to client browsers through an HTTP open line of communication
  • 16. Dynamic languages • Pros vs Java > Agile development > More flexibility > Metaprogramming and run-time code generation > Domain-specific languages > Productivity • Cons vs Java > Slower execution > Scalability > Different languages require different runtimes > Maturity: contributors, ecosystem, testing, available libraries and frameworks, tooling, manageability, etc.
  • 17. Dynamic languages and JVM: JRuby ex • High performance, Real threading • Vast array of libraries http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/
  • 18. Dynamic languages and web frameworks • Run dynamic language applications along side Java EE apps with security, scalability, Java language and APIs benefits.
  • 19. Dynamic languages – Pluggable Web Framework JSF Grails ... Rails Merb ... Django ... Servlet Spec Rack WSGI Web JRuby Jython Container Container Container V3 Kernel Grizzly JVM Key GlassFish v3 Modules Java Framework Python Framework Web Framework Ruby Framework Interface
  • 20. Other languages available on Java VM .. • Clojure (Lisp) • Scala • PHP • Rhino (JavaScript) • Java FX • And others ..
  • 21. Demo • Done from scratch using IDE: > Ruby + Java demo > Ruby on Rails • Netbeans 6.8 beta > http://www.netbeans.org/downloads/ > Includes GlassFish V3 Preview > Java EE 6, SE, ME, Java FX, PHP, Ruby, Groovy, C/C++, etc.
  • 22. Java FX • http://javafx.com/ • Platform for creating and delivering Rich Internet Applications across multiple screens • Powered by the Java Platform • Declarative Scripting Language • Escape the browser deployment model linking with Java and Javascript • Richness of Java development
  • 23. Agenda • Java overview • Technologies supported by Java Platform to create Web 2.0 services • Future trends 23
  • 24. Development • Team collaboration > Presence > Chat > Continuous integration > Issue Tracking > Team Member Status Resources • Cloud Plug-In • Web on Web • etc.
  • 25. Runtime • Multi screens • Mixing and matching frameworks and languages • PaaS • Event processing • Web based Integration • New APIs: Semantic Web programming, NLP, Augmented Reality, etc.
  • 26. Resources • Open ESB > http://wiki.open-esb.java.net/ • SailFin > https://sailfin.dev.java.net/ • GlassFish (Java EE RI) > https://glassfish.dev.java.net/ > https://jersey.dev.java.net/ > https://javaserverfaces.dev.java.net/ > http://glassfish-scripting.dev.java.net/ • Jruby > http://jruby.org/ > http://kenai.com/projects/jruby/pages/CallingJavaFromJRuby • Java FX > http://javafx.com/