70 likes | 186 Views
This document outlines the pre-implementation design discussions and critical implementation notes for adding the BPEL feature normal process, specifically utilizing the ForEach construct as an example. It includes a test matrix to identify unclear specifications and potential issues. The implementation section discusses necessary changes to the existing BPEL schema, the addition of missing complex types, and specific Java files related to the BPEL model. Guidance is provided for selecting significant test cases and setting up test properties for effective simulation.
E N D
Adding BPEL feature normal process (ForEach as an example)
Pre-implementation • Design discussion Input: test matrix, design discussion slides design discussion slides: • Issues unclear in spec • Any critical implementation note
Implementation • BPEL schema • Might need to add missing complex types in existing bpel schema : C:\Alaska\root\sharedlibrary\bpelmodel\src\com\sun\bpel\model\visitor\wsbpel_main.xsd
Implementation -- cont • Add static BPEL model support root/sharedlibrary/bpelmodel/src/com/sun/bpel/model/visitor AbstractVisitor.java,1.5 CloneVisitor.java,1.4 DefaultXmlParserFactory.java,1.10 SAXParseVisitor.java,1.5 wsbpel_main.xsd,1.5 root/sharedlibrary/bpelmodel/src/com/sun/bpel/model BPELDocument.java,1.6 root/sharedlibrary/bpelmodel/src/com/sun/bpel/model/impl BPELDocumentImpl.java,1.6 ForEachImpl.java,1.2
Implement -- cont • Add Runtime model support root/jbi/bpelse/core/src/com/sun/jbi/engine/bpel/core/bpel/model/runtime ActivityUnitFactory.java,1.23 root/jbi/bpelse/core/src/com/sun/jbi/engine/bpel/core/bpel/model/runtime/impl/messages Bundle.properties,1.3 root/jbi/bpelse/core/src/com/sun/jbi/engine/bpel/core/bpel/model/parser/impl RBPELDocumentImpl.java,1.16 RXmlParserFactoryImpl.java,1.16 root/jbi/bpelse/core/src/com/sun/jbi/engine/bpel/core/bpel/model/meta/impl RForEachImpl.java,1.9
Implementation -- cont • Add ActivityUnit and any other necessary changes root/jbi/bpelse/core/src/com/sun/jbi/engine/bpel/core/bpel/model/runtime/impl ForEachUnitSerialImpl.java,1.2 ScopeUnitImpl.java,1.18
Test Cases • Pick significant test cases from test matrix • Add bpel, wsdl into testnb5/bpel project or create a new project • Create test properties/input/output using project system or manually • EM simulator is better when you want to send soap messages not constrained by test cases.