楼主: Puber

[精华] 同学笔记:OracleAS 10g(9.0.4) Concepts

 关闭 [复制链接]
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
21#
 楼主| 发表于 2005-4-28 11:43 | 只看该作者
[B]Oracle AS PL/SQL Platform[/B]
PL/SQL (stored procedures) 从数据库中retrieve数据,将数据用HTML格式传给客户端在Web Browser中显示.这个功能不知有谁用?
(偶就有些想不明白了,在OLTP系统中,将HTML的处理加入到database中,是不是嫌数据库还不够慢呀.当然,Oracle的想法肯定是所有的东东都在Oracle数据库完成.)

■ Oracle AS PL/SQL Tools
1.mod_plsql是内嵌在Apache中的,支持基于PL/SQL的Web应用. 它将HTTP请求映射给stored procedures,在sp中可以查询数据库中的数据,并可将这些数据与HTML TAG一起输出给Web Browser来显示.
2.Oracle PL/SQL Server Pages(PSPs).为了更好地动态输出HTML,Oracle提供了HTP/HTF两个专用的packages.因为已全在Oracle Database内部完成了HTML,因此,可以节省网络传输量(相对于DHTML).
  可以集中地管理所有代码.而客户端只需Web Browser,而服务器端则需要Oracle Database.


■ Oracle AS PL/SQL Architecture(处理流程)
Oracle AS PL/SQL通过mod_plsql模块来传送Web内容.
1. 客户在浏览器中launch了一个URL或者submitting一个HTML form,这些事件导致了对stored procedure的调用.
2. stored procedure的参数来自于HTML form中用户已作的选项或者在程序中hardcode.
3. stored procedure执行时动态地将数据集内嵌于HTML文本内,并将最终生成的HTML文本传送给客户端Web Browser.
   请注意这种PL/SQL动态页面与DHTML的区别.DHTML中的动态是指由Browser来动态生成HTML,而PL/SQL的动态HTML指的是所有HTML文本(也可含有scripts),都可以在stored procedure中以字符流方式动态输出.也可输出DHMTL文本给Browser处理.

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
22#
 楼主| 发表于 2005-4-28 13:25 | 只看该作者
[B]Oracle Content Management Software Developer Kit[/B]
Oracle AS中也包含了Content Management Software Development Kit(CM SDK). CM SDK is a robust document lifecycle system that is built in Java and integrated with other Oracle content management.

Oracle Content Management SDK Architecture(内容太少了不想多看)

图Figure 2–12 Oracle Content Management SDK Architecture

figure 2-c.jpg (23.97 KB, 下载次数: 273)

figure 2-c.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
23#
 楼主| 发表于 2005-4-28 14:27 | 只看该作者
[B]Oracle Application Server MapViewer[/B]
可以与Oracle Spatial和Oracle Locator一起使用,将spatial data的复杂性隐藏起来.

■ Oracle AS MapViewer的几个概念(偶也不太明白这些的具体定义,不过之前用过这种功能了):
1. Style 应该是Map上各种元素(如:文本,线条等)的显示风格.A style defines the rendering properties for features that are associated with styles. For example, a text style determines how a feature is labeled on a map,while a line style determines the rendition of a linear feature such as a road.
2. Theme: A theme is a collection of features (entities with spatial and nonspatial attributes) that are associated with styles through the use of styling rules.
3. Base map: A base map consists of one or more themes.
4. Mapping metadata: Mapping metadata consists of a repository of styles, themes,and base maps stored in a database.
5. Map: A map is one of the components that MapViewer creates in response to a map request. The map can be an image file, the object representation of an image file, or a URL referring to an image file.


■ Oracle Application Server MapViewer Architecture
对于map请求,将按以下步骤处理:
1. 客户端将map name,data source,center location,map size和其它需要放在map上的数据传给server,请求生成map.
2. 服务器返回map image(或者是对应于image的URL),map的mininum bounding retangle(MBR),和请求的状态.
对于MapViewer的管理请求,将按以下步骤处理:
1. 客户端以特定格式的请求和其它相应的参数,告诉Server它想做MapViewer administrative action.
2. Server将request的status和内容返回给客户端.

■ Oracle Application Server MapViewer Features
1. MapViewer是Oracle AS中间层的一部分.
2. MapViewer含有一个rendering engine(基于Java class library).
3. MapViewer能以HTTP protocol与Web Browser或其它使用HTTP protocol的应用通信.
4. MapViewer通过JDBC联接数据库. Performing spatial data access(reading and writing Oracle Spatial and Locator data).
5. MapViewer有个XML API,因此可对其编程.

具体可看图: Figure 2–13 MapViewer Architecture

figure 2-d.jpg (31.33 KB, 下载次数: 267)

figure 2-d.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
24#
 楼主| 发表于 2005-4-28 15:53 | 只看该作者
[B]Chapter3 Portal Applications[/B][/COLOR]

对这部分的不太感兴趣,不过既然说是系统地学.还是大概地看一下.
(从此处可以看出,Oracle的产品线真的是...)

[B]Introduction to Oracle Application Server Portal[/B]
Portals允许客户端使用Web Browser通过统一入口访问多处的信息(no matter where they are.).
它还支持个性化的订制.这样不同的部门或者客户就可focus在自已感兴趣的内容上.并且还提供了安全访问,用户自我服务,管理提升等诸多好处.
(http://my.oracle.com是用Oracle AS Portal技术实现的.)


[B]Oracel Application Server Portal Architecure[/B]
当客户端请求Portal page时,多个Oracle AS组件会部分参与响应具体步骤如下:
1. 客户端请求portal page,Oracle AS Web Cache接收到请求.
2. Oracle AS Web Cache通过mod_oc4j module将请求向前传给Oracle AS Portal Parallel Page Engine([B]PPE[/B]).
3. PPE查询出portal page的definition.在definition中含有page的portlets和它们的layout.
-3.1 先检查OracleAS Web Cache是否cache有definition的copy.
-3.2 再检查portal cache中是否有valid,cached copy.
-3.3 最后,如果末有找到definition的valid,cached copy,则PPE会从portal repository中取出并生成page definition.(portal repository可以放在OracleAS Metadata Repository或客户资料数据库中).
4. PPE解析page definition. 如果有cached page存在,则可通过OracleAS Web Cache将这个page直接发送给client. 如果没有cached copy of the page,则PPE会根据cached和non-cached数据生成the page.
5. 对于page中的每个portlet,PPE都会先检查在portal cache中是否有该portlet相关的内容.如果没有,则PPE会通过OracleAS Web Cache来向其它provider发出请求.
6. 每个provider都会确认cached portlet或生成portlet的内容.Web providers用HTTP或HTTPS协议将这些portlets直接返回给PPE. Database provider使用HTTP,HTTPS或SOAP协议通过Oracle HTTP Server,mod_plsql和Orale AS Web Cache将数据集传给PPE.
7. PPE将所有内容合并到一个page中,再将这个page传给OracleAS Web Cache.
8. OracleAS Web Cache将最终的page传给客户端browser.

[B]Oracel Application Server Portal Features[/B]
■ An extensible framework
■ An easy-to-user,personalized interface
■ Self-service publishing
■ A scalable deployment architecture
■ Integration with OracleAS Web Cache

图Figure 3–2 OracleAS Portal Request Flow显示了flow.

figure 2-e.jpg (36.3 KB, 下载次数: 267)

figure 2-e.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
25#
 楼主| 发表于 2005-4-28 17:40 | 只看该作者
[B]Chapter4 Wirless Applications[/B][/COLOR]
这一段不多看.知道个大概就行了,因为至少在一年后才可能用这些.
贴图:

figure 2-f.jpg (22.37 KB, 下载次数: 267)

figure 2-f.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
26#
 楼主| 发表于 2005-4-28 17:41 | 只看该作者
[B]OracleAS Wireless Architecture[/B]
建立OracleAS Wireless环境需要以下条件:
■ An application to provide content(某应用来提供内容)
■ An application server(OracleAS)
■ A Web site(URL)
■ A network provider(ISP or ASP)
■ Provisioning and security
■ A wireless server
■ A gateway(WAP,SMS)
■ A wireless network provider
■ Wireless devices
■ Wireless subscribes

而客户端的Wireless请求则按以下步骤来处理:
1. The wireless device (client) connects to the Gateway Provider.
2. The provider provides subscriber,device identification,and user preferences to the Device/Network Adapter.
3. The Device/Network Adapter invokes the XML Application Framework and HTTP Adapter.
4. The HTTP Adapter forwards the requests to the application.
5. The HTTP Adapter retrieves the XML result from the application.
6. The result is forwarded to the client.

figure 2-g.jpg (20.61 KB, 下载次数: 266)

figure 2-g.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
27#
 楼主| 发表于 2005-4-28 17:43 | 只看该作者
[B]OracleAS Wireless Transformers[/B]
The Device/Network Adapter会根据各种不同的无线设备自动转换和优化应用内容.它支持以下移动技术:
■ 2-way pagers for asynchronous services(SMTP/SMS)
■ WAP devices
■ Voice for access through regular phone lines
■ PDA devices

OracleAS Wireless提供了三种transformers:
■ Generic service transformers:
比如WML语言.可以将Mobile XML转换为WML格式(WML可运行于任何兼容的Wireless phone上面).

■ Device-specific transformers:
这些针对特定设备优化过的transformers.例如:你可使用特定的transformer来对某种移动电话作转换支持,而不是使用常用的WML transformers.The Wireless initial repository includes transformers for serveral target formats,包括: CHTML,HDML,MML,VoiceXML,VoxML.

■ Custom transformers:
客户自已也可使用自已的创见transformers.

figure 2-h.jpg (36.79 KB, 下载次数: 263)

figure 2-h.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
28#
 楼主| 发表于 2005-4-28 17:44 | 只看该作者
[B]OracleAS Wireless Features[/B]
■ Multi-Channel Server
The Multi-channel Server detects devices and transforms content and applications to the device.

■ Foundation Services
The Foundation Services are services to enhance applications and speed development. These are in the form of Java APIs or Web services.

■ Development Tools
The Development Tools help developers code,test,and debug wireless and voice applications.

■ Mobile Portal
The Mobile Portal is the end-user wireless portal to access the developed applications and content.

■ Mobile Applications
The Mobile Applications are out-of-the-box applications to get an enterprise mobile-enabled quickly.

figure 2-i.jpg (52.17 KB, 下载次数: 257)

figure 2-i.jpg

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
29#
 楼主| 发表于 2005-4-29 08:34 | 只看该作者
[B]Chapter5 Business Intelligence[/B][/COLOR]
BI的目的是:在竞争不断增加的商务中,加强基于信息的决策以保持业务,服务的竟争力(口号而已).
如果建立起了含有企业,客户行为的完整的BI系统,则可以评估机遇和防范可能的风险.(assess opportunities as well as  potential risks.)
BI可将传统的ERP/CRM等系统可以通过信息关联起来,于是这些系统的使用者也开始关联互动.同时,可以收集到更加综合的信息,并将这些信息用于提供更加个性化的客户服务.This enables companies to more closely analyze consolidated business data,secure existing business relationships,forge new revenue generating oppotunities, and asist with the formulation of strategies to improve operating efficiency.
e-business的核心就是收集业务数据,并提供数据分析.因此,BI系统应该有以下具体功能:
■ Collect data generated from Web site activies and transform the data into BI system.
■ Integrate Web traffic and business transaction data, then condense this into a meaningful report.
■ Enable business users at all levels of the organization to perform ad-hoc queries of stored business intelligence data.
■ Provide a deployment platform for creating multi-source,end-user reports that are available online or on paper.
■ Provide real-time analysis and recommendations for users of the Web site.
在OracleAS中以下组件是用来实现BI的.
■ OracleAS Report Services
■ OracleAS Discoverer
■ OracleAS Personalization

使用道具 举报

回复
论坛徽章:
25
每日论坛发贴之星
日期:2005-05-23 01:01:10马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:092012新春纪念徽章
日期:2012-02-13 15:08:09
30#
 楼主| 发表于 2005-4-29 10:45 | 只看该作者
[B]Report Services[/B]
可从多个不同平台中的多个Oracle或非Oracle data sources中获取数据,并将reports deploy到任何地方的Oracle AS中去.
并且还有个Oracle Reports Developer.可以servlets和JSP技术生成报表布局.
(这个report services如果做得好话,有向DW集成工具发展的潜力)
暂不介绍了.今后有机会再来更新.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表