Java Platform, Enterprise Edition QA by msz78385

VIEWS: 14 PAGES: 18

									Java Platform,
Enterprise Edition
Q&A


Roberto Chinnici
Senior Staff Engineer
Sun Microsystems, Inc.
                         1
Agenda
• Java EE 5 recap
• Java EE 6 intro
• Q&A on different topics




                        Sun Confidential   2
Java EE 5                      Ease of Development Focus
                           Major Revamp of Programming Model
                        EJB™ 3.0 support for POJOs means less to
                          learn, less to code and less to maintain
                        New Java™ Persistence API makes object /
                           relational mapping cleaner and easier
                       New and updated Web Services (JAX-WS 2.0
                       and JAXB 2.0) simplifies SOA implementation
                        JavaServer™ Faces 1.2 facilitates building
                              Web 2.0 Applications with AJAX
                          Annotations often eliminate the need for
                                   deployment descriptors
                         Supported by NetBeans™ 5.5 Enterprise
                                             Pack
                                        Get the SDK:
                         http://java.sun.com/javaee/downloads/

            Sun Confidential                                         3
 History of Enterprise Java                                           Ease of
                                                                    Development
 5
                                                                    Java EE 5
4.5                                                    Web          Ease of
 4
                                                     Services       Development
                              `                      J2EE 1.4       Annotations
3.5                                                 Web Services,   EJB 3.0
                              Robustness            Management,
 3                                                                  Persistence API
                 Enterprise     J2EE 1.3            Deployment,     New and
2.5                 Java          CMP,              Async.          Updated
                  Platform
 2                              Connector           Connector       Web Services
                  J2EE 1.2
1.5
                 Servlet, JSP, Architecture
 1
       JPE        EJB, JMS
0.5   Project     RMI/IIOP
 0
      May 1998     Dec 1999      Sept 2001            Nov 2003       March 2005
                     19 mo           21 mo              26 mo            29 mo
                                 Sun Confidential                                     4
Major New Features in Java EE 6
•   Profiles
•   Pruning
•   Extensibility
•   More ease of development




                        Sun Confidential   5
Profiles
•   Rules set by the Java EE Platform spec
•   Profiles can be subsets, supersets, overlapping
•   Define immediately a Web Profile
•   JCP process for future profiles




                          Sun Confidential            6
Extensibility
• Embrace open source libraries, frameworks
• Level playing field for extensions
• Scripting as a first-class citizen




                       Sun Confidential       7
Ease of Development in the Web Tier
•   Annotations across web APIs
•   No editing of web.xml
•   Self-registering third-party libraries
•   Restful web services (JAX-RS)
•   Scripting as an extension
•   Ajax support in JSF
•   Facelets


                             Sun Confidential   8
Ease of Development Elsewhere
•   Simplified packaging of EJB components in a webapp
•   EJB singletons
•   Optional local interfaces for EJBs
•   Calendar timers
•   Global JNDI names
•   Web Beans
•   Validation


                         Sun Confidential                9
Proposed Components (New JSRs)
Exact set of technologies to be determined by the expert group
•   EJB 3.1 (JSR 318)
•   Java Persistence API 2.0 (JSR 317)
•   Servlet 3.0 (JSR 315)
•   JSF 2.0 (JSR 314)
•   JAX-RS 1.0 (JSR 311)
•   WebBeans 1.0 (JSR 299)
•   Connector Architecture 1.6 (JSR 322)

                              Sun Confidential                   10
Other JSRs Under Consideration
Exact set of technologies to be determined by the expert group
• Bean Validation (JSR 303)
• Timer for Application Servers (JSR 236)
• Work Manager for Application Servers (JSR 237)




                              Sun Confidential                   11
Q&A by topic


     Sun Confidential   12
Web Profile
•   Minimal, medium, large?
•   What is effectively required?
•   EJB Lite / Web Beans / JSF
•   What do you expect in a product (GlassFish)?




                          Sun Confidential         13
OSGi
•   What level of support?
•   Dependencies
•   Services
•   Full model (whiteboarding, etc.)




                           Sun Confidential   14
Web Tier
•   What is missing?
•   How should we evolve servlets?
•   Comet API
•   Portal




                         Sun Confidential   15
Web Services
• REST vs WS-*
• JBI
• SCA




                 Sun Confidential   16
Various
• EJB Lite
• Clustering / HA
• Anything else?




                    Sun Confidential   17
Java Platform,
Enterprise Edition
Q&A


Roberto Chinnici
roberto.chinnici@sun.com


                           18

								
To top