1.雙數版出來囉....通常oracle 雙數版都是比較穩定的版本..
http://www.oracle.com/technetwor ... overview/index.html
2.目前releaae版本
Linux x86
Windows x86
3.discoverer 這次沒在裡面了,discoverer 可能沒打算更新了吧
4.新特性
a.Integration with Oracle Access Manager
Oracle Access Manager is an identity management solution that provides centralized
authentication, policy based authorizations and auditing. With Oracle Forms 11g Release 2
you can use Oracle Access Manager for authentication and authorization of your Oracle Forms
application.
b.Reduced Installation Footprint(先前11gr1 出來耗資源又不穩,被大家公幹的很慘,最後逼得PM出來調解,可能嚇到了吧.....ps:我也有分~哈哈~~)
In order to reduce the resource requirements on development machines, you can perform an
installation specifically tailored for development. This will limit the number of software products
and servers installed on the machine whilst still allowing a developer to build, run and test their
Forms application.
c.Performance and Monitoring
Oracle Forms 11g Release 2 provides more dynamic capabilities to pre-start Forms runtime
processing. For example, an administrator can define a set number of runtime engines to be
started at 9am if it is known that most users log onto the system at that time. This will result in
improved start up times for users.
d.Real User Experience Interaction
Oracle Real User Experience Interaction (RUEI) is a feature of Oracle Fusion Middleware that
provides non-intrusive monitoring, giving insight into how a user is interacting with an
application. Oracle Forms 11g Release 2 has added new features to allow more fine-grained
recording of information such as which pages a user visits, how long they spend on those
pages and even how long it takes them to perform a specific task
e.Other Features(重點我用粗字標)
In this latest release of Oracle Forms, we have taken the opportunity to introduce some
commonly requested developer features. The Oracle Forms PL/SQL editor now supports line
numbers when running on the Windows operating system. Forms windows can now be fully
maximized and iconic buttons and Read_Image_File can have images defined by dynamic
URLs. This release also introduces a data type NCHAR allowing improved handling of
Unicode character sets .
Oracle Forms 11g Release 2 also allows the Forms menu bar and window decoration to be
turned of, which allows Forms to be more seamlessly integrated into other technology pages
such as HTML pages. This release also supports font anti-aliasing.
11.1.1 先前新特性如下
1.1 JavaScript Integration (讚)
Use JavaScript integration that is now available in Oracle Forms 11g to have external events call into your Forms applet, or have your Forms applet execute a JavaScript event.
For more information, see Chapter 6, "Oracle Forms and JavaScript Integration."
1.2 Enhanced Java Support(讚)
You can extend Pluggable Java Components (PJC) to raise events in Oracle Forms Services.
For more information, see Section 7, "Enhanced Java Support."
1.3 Support for Server-Side Events(讚)
Oracle Forms Services supports external events from outside of Forms Services. An event can be raised by the database or by BPEL through Oracle Advanced Queueing.
For more information, see Chapter 8, "Working with Server Events."
1.4 Proxy User Support(讚)
In this release of Oracle Forms, Forms developers can choose to have users connect to the database as a proxy user, a single database user is a user with connection privileges only, adding security and simplifying user management in the process while maintaining automatic database auditing.
For more information, see Section 9.6, "Enabling and Configuring Proxy Users."
1.5 PL/SQL Tracing
In Oracle Forms Services 11g, you can enable logging of the names and parameters for called PL/SQL Procedures and functions, then view the output in Forms Trace.
For more information, see Chapter 12, "Tracing and Diagnostics."
1.6 Integration with Oracle Diagnostics and Logging (ODL)
Oracle Diagnostic logging (ODL) is a feature of Oracle Fusion Middleware that extends the J2SE logging framework. ODL makes it easier to diagnose problems and manage log files in Oracle Fusion Middleware.
比較大的變動是web server 改用weblogic ,,,不能用自身的oc4j/bc4j 了..
最讓人興奮的是支援javascript 雙向溝通...未來網頁和form 可以直接溝通了
proxy user 對於整合form平台提供了不錯的方向
plsql trace 也替除錯改善了一些方便性質
JavaScript in Oracle Forms 11g demo
http://download.oracle.com/otndo ... /JSintegration.html 看看吧~用form開發有一定經驗的人..應該看了都會蠻高興的..
Creating an AQ
BEGIN
DBMS_AQADM.Create_Queue_Table (
queue_table => 'QU_TABLE',
queue_payload_type => 'RAW',
multiple_consumers => TRUE -- notwendig für Forms
END;
/
BEGIN
DBMS_AQADM.Create_Queue (
queue_name => 'QU_MY_QUEUE',
queue_table => 'QU_TABLE'
END;
/
WHEN-EVENT-RAISED
BEGIN
:control.ti_payload := get_event_object_property
('EV_Default', Event_Payload);
IF upper (:control.ti_payload) = 'ATTACH DEBUG' THEN
debug.attach;
...
END IF;
END;
Javascript-API
:system.javascript_event_name
Specifies the name of the event back in the Javascript has been started.
:system.javascript_event_value
Contains the payload, the JavaScript in Forms was passed.
web.javascript_eval_expr
This JavaScript will call the target HTML window executed.
WHEN-CUSTOM-JAVASCRIPT-EVENT
DECLARE
event_name varchar2 (300) := :system.javascript_event_name;
event_value varchar2 (300) := :system.javascript_event_value;
BEGIN
IF event_name = 'ExitForm' THEN
exit_form;
ELSIF event_name = 'NewForm' THEN
new_form (event_value);
...
END;
HTML JAVASCRIPT
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
<INPUT id="outside_field_id">
<SCRIPT>
function set_field (field_id, myValue) {
document.getElementById(field_id).value=myValue;
};
function clickEvent1()
{
document.forms_applet.raiseEvent("NewForm", "payload");
}
</SCRIPT>
<input id="button1" type="button" onClick="void clickEvent1();" value="NewForm">
Get JAVASCRIPT field Value
web.javascript_eval_expr
('document.getElementById("outside_field_id").value="' ||
:control.ti_inside || '";');
web.javascript_eval_expr
('set_field("outside_field_id", "' || :control.ti_inside || '")');
:control.ti_get_value := web.javascript_eval_function
('document.etElementById("outside_field_id").value');
Configuration Files -New parameter
formsweb.cfg (New)
digitSubstitution = context
otherparams = ssoProxyConnect
allowAlertClipboard = true
disableValidateClipboard = false
applet_name =
enableJavascriptEvent =
maxEventWait = 100
default.env
FORMS_TRACE_DIR
FORMS_ALLOW_JAVASCRIPT_EVENTS
LD_LIBRARY_PATH
ORACLE_INSTANCE
webutil.cfg
BlockAllowHeartBeat = false
Configuration Files -Delete parameter
formsweb.cfg (Deleted)
baseHTMLjinitiator
archive_jini
default.env
FORMS_TRACE_PATH
11g開發環境怎麼降低weblogic 和 form/report 的使用 resource呢..請接著看下去...
編輯\oracle\middleware\user_projects\domains \your_domain\setDomainEnv.cmd
1.把jvm 從 jrockit 改到 Sun jvm , 開發環境沒必要用到jrockit ... 最上面加入環境變數 set JAVA_VENDOR=Sun
2. 調整jvm記憶體用量... 找到set XMS_SUN_??BIT 和set XMX_SUN_??BIT 降低使用體使用量..
我改成如下: set XMS_SUN_64BIT=128 set XMS_SUN_32BIT=128 set XMX_SUN_64BIT=256 set XMX_SUN_32BIT=256
3.調整heap jvm size 下 找到set MEM_PERM_SIZE_32BIT 調整 \
我調整如下: set MEM_PERM_SIZE_32BIT=-XX:-PermSize=128m set MEM_PERM_SIZE_64BIT=-XX:-PermSize=128m
4.調整 form /report use memory size 找到if "%SERVER_NAME%"=="WLS_REPORTS" 和 if "%SERVER_NAME%"=="WLS_FORMS"
把set EXTRA_JAVA_PROPERTIES=-Xms256m -Xmx512m 改成 set EXTRA_JAVA_PROPERTIES=-Xms32m -Xmx64m -DserverType="wlx"
好啦...存檔後重新啟動 weblogic doamin 和form report service 吧... 測試結果..3個服務啟動...大約吃掉600mb memory ... 整個順多了...