Showing posts with label Application. Show all posts
Showing posts with label Application. Show all posts

Install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files (SAP include)

** Myself
 
JCE IBM Product JCE SUN Product
File name: unrestricted.zip File name: jce_policy-<version>.zip
jce_policy-1_4_2.zip
Content of file
· README.txt
· COPYRIGHT.html Copyright information [No file for IBM product]
· local_policy.jar Unlimited strength local policy file
· US_export_policy.jar Unlimited strength US export policy file
 
1) Download from SUN(ORACLE) or IBM product
     unrestricted.zip or jce_policy-<version>.zip
2) Extract/Install to JRE path (check java home path)
Window Unix
<java-home>\lib\security <java home>/lib/security
D:\j2sdk1.6\jre\lib\security /usr/java/jre/lib/security # SUN Solaris
/opt/java1.4/jre/lib/security # HP-UX
/usr/lib64/jvm/java-1_4_2-ibm-1.4.2_sr10/jre/lib/security # Linux64 bit
# For SAP ,SSL protocol, will be extract during installation phase
# Example SAP unix JAVA_HOME=/opt/java1.4
# JCE install at /opt/java1.4/jre/lib/security

Java EJB Stateless vs. Stateful [Thai]

** Credit http://blog.pokpitch.com/tag/ejb

EJB Stateless vs. Stateful

หลังจากไปพยายามค้นคว้่าหาคำตอบ จากหลายๆเวบที่น่าเชื่อถือว่าการทำงานของ stateless และ stateful ซึ่งเป็น session beans บน EJBs นั้นมันต่างกันยังไง ต้องใช้ในงานแบบไหน วันนี้ก็พบคำตอบที่คิดว่าเข้าใจได้ง่ายที่สุดแล้ว
Stateless Session Bean
stateless นั้น client-session bean จะเรียก instance ของ stateless object ตัวไหนก็ได้ อาจจะเป็นตัวเดิม, ตัวที่สร้างขึ้นมาใหม่, หรือตัวอื่นๆ ที่มีอยู่ในขณะนั้น (make a call on a difference instance of the same object)  เราไปดูตามรูปเลยดีกว่า
clip_image001
รูปด้านบนนี้มี Caller แค่ตัวเดียวโดยจะ request ไปยัง instance ของ stateless session bean ทั้งหมด 3 ครั้ง โดยเราจะสังเกตได้ว่าบน container น้นจะมี instance

App Oracle Timesten Concept (Database in Memory)

** Myself
Timeหten

      Application connect  tt datastore and datastore connect check point files and transaction log files .
If check point every hour transaction log keep 1 hour by create multi files between check point and
if check point files is small will create new file for check point is same structure of transaction log files
      In case of instance tt failure when is start again tt will open check point file
and apply transaction log from file for update point in time

Timeten connect dsn,dsn is odbc connect to datastore
Odbc user=.odbc.ini

Odbc system=sys.odbc.ini

In odbc.ini information of datastore and dsn and home tt
Dsn from win not install but configure user and system datasource name
Dsn from unix will be installed from tt install
Share memory of tt =permanent + temp + log buffer + overhead

Peplesoft schema on oracle

** Myself
Peplesoft install on path
- Install oracle path
- SW Oracle default path= /u01/oracle/product/9.2/
- Create db such as /u01/Peplesoft/ORCL/*.dbf such as system,undo,temp,… for system db
- Choose path to install app
- SW Peplesoft default path = /u01/Peplesoft/
- Create schema user default 4 schema(dev,test,sys,prodcution)
On datafiles in /u01/Peplesoft/ORCL/*.dbf as (proddv.dbf,transaction data,prodctl.dbf,control section,*811.dbf,…)
That Prod=production
- Create Peplesoft application software on E811 directory such as /u01/Peplesoft/E811 for application software and sub directory (dv811,pd811,ps811,py811) log output,packages,quesuse,system,verity,printqueue,int,log

Loading