BuildCompApps catchUpInstructions

23 6 0
  • Loading ...
1/23 trang

Thông tin tài liệu

Ngày đăng: 25/11/2016, 21:11

Solution Guide for D53946GC30 Build Composite Applications [Type text] Summary: Setting the Start or End State for a Practice .3 Undeploying a Composite Application Undeploying an Application (Practice 09) .6 Installing a Solution File Practice 01 Practice 02 Practice 03 10 Practice 04 11 Practice 05 12 Practice 06 13 Practice 07 14 Practice 08 15 Practice 09 16 Practice 10 17 Practice 11 18 Practice 12 19 Practice 13 20 Practice 14 21 Practice 15 22 Quick Reference: Setting the Start or End State for a Practice Each practice follows the general steps on this summary page To set the start or end state for a given practice, it is recommended that you follow the specific instructions for that practice later in this document If the desired practice has already been deployed, undeploy the application(s) If the desired practice has already been created, stop JDeveloper, and rename or delete the directory containing that application/project To set to the end state for a given practice: a Complete steps 1-2 above b Be sure practice has been completed (manually) c Unzip and deploy the solution for the desired practice to the appropriate directory This practice Overview HelloWorld Managing Applications Working With Data Adapters Hello BPEL More BPEL Fault Handling Human Task 10 Business Rules 11 Testing …deploys these projects: To set the start state, complete Practice and… Install the solution file for this practice(s) Open and deploy these applications practice 05 CCValidate none none Basics\HelloWorld Basics\NativeData Basics\CCValidate Basics\JMSProducer Basics\JMSConsumer [optional] Basics\HelloBPEL Files\ADFBCApplication\InternalStoreSDO MyProjects\InventoryMgmt MyProjects\Enroll MyProjects\Booking MyProjects\Approval MyProjects\ApprovalTaskForm practice 09 practice 05 12 Security MyProjects\OrderProcessing Basics\CCValidate (redeploy) MyProjects\Enroll (redeploy) MyProjects\Booking (redeploy) 13 Event MyProjects\UpdateStock MyProjects\RetrieveOrder practice 09 practice 10 14 BAM 15 SOA and MyProjects\OrderProcessing (redeploy) MyProjects\CallApproval practice 08 practice 09 practice 10 Approval ApprovalTaskForm CCValidate Enroll Booking Approval ApprovalTaskForm OrderProcessing Approval ApprovalTaskForm OrderProcessing This practice …deploys these projects: To set the start state, complete Practice and… Install the solution file for this practice(s) BPM Open and deploy these applications BPMApplication\ApprovalProject (BPM) BPMApplication\OrderApproval_UI Undeploying a Composite Application Overview If you wish to deploy a solution file for an application that has already been deployed, remove the deployed version from the runtime environment first Undeploy the Composite Application a Open the Oracle Enterprise Manager page (http://localhost:7001/em) b On the Farm navigation pane, expand the SOA > soa-infra > default nodes in the tree c Right-click the name of the application you wish to undeploy d Select SOA Deployment > Undeploy The Confirmation screen is displayed e Click Undeploy f The Progress screen is displayed When undeployment is complete, you are returned to the soa-infra page of the Enterprise Manager g Verify that the application is no longer displayed under the default node of the soa-infra branch of the Farm navigation pane Undeploying an Application (Practices 09 and 15 use this.) For Practices and 15 ONLY, undeploy the application MyProjects a On the Farm navigation pane, expand the Application Deployments branch of the tree b Right-click application MyProjects and select Application Deployment > Undeploy The Confirmation screen is displayed c Click Undeploy d The Progress screen is displayed When undeployment is complete, you are returned to the soa-infra page of the Enterprise Manager e Verify that the application is no longer displayed under the Application Deployments branch of the Farm navigation pan Installing a Solution File Overview To deploy a solution file, complete the instructions below Assumptions These instructions assume you have removed any deployed version of the solution application from the runtime environment Tasks Close JDeveloper If work on a given lab is partially complete, rename the directory for that lab under D:\labs\mywork For instance, If the project has been partially completed, before installing the solution file, rename directory D:\labs\mywork\Basics\CCValidate (for example, CCValidate.old) Open the zip file containing the solution for the practice and unzip it to the appropriate application directory (Basics or MyProjects) Restart JDeveloper Deploy the application(s) Important Note: Refer to the specific deployment instructions in the Activity Guide for the solution you are deploying Several of the lessons deploy multiple applications Recall also that Practices and 15 involve a different set of steps for deployment than other practices Practice 01 • This practice must be completed manually • It is a prerequisite for all other labs Practice 02 Set the start state: If it is not already done, complete Practice 01 If project HelloWorld already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\Basics\HelloWorld directory to HelloWorld.old o Restart JDeveloper If you not wish to save your work: o Delete project HelloWorld from JDeveloper Set the end state: • No separate solution is provided for this practice • Complete the Set the end state instructions for Practice 03 (steps 2-4) to achieve a nearly equivalent state Practice 03 Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application Basics If project HelloWorld already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\Basics\HelloWorld directory to HelloWorld.old o Restart JDeveloper If you not wish to save your work: o Delete project HelloWorld from JDeveloper Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 03_HelloWorld.zip to d:\labs\mywork\Basics Restart JDeveloper Deploy project HelloWorld as described in Practice 3-2 step 6 If you wish, test the deployed application as described in Practice 3-2 steps 7-13 If you wish, complete Practice 3-3 and 3-4 manually 10 Practice 04 Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application Basics If project NativeData already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\Basics\NativeData directory to NativeData.old o Restart JDeveloper If you not wish to save your work: o Delete project NativeData from JDeveloper Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 04_NativeData.zip to d:\labs\mywork\Basics Restart JDeveloper Deploy Project NativeData as described in Practice 4-5 steps 1-2 If you wish, test as described in Practice 4-5, steps 3-5 11 Practice 05 This practice includes two separate projects They can be restored independently of one another Some later projects depend on project CCValidate There are no dependencies on project JMSProducer Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application Basics If project CCValidate already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\Basics\CCValidate directory to CCValidate.old o Restart JDeveloper If you not wish to save your work: o Delete project CCValidate from JDeveloper Repeat step for Project JMSProducer Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 05_CCValidate.zip to d:\labs\mywork\Basics Restart JDeveloper Deploy Project CCValidate as described in Practice 5-3 steps 1-3 If you wish, test as described in Practice 5-3, steps 4-5 Deploy project JMSProducer as described in Practice 5-5 steps 1-3 If you wish, test as described in Practice 5-5, step 12 Practice 06 This practice assumes practice 05 has been built and deployed successfully Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application Basics If it is not already built and successfully deployed, complete the Set the end state instructions for Practice 05 If project HelloBPEL already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\Basics\HelloBPEL directory to HelloBPEL.old o Restart JDeveloper If you not wish to save your work: o Delete project HelloBPEL from JDeveloper Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 06_HelloBPEL.zip to d:\labs\mywork\Basics Restart JDeveloper Deploy as described in Practice 6-2 step If you wish, test as described in Practice 6-2, steps 2-3 13 Practice 07 Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application MyProjects If project InventoryMgmt already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\MyProjects\InventoryMgmt directory to InventoryMgmt.old o Restart JDeveloper If you not wish to save your work: o Delete project InventoryMgmt from JDeveloper Set the end state: Complete the Set the start state instructions for this practice Complete Practice 7-1 manually if it has not already been done (Deploy application ADBFCApplication.) Stop JDeveloper Unzip the solution file 07_InventoryMgmt.zip to d:\labs\mywork\MyProjects Restart JDeveloper Deploy as described in Practice 7-3 step If you wish, test as described in Practice 7-5, steps 2-4 14 Practice 08 Set the start state: If it is not already done, complete Practice 01 If it does not exist, use JDeveloper to create application MyProjects If project Enroll already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\MyProjects\Enroll directory to Enroll.old o Restart JDeveloper If you not wish to save your work: o Delete project Enroll from JDeveloper Repeat step for project BookingSystem Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 08_Enroll.zip to d:\labs\mywork\MyProjects Restart JDeveloper Complete Practice 8-1 manually (Open and deploy project BookingSystem.) Deploy project Enroll as described in Practice 8-4 step If you wish, test as described in Practice 8-4, steps 2-3 15 Practice 09 Because this Practice deploys an application with the project, the restore instructions and solution files are different than other practices Set the start state: If it is not already done, complete Practice 01 If project Approval already exists: • If the project is already deployed: A Undeploy project Approval B Undeploy application MyProjects • • If you wish to save your work o Stop JDeveloper o Rename d:\labs\mywork\MyProjects directory to MyProjects.old o Restart JDeveloper If you not wish to save your work: o Delete application MyProjects from JDeveloper If it does not exist, use JDeveloper to create application MyProjects Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 09_MyProjects.zip to d:\labs\mywork Restart JDeveloper Deploy project Approval as described in Practice 9-4 step If you wish, test as described in Practice 9-4, steps 4-16 16 Practice 10 This practice assumes that you have completed Practice successfully, and have deployed the Approvals and ApprovalTaskForm applications Set the start state: If it is not already done, complete Practice 01 If it is not already done, complete the Set the end state instructions for Practice If project OrderProcessing already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\MyProjects\OrderProcessing directory to OrderProcessing.old o Restart JDeveloper If you not wish to save your work: o Delete project OrderProcessing from JDeveloper Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 10_OrderProcessing.zip to d:\labs\mywork\MyProjects Restart JDeveloper Deploy project OrderProcessing as described in Practice 10-3 step If you wish, test as described in Practice 10-3, steps 2-7 17 Practice 11 This practice assumes that you successfully created and deployed the project CCValidate in Practice 05 Set the start state: Complete the Set the start state instructions (steps 1-3) for Practice Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 11_CCValidate.zip to d:\labs\mywork\Basics Restart JDeveloper Deploy project CCValidate as described in Practice 11-3 steps 1-2 If you wish, test as described in Practice 11-3, steps 3-9 18 Practice 12 This practice assumes that you have completed Practice successfully and that projects Enroll and BookingSystem are deployed Note: There is no advantage to installing this solution unless you intend to deploy and observe the results as described below in Set the end state steps and Set the start state: If it is not already done, complete Practice 01 If it is not already done, complete the Set the end state instructions for Practice Set the end state: Complete the Set the start state instructions for this practice Complete this practice manually Test as described in Practice 12-2, steps 10-20 19 Practice 13 This practice assumes that you have successfully completed and deployed the OrderProcessing (Practice 10) and Approval (Practice 9) applications, which were for the business rules and human task lessons, respectively Set the start state: If it is not already done, complete Practice 01 If it is not already done, complete the Set the end state instructions for Practice If it is not already done, complete the Set the end state instructions for Practice 10 If project UpdateStock already exists: • If the project is already deployed, undeploy it • If you wish to save your work • o Stop JDeveloper o Rename d:\labs\mywork\MyProjects\UpdateStock directory to UpdateStock.old o Restart JDeveloper If you not wish to save your work: o Delete project UpdateStock from JDeveloper Repeat step for project RetrieveOrder Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 13_UpdateStock.zip to d:\labs\mywork\MyProjects Restart JDeveloper Deploy project UpdateStock as described in Practice 13-1 step 14 Deploy project RetrieveOrder as described in Practice 13-2 step 25 If you wish, test as described in Practice 13-3, steps 1-5 20 Practice 14 This practice assumes that you have successfully completed and deployed the OrderProcessing (Practice 10) and Approval (Practice 9) applications, which were for the business rules and human task lessons, respectively Set the start state: Complete the Set the start state instructions for Practice 10 Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 14_OrderProcessing.zip to d:\labs\mywork\MyProjects Restart JDeveloper If they have not already been done, complete Practice 14-1 and 14-2 manually If you did NOT need to complete step above, start the BAM server as described in Practice 14-2 step Deploy and test project OrderProcessing as described in Practice 14-4 21 Practice 15 Because this Practice deploys an application with the project, the restore instructions and solution files are different than most other practices Set the start state: If it is not already done, complete Practice 01 If project ApprovalProject already exists: • If the project is already deployed: A Undeploy project ApprovalProject B Undeploy application BPMApplication • • If you wish to save your work o Stop JDeveloper o Rename d:\labs\mywork\BPMApplication directory to BPMApplication.old o Restart JDeveloper If you not wish to save your work: o Delete application BPMApplication from JDeveloper If project CallApproval already exists: • If the project is already deployed: o • Undeploy project CallApproval If you wish to save your work o Stop JDeveloper o Rename d:\labs\mywork\MyProjects\CallApproval directory to CallApproval.old o Restart JDeveloper A If you not wish to save your work: a Delete application CallApproval from JDeveloper If it does not exist, use JDeveloper to create application MyProjects Set the end state: Complete the Set the start state instructions for this practice Stop JDeveloper Unzip the solution file 15_MyWork.zip to d:\labs Restart JDeveloper Deploy project ApprovalProject as described in Practice 15-2 step If you wish, test as described in Practice 15-2 steps 2-3 22 Deploy project CallApproval as described in Practice 15-4 step If you wish, test as described in Practice 15-4 steps 2-5 23
- Xem thêm -

Xem thêm: BuildCompApps catchUpInstructions, BuildCompApps catchUpInstructions

Gợi ý tài liệu liên quan cho bạn

Nạp tiền Tải lên
Đăng ký
Đăng nhập