0
点赞
收藏
分享

微信扫一扫

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services

you的日常 2022-04-01 阅读 66

2013-05-01 Created By BaoXinjian

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_ADF一、摘要

本教程通过一个简单的场景的构建富internet应用程序提供了一个用户界面来访问数据库表。

创建一个完整的应用程序包括业务服务、用户接口和页面流。

案例描述:创建一个实验指南来查询Department和Employee,创建多个JSF页面来让你查询和更新数据在数据库中

案例目的如下:

Part 1: Creating a Fusion Web Application and Building the Business Services

Step 1: Create a Fusion Web Application

Step 2: Build the Business Services

Part 2: Developing the User Interface

Step 2: Bind Data Controls to the Page

Step 4: Enhance the JSF Page

Step 5: Add More Complexity to the Business Services

Part 3: Enhancing the User Interface

Step 1: Create a Page Flow

Step 2: Use Partial Page Refresh

Step 3: Use the ADF AutoSuggest Behavior

Step 4: Use Drop Down Menus and Operation Components

Step 5: Add CRUD Operation Components to your Page

Step 6: Create a Query-only Business Service Based on Parameters

Step 7: Create a Reusable Page Fragment

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_02二、案例实现 - Create a New Fusion Application and Building the Business Services 

1. 创建新的应用, 类型为Fusion Web Application

 ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_03

 2.1.  定义Application Name

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_04

2.2 定义Model Project

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_oracle_05

2.3 定义Model Project的Java配置

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_oracle_06

 2.4 定义View Controller Project

 ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_oracle_07

 2.5 定义View Controller Project的Java配置

 ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_08


ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_数据库连接_09三、案例实现 - Build the Business Services

1. 创建业务服务

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_ADF_10 

 2.1 定义EO

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_11

 2.2 定义Updatable VO

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_数据库连接_12

 2.3 定义只读VO

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_java_13

 2.4 定义AM

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_数据库连接_14

 2.5 查看所创建的Business Services

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_数据库连接_15


Step3. 定义数据库连接

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_数据库连接_16 


Step4. 更新业务服务状态和数据库连接为done

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_oracle_17


Step5.右击AM,并运行测试该AM

ADF_Starting系列2_使用ADF开发富Web应用程序之建立Business Services_oracle_18


Thanks and Regards

参考:Oracle - Oracle JDeveloper 11g Release 2 Tutorials


举报

相关推荐

0 条评论