TAILIEUCHUNG - WebSphere Studio Application Developer Version 5 Programming Guide part 39

WebSphere Studio Application Developer part 39 provides integrated development tools for all e-business development roles, including Web developers, Java developers, business analysts, architects, and enterprise programmers. The customizable, targeted, role-based approach of WebSphere Studio Application Developer will be characteristic of all new products built on the WebSphere Studio Workbench. It is well integrated with WebSphere Application Server and provides built-in server test environments that can be used for testing and profiling Web applications | Generating an XML schema To create the XML schema file for a table simply follow these steps Open the Data perspective. While connected to the EJBBANK sample database select the Con2 connection and Reconnect from the context menu open the context menu of the table in the DB Servers view and select Generate XML Schema. Select the folder Web Content WEB-INF xml of the ItsoProGuideXmlWeb project leave the suggested name in the File name field and click Finish to create the XML schema file. The source editor opens the newly created schema file Example 11-1 . Example 11-1 XML schema file xml version encoding UTF-8 schema xmlns http 2001 XMLSchema targetNamespace http EJBBANK ITSO xmlns EJBBANKITSO http EJBBANK ITSO element name ACCOUNT_TABLE complexType sequence element ref EJBBANKITSO ACCOUNT minOccurs 0 maxOccurs unbounded sequence complexType key name ACCOUNT_PRIMARYKEY selector xpath EJBBANKITSO ACCOUNT field xpath ACCID key element element name ACCOUNT complexType sequence element name ACCID simpleType restriction base string length value 8 restriction simpleType element element name BALANCE type decimal element name INTEREST type integer element name ACCTYPE simpleType restriction base string length value 8 354 WebSphere Studio Application Developer Version 5 Programming Guide restriction simpleType element element name DISCRIMINATOR simpleType restriction base string length value 1 restriction simpleType element element name OVERDRAFT type decimal element name MINAMOUNT type decimal sequence complexType element schema Close the Data perspective and switch back to the XML perspective as we continue with the sample using the XML features. XML schema editor Application Developer allows you to view and edit XML and XML related files in different views. For an XML schema you can use the Outline view and the XML schema editor with three tabs Design Source Graph The Graph view is .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.