© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Web Application Development with WTP EclipseWorld 2005 Tim Wagner, WTP PMC.

Презентация:



Advertisements
Похожие презентации
© 2006 IBM Corporation Made available under the EPL v WebSphere Services Technical Conference world class skill building and technical enablement.
Advertisements

© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Developing Web Services with Eclipse Arthur Ryman Web Service.
© 2006 by IBM and Oracle; made available under the EPL v1.0 | Santa Clara | Mar. 23, 2006 Arthur Ryman, WTP PMC, IBM Rational Software Raghu Srinivasan,
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Web Tools Platform Project Overview Naci Dai, Arthur.
© 2005 by IBM; made available under the EPL v1.0 | May 19, 2005 Tim deBoer WTP Server Tools Open House.
© 2006 by IBM; made available under the EPL v1.0 | October 11, 2006 | Tour of the Web Tools Platform (WTP) Project David Williams Eclipse WST Project Lead.
© 2005 IBM Corporation, Innoopract GmbH eclipse: whats new in 3.1 (excerpt covering web tools) Erich Gamma IBM Research – OTI Labs Eclipse Project Management.
Callisto Simultaneous Release | © 2006 by Tim Wagner, made available under the EPL v1.0 1 Web Tools 1.5 in the Callisto Simultaneous Release May 26, 2006.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Web Application Development with WTP EclipseWorld 2005 Tim Wagner, WTP PMC.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Eclipse Arthur Ryman SOA,
Evgeniy Krivosheev Andrey Stukalenko Vyacheslav Yakovenko Last update: Nov, 2013 Spring Framework Module 1 - Introduction.
Eclipse Web Tools Platform Project © 2005 IBM Corporation Developing Web Services with Eclipse Arthur Ryman, IBM EclipseWorld, New York
© 2006 Cisco Systems, Inc. All rights reserved.ISCW v Cisco IOS Threat Defense Features Configuring Cisco IOS IPS.
Arthur Ryman IBM Rational Developing Web Services with Eclipse.
© 2006 by IBM; made available under the EPL v1.0 | March 20, 2006 | Jeffrey Liu Release Lead IBM Rational Managing APIs with Eclipse API Scanner.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Managing Your Network Environment Managing Cisco Devices.
© 2002, Cisco Systems, Inc. All rights reserved. AWLF 3.0Module 7-1 © 2002, Cisco Systems, Inc. All rights reserved.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary © Wind River Systems, released under EPL 1.0. All logos are TM of their respective.
© 2009 Avaya Inc. All rights reserved.1 Chapter Three, Voic Pro Advanced Functions Module Four – Voic Campaigns.
Транксрипт:

© 2002 IBM Corporation Confidential | Date | Other Information, if necessary Web Application Development with WTP EclipseWorld 2005 Tim Wagner, WTP PMC lead BEA Systems Paul Meijer, program manager BEA Systems Ted Bashor, development lead BEA Systems *Other brands and names are the property of their respective owners

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 2 Talk Division Part I WTP project overview Basic WTP features Upcoming release summary (tool focus) Part II Advanced topics Upcoming release summary (API focus)

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 3 Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 4 Deliver vendor-neutral tools and frameworks for Web applications on the Eclipse platform. Open Standards + Open Source Eclipse WebTools Project

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 5 Major WTP Themes (0.7 Release) Extend Eclipse into the domain of J2EE Web Application Development Define servers, runtimes, and modules Provide platform API and suitable models for tool developers Provide core tools for application developers High quality tools in their own right, plus exemplars for tool developers Collection of high-fidelity editing services for Web and J2EE-related languages

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 6 IETF W3C OASIS WS-I ECMA ANSI De Jure Standards De Facto Standards Web Technologies Java Technologies WST HTML, XML, XSLT, CSS, JS, WSDL, SOAP, UDDI JST Servlet, JSP, EJB, JAX-RPC, JDBC, JAXP, JSF, J2EE PHPStruts Hibernate Spring JDOSQL JCP Apache ObjectWeb SourceForge WTP Project Scopes

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 7 WTP Architecture Platform Frameworks EMFGEFJEM WTP JDT JST WST Apache Xerces Axis Common J2EE Core Advanced Server Runtime JSP Advanced Web resources Web Services Projects/ResourcesDebugging Basis XML RDB SQL Web Projects Server Runtime EJBJava WS Projects Modules Servlets Annotations CommonNavigatorViewsValidationCommand Internet

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 8 Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 9 XML Editing: Setting up an XML Project

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Viewing the Sample XML

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Design View

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Error Checking As-you-type checking Well-formedness checks and schema validation (when available)

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Error Checking Validation available on demand Results displayed in Problems view

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Content Assist Schema-based DTD-based Inferred

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Simple XML File Creation

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Inferred Schema Validation

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Preference Page

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Editing

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Property View (tabbed)

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Graphical View

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Graphical View: Editing

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Outline View Shows schema structure Enables directed editing, simplifying insertion of new types

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Validation Schema content is validated on save Well-formedness, schema-for-schema validation, semantic checks

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Content Assist Schema-informed content assist is available while editing F3 can also be used to locate the target of a type reference

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Preferences

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Storage

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Visibility Model XML files validate against Schemas in the same project Schemas in the XML Catalog Schemas can reference other types in The same project The XML Catalog When a schema is changed, use the XML or XSD menu to manually reload dependencies for affected files.

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services Wizard-based Generation WSDL Editing Web Services Explorer EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Start-from-WSDL Example Begin with WSDL Create skeleton Add code Deploy to server Create client stub Deploy test client

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a New Web Project

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Viewing and Editing WSDL WSDL from the WTP Web Services tutorial: rces/TopDownWebService/AreaService.wsdl rces/TopDownWebService/AreaService.wsdl

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Generating a Skeleton

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Adding the Implementation Code

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating the Web Service Client Select the generated WSDL (not the original) Use the client creation wizard to generate the stubs and launch the test client

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating the Web Service Client

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Testing the Web Service

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Testing with the Web Services Explorer

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Validating the WSDL WTP includes WS-I basic profile validation To validate, select Validate the WSDL file from the Project Navigators context menu

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v EJBs WTP 0.7 release offers XDoclet-based development of session beans and message-driven beans. WTP1.0 will add entity bean development Before you start: Make sure that Eclipse has an JRE available

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Configure Server Runtime Add a Server Runtime that supports EJBs. Detailed instructions on installing a JRE and Server Runtime can be found in Web Application Development with WTP, Part I.

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Configure XDoclet XDoclet is available from

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a new EJB Project

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a Session Bean

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Bean Package and Class Name

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Adding Implementation code Edit the XDoclet-annotated Bean AreaCalculatorBean class The XDoclet builder generates the appropriate interfaces and beans Change remote to local for all methods

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs EAR Project Assembly Deployment Descriptors Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating an EAR project

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v EAR Deployment Descriptor The modules from the Web and EJB projects are automatically added The EAR projects Properties dialog can be used to add additional modules

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Calling an EJB from a Web Module Set Java JAR Dependencies in the Web Service projects Properties dialog Automatically updates Java compiler settings

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Calling an EJB from a Web Module Export the EJBs Server Runtime classpath container so that javax.ejb.* classes are visible in the web project.

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Calling an EJB from a Web Module Edit the Web Service implementation to call the local session bean

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Publishing the EAR Create a New Server, add EAR project to the server, Start the server

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Testing with Web Service Explorer Add an Endpoint corresponding to the new server port number

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Builders Special project and XML file validators run during build In 0.7, Builders assemble J2EE modules in projects.deployables directory. In 1.0, assembly will be done by server publish process

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Agenda WTP Overview XML Editing Schema Editing Web Services EJBs EARs Builders Server Runtime Generic Server Runtimes Defining Your Own Server Runtime

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Generic Servers XML file-based server type definition Specifies runtime class libraries, server start and stop information, supported J2EE module types, and deployment ant scripts JBoss, JOnAS, and WebLogic generic server definitions bundled with WTP 0.7 are located in the org.eclipse.jst.server.generic.serverdefinitions plugin. The Websphere generic server definition is located in org.eclipse.jst.server.websphere.core

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Customizing a Generic Server Non-hackers look away! ${ECLIPSE_HOME} \plugins\org.eclipse.jst.server.generic.serverdefinitions_0.7.0\servers\weblogic90. serverdef This is the WebLogic 9.0 generic server defintion file Jars could be added to the default WebLogic project classpath container by editing the element ${ECLIPSE_HOME} \plugins\org.eclipse.jst.server.generic.serverdefinitions_0.7.0\buildfiles\weblogic.xml This is the ant script which deploys EARs, WARs, and EJB jars to WebLogic Server The publish process could be extended by calling custom ant script from these targets Or add a new server definition by creating an Eclipse plugin with your own.serverdef and publisher ant script

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Release Timeline JUNJULAUGSEPOCTNOVDECJANFEBMARAPRJUN WTP WTP 1.0 WTP

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Release (December) Complete flexible project model and enhancements to server functionality modeling Capture platform point release (3.1.1) Extend documentation coverage Hardening: bug fixes, performance

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Release (Summer 06) Support J2SE 1.5 (especially annotations) Leverage new apt component in JDT Support J2EE 1.5 JSR 181, e.g. Rev other standards/supported versions Soap 1.2, WSDL 2.0 New WS-I profiles WS Security Axis 2.0 Additional server types in distribution Architectural harmonization with other projects New features: JSR 88, WS-*, …

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Getting and Using WTP Submit bug reports or enhancement requests Ask questions in the WTP Newsgroup: news://news.eclipse.org/eclipse.webtools Develop and contribute: Download 0.7 now at

Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Q&A