web10what's new in was v7.0 for developers€¦ · interoperable, reliable web services...
TRANSCRIPT
© 2009 IBM Corporation
®
WebSphere Application Server
What’s new in WAS V7.0 for Developers
IBM WebSphere Application Infrastructure
2
IBM WebSphere Application Server FamilyMultiple Business Models, Multiple Deployment Optio ns
CustomerNeeds
WebSphere Application Server
Network Deployment
CapabilitiesBuilt on common WebSphere code Built on open source technology
Reduced acquisition
costs; Small
footprint..
Ultimate scalability &
performance; functional
depth & breadth
Fast deployment High Qualities of Service
WebSphere Application Server for zOS
Ideal for lightweight, departmental apps where cost and simplicity are key
WebSphere Application Server
– Express
WebSphereApplication Server
WebSphere Application Server Community
Edition
Optimized for mainframes
Ideal for business critical and key company wide apps requiring highest levels of reliability, security, scalability & manageability
Tailored for smaller business
WebSphere Application Server Hypervisor Edition
Optimized for WebSphere CloudBurstenvironments
IBM WebSphere Application Infrastructure
3
WebSphere Application Server Function Evolution
V5.04Q2003
V5.12Q2004
V6.0.X4Q2004
V6.12Q2006
V4.0.X2001
V6.1 FEP 2007
•J2EE 1.2 support•Configuration data in database•Support for Web Services
•J2EE 1.2, 1.3 support•JDK 1.3 support•Web Services based on Apache engine
•Configuration data in XML files•Packaging simplification•Network Deployment Cell for clustering and scalability•Built-in messaging engine based on WebSphere MQ
•Merging of z/OS and distributed code base
•J2EE 1.2, 1.3 support•JDK 1.4 support•Web Services based on JSR 101/109 on IBM engine•Support for JSF
•J2EE 1.2, 1.3, 1.4 support•Web Services based on J2EE 1.4 •WS-Security and Basic profile support•Common data model, SDO•Inclusion of PME for all packaging
•High Availability Manager•Java-based Messaging engine •Mixed version cell support for V5.0.X and V6
•J2EE 1.2, 1.3, 1.4 support•JDK 5.0 support•Portlet support•Session Initiation Protocol (SIP) support•WS-Notification, WS-Business Activity and WS-Resource Framework, WS-I BSP support•Virtual Member Manager
•OSGi based architecture•Consumability and ease of use enhancements•Serviceability enhancements
Optional Functions
•WS-*
•EJB3.0
•Web 2.0, Ajax
V72008..
•J5EE support•JDK 6.0 support
•Additional FEP or Product Extensions
• Security enhancements
•Flexible management
IBM WebSphere Application Infrastructure
4
Nobody does it better…
WebSphere Application Server Version 7 brings …
–Simplification for Developers
–High Performance SOA Environment
–Innovation that Matters
Interaction Services
Information Services
Partner Services
Business App Services
Access ServicesD
evel
opm
ent
Ser
vice
s
Man
agem
ent S
ervi
ces
Infrastructure Services
App
s &
In
fo A
sset
s
Process Services
Business Services
Enterprise Service Bus
IBM WebSphere Application Infrastructure
55
User Roles in IT
IT Leaders (CIO) IT Architects
Systems Administration
Developers
Provide: Domain expertise on business strategy and business function Receive: Actionable insight into operational performance to make better business decisions
Provide: Solution architecture, integration expertise and infrastructure focus.Receive: Operational performance information for continuous process improvement and optimization.
Provide: Technical expertise in resources for implementing BPM solutions.Receive: Clear business requirements and flexible IT design pattern for lower TCO.
Provide: Work activity, content, and resources to execute business processes.Receive: Streamlined and intelligent work environments for increase productivity.
IBM WebSphere Application Infrastructure
66
WebSphere Application Server v7 … for IT Architects
IT Leaders (CIO) IT Architects
Systems Administration
Developers
Provide: Domain expertise on business strategy and business function Receive: Actionable insight into operational performance to make better business decisions
Provide: Solution architecture, integration expertise and infrastructure focus.Receive: Operational performance information for continuous process improvement and optimization.
Provide: Technical expertise in resources for implementing BPM solutions.Receive: Clear business requirements and flexible IT design pattern for lower TCO.
Provide: Work activity, content, and resources to execute business processes.Receive: Streamlined and intelligent work environments for increase productivity.
Leading application servers for backbone enterprise SOA architecture
IBM WebSphere Application Infrastructure
77
WebSphere Application Server v7 … for System Adminis trators
IT Leaders (CIO) IT Architects
Systems Administration
Developers
Provide: Domain expertise on business strategy and business function Receive: Actionable insight into operational performance to make better business decisions
Provide: Solution architecture, integration expertise and infrastructure focus.Receive: Operational performance information for continuous process improvement and optimization.
Provide: Technical expertise in resources for implementing BPM solutions.Receive: Clear business requirements and flexible IT design pattern for lower TCO.
Provide: Work activity, content, and resources to execute business processes.Receive: Streamlined and intelligent work environments for increase productivity.
Leading management architecture and features to reduce the overhead of administration
IBM WebSphere Application Infrastructure
88
WebSphere Application Server v7 … for Developers
IT Leaders (CIO) IT Architects
Systems Administration
Developers
Provide: Domain expertise on business strategy and business function Receive: Actionable insight into operational performance to make better business decisions
Provide: Solution architecture, integration expertise and infrastructure focus.Receive: Operational performance information for continuous process improvement and optimization.
Provide: Technical expertise in resources for implementing BPM solutions.Receive: Clear business requirements and flexible IT design pattern for lower TCO.
Provide: Work activity, content, and resources to execute business processes.Receive: Streamlined and intelligent work environments for increase productivity.
Leading application development, deployment environment for high performing SOA
IBM WebSphere Application Infrastructure
9
Goal: Leverage Benefits of SOA Programming Model
IBM Solution
– Core JEE 5 programming model
– EJB 3.0, JPA standards for simplified programming
– Java Development Kit (JDK) 6.0
– Support for latest Web services profiles
– Feature pack for Web 2.0, for SCA
– Support for Java portlets JSR 286
– Spring certification
9
You want to…
• Build and deploy new flexible, agile applications/services
• Reuse, extend existing applications• Leverage programming standards to
enable service composition
Interaction Services
Information Services
Partner Services
Business App
Services
Access Services
Dev
elop
men
tS
ervi
ces
Man
agem
ent
Ser
vice
s
Infrastructure Services
App
s &
In
fo A
sset
sProcess Services
Business Services
Enterprise Service Bus
WebSphere Application
Server
Supporting the strongest, most com-prehensive SOA programming model
IBM WebSphere Application Infrastructure
10
WAS v7 Programming Model Currency Goals
� One word ……… Simplify– Simplify the programming model– Simplify application coding– Simplify application assembly / packaging– Simplify testing– Simplify Object Relational Mapping– Simplify Web Services Development
IBM WebSphere Application Infrastructure
11
Goal: Simplify the programming model
11
You want to…
• Develop EJBs that have interfaces and inheritance hierarchies that reflect you business rather than the framework within which you are programming.
• Enable Java SE developers to quickly learn Java EE and develop enterprise applications
IBM Solution
� Interfaces no longer have to implement the EJBObject interface.
� EJB methods no longer have to throw RemoteException.
� EJB implementations no longer required to implement EJB life cycle methods. Use callback annotations instead
� All implemented as Plain Old Java Objects (POJOs)
IBM WebSphere Application Infrastructure
12
Goal: Simplify application coding
12
You want to…
• Write application code focused on your business logic.•Avoid cluttering you application with plumbing code that interacts with the framework and runtime.
:
IBM Solution
� Inversion of control aka … ‘Don’t call us, we’ll call you’.
� Uses dependency Injection.
– Application code simply declares variables and annotates them to indicate what they want.
– The container injects the specified object or resource references.
� Uses JSE 5.0 Annotations to place configuration metadata directly in the code.
IBM WebSphere Application Infrastructure
13
Goal: Simplify application assembly / packaging
13
You want to…
• Develop applications consisting of fewer artifact.• Only work with deployment descriptors when I have something to add during assembly or deployment.
IBM Solution
� EJB deployment descriptors are now optional.
– Used to override information specified in the annotations.
– Can be sparsely populated. No entries needed except to override defaults.
– Can be used as alternative to annotations or in combination.
� Annotations assume the obvious – but allow specification of non-default values.
IBM WebSphere Application Infrastructure
14
Goal: Simplify testing
14
You want to…
• Test you application without making an entire trip to the server.•Tightly iterate through code, test, debug cycles.Focus on testing your business logic.:
IBM Solution
� Simplified POJO-based programming model Enables unit testing without an application server
� When ready to run in the EJB container: Bean can be annotated with markers that tell the Container what services to apply to the bean
� WebSphere Application Server dynamically applies those services at runtime
� Greatly simplified deployment process
Develop Test
IBM WebSphere Application Infrastructure
15
Goal: Simplify Object Relational Mapping
15
You want to…
• Move away from the complex and somewhat limited EJB 2.1 programming model for Persistence.
• Use simplified POJO based model similar to those that arose in response to this complexity.
• Use persistence programming model that’s supported by standards including O/R mapping.
:
IBM Solution
� Java Persistence API (JPA)
– O/R mapping in either annotations or XML deployment descriptor.
� Standard support for a richer semantic for O/R mapping.
– Both object and native queries
– RDB key generation
– Inheritance
– Optimistic locking
� Entities are just POJOs
– They don’t need to be ‘deployed’
– The can be used as Data Transfer Object as well.
IBM WebSphere Application Infrastructure
16
Goal: Simplify Web Services Development
IBM Solution
� JCP-based programming model
– JAX-WS 2.1,
– JAXB 2.1
– SAAJ 1.3
– StAX 1.0
16
You want to…�Interoperable, Reliable Web services�Easy-to-implement�Consumable and Extensible
WS-I Basic Profile WS-I Attachments Profile WS-I Simple SOAP Profile
WS-I Basic Security ProfileWS-Security
Token Profiles
WS-I Reliable Secure Profile(RAMP Profile)
WS-ReliableMessagingWS-SecureConversation
WS-Addressing
� Web Services Standards�WS-I Reliable Secure Profile �WS-ReliableMessaging�WS-SecureConversation�WS-Addressing�WS-I Basic Security Profile �WS-I Basic Profile 1.0
Policy Sets allow these to be specified administratively
IBM WebSphere Application Infrastructure
17
� API for developing Web services with Java™ and XML
–Successor to JAX-RPC 1.1
� A JAX-WS implementation integrated with the Web services Engine
� Support for Web services annotations
–Incorporates JSR-181 and defines Java SE 5 annotations
� Tools for creating portable artifacts for the client
–WSImport for top down development• Create a Web service form a WSDL• JAX-WS equivalent of WSDL2Java
–WSGen can be used for bottom up development• Create a Web service from Java code• JAX-WS equivalent of Java2WSDL
Simplifying Web Services DevelopmentWith JAX-WS WAS v7 improves and simplifies Java Web Services
IBM WebSphere Application Infrastructure
18
� JAX-WS supports multiple data bindings
– JAX-B 2.0 - Preferred
– SAAJ 1.3 (SOAPMessage)
– XML Source
– Activation DataSource
� JAX-B to define binding of XML to Java artifacts
– JAX-RPC defined its own rules for basic data binding
– Later specifications enhanced the binding rules
� IBM’s JAX-WS implementation is built on top of Axis2 Web Services engine
– Axis2 programming model is not supported
� Defines annotations to ease development of Web Services
� JAX-WS is designed to run on Java 5
Simplifying Web Services DevelopmentWith JAX-WS WAS v7 improves and simplifies Java Web Services
IBM WebSphere Application Infrastructure
19
� Asynchronous support for clients
– Using either a polling or callback mechanism
� Transport neutral
– Support for HTTP/HTTPS in this release
– Other transports planned for future releases
� As in JAX-RPC, JAX-WS provides a mechanism for application handlers
– Insert or retrieve data from a message as it moves through the Web services engine
Simplifying Web Services DevelopmentWith JAX-WS WAS v7 improves and simplifies Java Web Services
IBM WebSphere Application Infrastructure
20
� Developer productivity
– Java compiler API – the ability to invoke the compiler from withthe Java Virtual Machine (JVM)
– Java scripting support – gives scripts the ability to access APIs in the JVM
� Upgrades to existing components
– JMX – MBean event generation at thresholds
� Added components
– Web services standards: JAX-WS, JAXB, StAX
– Java Data Base Connectivity (JDBC) 4.0
Leveraging Benefits of SOA Programming ModelJava Standard Edition (SE) 6..0 Support Brings Prod uctivity …
IBM WebSphere Application Infrastructure
21
– Portlets will now be able to send and receive events in order to perform changes to the portlet state triggered byevents
– Portlets will now be able to share session attributes withservlets and jsps locatedwithin the same web application
– Portlets will now be able to share render parameters withother portlets
– Portlets will now be able to serve resources in thecontext of the portal
Portlet
Container
EventBroker
PortletC
ontainerInvokerA
PI/S
PI
PortletA
PI
Portlet
action
sendEvent
event (Option 1)
event (Option 2)
receiveEvent
JSR 286 – Portlet Specification 2.0
Leveraging Benefits of SOA Programming ModelWAS v7 Implements next level of Portlet Programming Model
IBM WebSphere Application Infrastructure
22
Leveraging Benefits of SOA Programming ModelWebSphere Application Server v7 Strengthens the Por tlet Programming Model
WSRP 1.0 + 2.0
Portal Server(User Access)
Portal Users
Remote WSRP 2.0 Portlets participate in Context• Optionally use multiple JVMs for running your Portal
• Isolate “untrusted” Portlets from Portal• Execute Portlets in their own JVM• Enhanced scalability for “heavy” Portlets
Portlet Container
WSRP 1.0 + 2.0
Portlet Container
Portal Server(Portlet Server)
Portlet Container
WSRP 1.0
WAS(Portlet Server)
IBM WebSphere Application Infrastructure
23
Leveraging Benefits of SOA Programming ModelSpring Certified WebSphere Application Server as a Deployment Platform
� The Spring model offers ease of development, like EJB3. Spring IoC container provides some abstraction between Java SE/EE – good for unit test.
� Significant collaboration between IBM and Interface21 in 2007 tested Spring with WebSphere Application Server on all Base WebSphere Application Server platforms and under load.
– Framework integration points added to WebSphere Application Server and exploited by Spring 2.5• Early availability of these delivered in 6.1.0.9 and 6.0.2.19.
– Spring certified WebSphere Application Server as a deployment platform for the Spring framework• http://www.springsource.com/pressreleases/2007/ibmwebsphere062007
– Spring distribution is not shipped with WebSphere Application Server , nor does WebSphere Application Server provide support for the Spring framework itself
� Recommended best practices when using Spring with WebSphere Application Server :http://www-128.ibm.com/developerworks/websphere/techjournal/0609_alcott/0609_alcott.html
IBM WebSphere Application Infrastructure
2424
Leveraging Benefits of SOA Programming ModelWebSphere Application Server v7 Keeps Pace with Ind ustry Advancements
WAS 7.0
Web services EJB 3.0 Web 2.0
WebSphere Application Server 6.1
Choose the application server technology you need.
Install additional functionality on core WebSphere Application Server 7
1. 2. 3.
Web services EJB 3.0
Web 2.0 SCA
Build the Application Server you want without waiting for new releases.
Feature Packs enable you to selectively take advantage of new standards and features while maintaining a more stable internal release cycle.
IBM WebSphere Application Infrastructure
25
Goal: Provide Powerful, but Simplified RAD
IBM Solution
– Rapid Assembly and Deployment Module for WebSphere
– Advanced tooling
• J2EE 1.4 support• Java EE 5 support
• Java EE 5 XML form-based DD editors
• SIP tools
– Visual editing
– Adapters for simplified, enhanced integration
25
Enabling fast, efficient development of critical applications and services
You want to…
• Build and deploy flexible, agile applications/services
• Take advantage of modern IDEs for rapid development/deployment
• Leverage programming standards to enable service composition
IBM WebSphere Application Infrastructure
26
RAD for WebSphereProgramming model tools:• EJB3 productivity features• Domain modeling (visual edit)
• Java, EJB, XSD, WSDL, Data• Web Development (visual edit)• Web Services productivity features• Portlet JSR• Relational Data ToolsMiscellaneous:• XML productivity features• Extra Debuggers (XSLT, stored procedures…)• WAS Test servers: v6.0, v6.1, v7.0• WAS n-2 support• J2C
• CICS and IMS AdaptersLicensed but supplied separately:
• RequisitePro integration• RUP• IBM Support Assistant
• More…
RAD for WebSphereProgramming model tools:• EJB3 productivity features• Domain modeling (visual edit)
• Java, EJB, XSD, WSDL, Data• Web Development (visual edit)• Web Services productivity features• Portlet JSR• Relational Data ToolsMiscellaneous:• XML productivity features• Extra Debuggers (XSLT, stored procedures…)• WAS Test servers: v6.0, v6.1, v7.0• WAS n-2 support• J2C
• CICS and IMS AdaptersLicensed but supplied separately:
• RequisitePro integration• RUP• IBM Support Assistant
• More…
EIS Adapters• SAP, Siebel, JDE, Oracle, PeopleSoft
EIS Adapters• SAP, Siebel, JDE, Oracle, PeopleSoft
Portal (Lotus)• Portal Tools
Portal (Lotus)• Portal Tools
SCA (Post v7.5) • SCA 1 (Public)
SCA (Post v7.5) • SCA 1 (Public)
RAD Assembly & Deploy�Profile Management tools�Jython Tools�J2EE 1.4 (same level as AST 6.1)�JEE5 XML-form based DD editors�JEE5 application support�WebSphere Application Server 7 support only
�SIP
RAD Assembly & Deploy�Profile Management tools�Jython Tools�J2EE 1.4 (same level as AST 6.1)�JEE5 XML-form based DD editors�JEE5 application support�WebSphere Application Server 7 support only
�SIP
Providing Powerful, but Simplified RADRAD for WebSphere Improves Programmer Productivity
IBM WebSphere Application Infrastructure
27
IBM WebSphere Application Infrastructure
28
Interface21 Certifies The Spring Framework on IBM WebSph ere®Application Server®
Interface21 Certifies The Spring Framework on IBM W ebSphere® Application Server®
ANTWERP, Belgium—SPRINGONE CONFERENCE 2007—June 20, 2007—Interface21, a leading provider of trusted open source software for building and deploying enterprise applications, today announced it has certified and will support IBM’s WebSphere(R) Application Server as a deployment platform for the Spring application development framework. Spring is a comprehensive open source application framework that has been downloaded more than three million times. IBM WebSphere Application Server is the market leading standards-based middleware foundation for building, running and integrating business applications across a variety of computing platforms. Interface21’s certification of Spring with WebSphere Application Server ensures that enterprise developers have additional choice and flexibility to maximize their organizations’ investment in IBM technology.
“IBM is committed to ensuring that our technology solutions are interoperable and can be deployed in conjunction with a range of complementary technologies,” said Paul Buck, Director, WebSphere Open Source, IBM. “Some WebSphere customers have already deployed Spring with WebSphere Application Server. Today’s announcement ensures that they can get structured support from Interface21 and the confidence that IBM and Interface21 have collaborated to position WebSphere Application Server as the premier environment for Spring applications.”“Today’s certification of the Spring Framework on IBM WebSphere Application Server highlights Interface21’s commitment to providing a simple, powerful development and deployment model that integrates with a wide variety of application infrastructure components,” said Rod Johnson, CEO, Interface21.
About Interface21Interface21 is a leading provider of trusted open source software for mission-critical enterprise applications. Interface21 created and sustains the development of the Spring Framework, the leading Java™ and Java EE™ application framework. Through the Spring family of products, Interface21has helped hundreds of organizations, including some of the world’s largest financial institutions and public sector clients, build and deploy mission-critical applications that boost developer productivity and increase enterprise ROI. For more information, please visit http://www.interface21.com.
IBM WebSphere Application Infrastructure
29
Using Technology Innovation to Meet Evolving NeedsWAS v7 Expands Support through Business Level Appli cations
� Expanding the notion of “Application”beyond J2EE
� Extensible deployment logic framework
� Supports more than Application Server deployment target runtimes
– for example: Proxy Server, Web Server, CE, files, etc.
� Full lifecycle management of applications
– Install, distribute, activate, monitor, update, remove
BLA1
EJB Module Web
Module
BLA3
CICS Transaction
DB2 Database
PortletModule
JAX-WS Web Service
Module
BLA2
WAR
J2EE Enterprise
App
JAREAR
Axis2 PAR
Business Logic
Configuration
Composition