<!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> Left Side Menu
Random Content
Right Side Menu
</div> </body> </html> |
Monthly Archives: June 2010
Google RESTFUL WS services in ADF or JSF
My Notes — for Java client to access google calendar, By W.ZH in 2010
Google RESTFUL WS API general http://code.google.com/apis/gdata/articles/java_client_lib.html#samples Calendar Services – Dev Guide by Google http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html IBM article for python access http://www.ibm.com/developerworks/opensource/library/os-php-xpath/ |
ORACLE SQL Usages
By W.ZH. 1. How to create a user by SQL Plus? We suppose you do not have user in DB yet. or you can use : drop user user_ABC cascade;
then create spaces for new user: create tablespace ts_user_ABC datafile ‘D:\DAPSDB\ts_user_ABC.dbf’ size 100M; create temporary tablespace temp_user_ABC tempfile ‘D:\DAPSDB\user_ABC_temp01.dbf’ size 100M; Create User: create user user_ABC identified by user_ABC account unlock default tablespace ts_user_ABC temporary tablespace temp_user_ABC; alter user user_ABC quota unlimited on ts_user_ABC; Give user some basic permission and roles: grant connect to user_ABC; grant create table to user_ABC; grant create view to user_ABC; grant create procedure to user_ABC; grant create sequence to user_ABC; grant EXP_FULL_DATABASE to user_ABC; grant IMP_FULL_DATABASE to user_ABC;
conn user_ABC/password;
conn sysman/password as sysdba;
exp username/userpass FIlE=abcuserdata.dmp OWNER=username
exp userid=system/manager file=c:exportsmysid.dmp log=c:exportsmysid.log full=y
imp username/userpass FULL=y FIlE=abcuserdata.dmp
imp sysman/password FROMUSER=username1 TOUSER=username2 FILE=abcuserdata.dmp
|
Oracle DB Basic – Enterprise Manage database control
Oracle Enterprise Manager Database Control when you install the Oracle software. Enterprise Manager Database Control provides a Web-based interface that you can use to manage your Oracle instance and database. http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/em_manage002.htm
emctl start dbconsole emctl status dbconsole emctl stop dbconsole emca -repos drop emca -repos create emca -deconfig dbcontrol db emca -config dbcontrol db Normally you can access these URL to get EM control http://<hostname>:5500/em
|
How to return data from inside task flow to the parent page?
By W.ZH June 10 2010 1. You know there is method you can trig a parent action by call an activity in the taskflow. this means that a button in task flow is click, will do an action method in the parent page(its backbean).. and you can insert a data in the session etc when button is clicked and retrieve the data in the parent page’s method.. the parenet page can use this data is its page. |