Скачать презентацию
Идет загрузка презентации. Пожалуйста, подождите
Презентация была опубликована 10 лет назад пользователемСергей Мишулин
1 © 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
2 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)
3 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
4 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
5 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
6 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
7 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
8 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
9 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v1.0 9 XML Editing: Setting up an XML Project
10 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Viewing the Sample XML
11 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Design View
12 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)
13 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
14 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Content Assist Schema-based DTD-based Inferred
15 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Simple XML File Creation
16 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Inferred Schema Validation
17 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v XML Preference Page
18 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
19 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Editing
20 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Property View (tabbed)
21 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Graphical View
22 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Graphical View: Editing
23 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
24 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
25 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
26 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Preferences
27 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Schema Storage
28 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.
29 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
30 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
31 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a New Web Project
32 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
33 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Generating a Skeleton
34 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Adding the Implementation Code
35 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
36 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating the Web Service Client
37 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Testing the Web Service
38 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Testing with the Web Services Explorer
39 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
40 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
41 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
42 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.
43 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Configure XDoclet XDoclet is available from
44 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a new EJB Project
45 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating a Session Bean
46 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Bean Package and Class Name
47 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
48 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
49 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Creating an EAR project
50 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
51 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
52 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.
53 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
54 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
55 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
56 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
57 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
58 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
59 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
60 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
61 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Release Timeline JUNJULAUGSEPOCTNOVDECJANFEBMARAPRJUN WTP WTP 1.0 WTP
62 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
63 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-*, …
64 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
65 Eclipse Foundation, Inc. | Copyright © 2005 BEA and made available under the EPL v Q&A
Еще похожие презентации в нашем архиве:
© 2024 MyShared Inc.
All rights reserved.