Thursday, May 27, 2010

Update any ReadOnly Siebel view

Here is the solution :
Just copy paste the below text into Address bar :

javascript: alert(theApplication().ActiveBusObject().GetBusComp("Account").SetFieldValue("Local Name", "Rakeshtest"))

javascript: alert(theApplication().ActiveBusObject().GetBusComp("Account").WriteRecord())

Tuesday, May 11, 2010

Oracle SOA JMS Queue configuration

JMS Adapter Validation Prerequisites

In this release of Oracle Application Server ProcessConnect, there are no automated or user interface-based means for verifying and validating the correctness of the delivery channel configuration, except when starting the JMS adapter in runtime.

Typical values for the JNDI locations for an OJMS-based setup are as follows:

  • For the JMS Connection Factory:

     java:comp/resource/Ojms/QueueConnectionFactories/qcf   
  • Vendor properties:

    blank

    where blank indicates to leave the field blank.

  • For the JMS Destination:

    java:comp/resource/Ojms/Queues/$[DestinationName]   
  • Vendor properties:

    blank

    where the Ojms substring must match the resource provider instance name (See "Instructions for Oracle JMS ".) and blank indicates to leave the field blank.

For an MQSeries JMS-based setup, the same two settings are as follows:

  • JMS Connection Factory:

    com.ibm.mq.jms.MQQueueConnectionFactory   
  • Vendor properties:

    QueueManager=my.queue.manager;TransportType=1;Host=... 
  • JMS Destination:

    queue:///$[DestinationName]  
  • Vendor properties:

    ?targetClient=1  

8.8.9 JMS Adapter Additional Setup Tasks

This section describes setup tasks to perform in addition to the delivery channel parameter and interaction question tasks that you perform with the Oracle Application Server ProcessConnect user interface tool.

Depending on the method used for locating JMS administrative objects (connection factories and destinations), the following tasks must be performed:

  • Vendor- and user-specific JAR files must be appended to the adapter class path.

  • Objects must be bound in a JNDI namespace through pertinent deployment descriptors.

Queues, topics, or both must also be created and enabled in the third-party queuing system. Pertinent third-party listeners, channels, daemons, and so on must also be started.

8.8.9.1 Instructions for Oracle JMS

Add an OJMS resource provider instance through Oracle Enterprise Manager 10g.


Note:

Do not add an OJMS resource provider instance by editing the application.xml file. Use Oracle Enterprise Manager 10g to add a provider.

  1. Log in to the Oracle Enterprise Manager 10g Application Server Control Console.

  2. Select the Oracle Application Server ProcessConnect middle tier instance in which to add the JMS resource provider.

  3. Click OC4J_ProcessConnect in the System Components section of the Application Server : middle_tier_instance page.

  4. Click Administration.

    The OC4J: OC4J_ProcessConnect page appears.



    Important Links:

    http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v3/integrate.1012/B14448-01/html/adptr_jms.htm

    http://download-east.oracle.com/docs/cd/B10464_05/integrate.904/b12121/adapters.htm#i1010356


Wednesday, May 5, 2010

Knowledge wont suffice.

„äÕŸµ¿®¾Õq ŠÂ¹ˆ˜ä Í響Õ!
«%Ah °N-ÅŒ¢©ð N•§ŒÕ¢ ²ÄCµ¢-ÍÃ-©Êo ÅŒX¾Ê “X¾A ŠÂ¹ˆ-JÂÌ …¢{Õ¢C. Æ¢Ÿ¿Õ©ð ¯çê’_-„ê½Õ, ê«©¢ ÂîJ-¹Åî ®¾J-X¾Û-ÍŒÕa-Â¹×¯ä «u¹×h©Ö …¢šÇª½Õ. N•-§ŒÖ©Õ ²ÄCµ¢-ÍŒ-œÄ-EÂË „äÕŸµ¿®¾Õq 20 ¬ÇÅŒ¢ ®¾£¾Ç-¹-Jæ®h NÕ’¹Åà 80 ¬ÇÅÃEo NNŸµ¿ Æ¢¬Ç©Õ “X¾¦µÇ-NÅŒ¢ Íä²Ähªá. „ÚËF ‚ÍŒ-J¢Íä „ÃJÂË ®¾Õ©-¦µ¼¢’à N•-§ŒÖ©Õ ²ñ¢ÅŒ-«Õ-«Û-Åêá. …Ÿîu-’¹¢©ð ªÃºË¢-ÍŒ-œÄ-EÂË.. «%Ah °NÅŒ¢ ¹¯Ão «á¢Ÿ¿Õ-’ïä *Êo-Ōʢ©ð ÂíEo Æ¢¬Ç© ŸÄyªÃ „çÕ@Á-¹×-«©Õ ¯äª½Õa-ÂíE …¢šÇ¢. „ÚËE NE-§çÖ-T¢-ÍŒÕ-Âî-¹-¤ò-«{¢ «©x ÆX¾pšðx ƢŌ’à X¾šËd¢-ÍŒÕ-ÂíE …¢œ¿¢. Æ«-®¾-ª½-„çÕiÅä „ÃšËE ®¾Õp´ª½-ºÂ¹× ÅçÍŒÕa-ÂíE ‚ÍŒ-ª½-º©ð åX˜äd §ŒÕÅŒo¢ Í䧌բœË. ŠÂ¹-²ÄJ ¯ç’¹_{¢ «ÕJEo N•-§ŒÖ-©Â¹× “æXª½-º’à E©Õ-®¾Õh¢C. ƒN «uÂËh-’¹-ÅŒ¢’Ã, ‚Jn-¹¢’à ®¾¢ÅŒ%-XÏh-E-²Ähªá. «%Ah °N-ÅŒ¢©ð ªÃºË¢-Íä¢-Ÿ¿ÕÂ¹× ¨ ÂË¢C „ÚËE ‚ÍŒ-J¢* ͌֜¿¢œË.

Ê«Õt¹¢: \C ²ÄCµ¢-ÍÃ-©¯Ão Åí©ÕÅŒ Ê«Õt¹¢ ‡¢Åî «áÈu¢. ²ÄCµ¢-ÍŒ-’¹-©-«ÕÊo ‚ÅŒtN¬Çy-®¾¢Åî X¾E „ç៿-©Õ-åX-œËÅä *«-JÂË ÆC ÅŒX¾p-¹עœÄ ²ñ¢ÅŒ-«Õ-«Û-ŌբC. “X¾§ŒÕÅŒo ©ðX¾¢ ©ä¹עœÄ OÕ X¾{x N¬Çy®¾¢ åX¢ÍŒÕ¹×Êo-X¾Ûpœä ¹J¸-Ê-„çÕiÊ ©Â~Ãu©Õ å®jÅŒ¢ ͵äC¢-ÍŒ-’¹-©ª½Õ. ÍÃ©Ç «Õ¢C ƒÅŒ-ª½Õ-©ÊÕ ‚Ÿ¿-ª½z¢’à B®¾Õ-ÂíE „ÃJ ²Änªá Æ¢Ÿ¿Õ-Âî-„Ã-©E B“«¢’à “¬ÁNÕ-®¾Õh¢-šÇª½Õ. ƒ©Ç ŠÂ¹J ÊÕ¢* ®¾Öp´JhE ¤ñ¢œ¿«â «Õ¢*Ÿä.

…ÅŒÕq-¹Ō: ÂíÅŒh Æ¢¬ÇEo ¯äª½Õa-Âî-„Ã-©Êo …ÅŒÕq-¹Ō, ÅÃX¾-“ÅŒ§ŒÕ¢ Æ«-®¾ª½¢. ŸÄE OÕŸ¿ “X¾Åäu¹ “¬ÁŸ¿l´ ÍŒÖXÏ¢-ÍÃL. ‚ X¾E X¾ÜJh Íä§ŒÕ-œÄ-EÂË OÕª½Õ X¾œËÊ Â¹³ÄdEo ¦Ç®ý ’¹ÕJh¢-Íä©Ç «Õ®¾-©Õ-Âî-„ÃL. ŠÂîˆ-²ÄJ ÆŸ¿-ÊX¾Û X¾E-’¹¢-{©Õ „ç*a¢-ÍÃLq ªÃ«ÍŒÕa. ƒ©Ç¢šË ®¾«Õ-§ŒÖ©ðx ®¾¢Ÿä-£ÏÇ¢-ÍŒ-¹¢œË. ÅŒª½ÍŒÖ OÕÂ¹× ÆX¾p-T¢-*Ê ¦ÇŸµ¿u-ÅŒ© ’¹ÕJ¢* X¾Ûªî-’¹A E„ä-C-¹©Õ ®ÏŸ¿l´¢ Í䮾Õ-ÂË.

Ÿ¿%œµ¿ Eª½g§ŒÕ¢: ŠÂ¹ Eª½g§ŒÕ¢ B®¾Õ-¹×Êo ÅŒªÃyÅŒ ŸÄEÂË Â¹{Õd-¦œË …¢œÄL. ƒ¦s¢-Ÿ¿Õ©Õ ‡Ÿ¿Õ-éªj¯Ã E¦s-ª½¢’à «u«-£¾Ç-J¢-ÍÃL. Eª½g§ŒÕ¢ „ç©Õ-«-J¢Íä N†¾-§ŒÕ¢©ð èÇX¾u¢ Í䧌՜¿¢ ÅŒ’¹Ÿ¿Õ. Æ©Ç Í䧌՜¿¢ «©x ŠÂîˆ-²ÄJ X¶¾L-ÅÃ©Õ Åê½Õ-«Öª½Õ ƧäÕu Æ«-ÂÃ-¬Ç-©Õ¢-šÇªá.

£¾É®¾u ®¾¢¦µÇ-†¾-º©Õ: ÂêÃu-©-§ŒÕ¢©ð ‡«-J-¯çj¯Ã.. ‡X¾Ûp-œçj¯Ã.. Ê«ÛyÅŒÖ X¾©-¹-J¢-ÍÃL. OÕÂ¹× ‡«J OÕŸçj¯Ã ƪᆾd¢ …¢˜ä ‚ ¦µÇ«-Ê©Õ ¦§ŒÕ-{ÂË Â¹Ep¢-ÍŒ-F-§ç៿Õl. «á¦µÇ-«¢’à …¢œ¿œ¿¢ Æ®¾©Õ ÅŒ’¹Ÿ¿Õ. ÅŒª½ÍŒÖ £¾É®¾u ®¾¢¦µÇ-†¾-º©Õ ÂíÊ-²Ä-T¢-ÍŒ¢œË. ÆC ‡Ÿ¿Õ-{-„Ã-JE ƒ¦s¢C åX˜äd©Ç «Ö“ÅŒ¢ …¢œ¿-¹Ø-œ¿-Ÿ¿E ’¹Õª½Õh¢-ÍŒÕ-Âî-„ÃL.

Ííª½-«’à ¯ç’¹Õ_-¹×-ªÃ-„ÃL: éÂJ-§ŒÕ-ªý©ð …ÊoÅŒ ²Än¯Ã-©ÊÕ Æ©¢-¹-J¢-ÍÃ-©¢˜ä ê«©¢ Æ¢ÂË-ÅŒ-¦µÇ«¢, ®¾«Õ-§ŒÕ-¤Ä-©Ê ŠÂ¹ˆ˜ä ®¾J-¤ò«Û. Ê©Õ-’¹Õ-JÅî ¹©Õ-X¾Û-’î-©Õ’à «Õ®¾-©Õ-Â¹×¯ä ©÷¹u¢ «¢{-¦-šÇdL. «ÕJ¢ÅŒ ‡C-ê’¢-Ÿ¿ÕÂ¹× OÕ ÅçL-N-Åä-{©Â¹× ‡X¾pšË¹-X¾Ûpœ¿Õ ²ÄÊ åXšÇdL.

’õª½-„ÃEo ƒ*a-X¾Û-ÍŒÕa-Âî-„ÃL: ÅîšË ®Ï¦s¢-CÅî ’õª½-«¢’à „çÕ©-’¹¢œË. ®ÔE-§ŒÕª½x ®¾©-£¾É-©ÊÕ ®Ôy¹-J¢-ÍŒ¢œË. ÂíÅŒh-„ê½Õ „çÕª½Õ-é’jÊ “X¾Ÿ¿-ª½zÊ Â¹Ê-X¾-ª½-*-Ê-X¾Ûpœ¿Õ “X¾¬Á¢-®Ï¢-ÍŒ¢œË. „ÃJ-©ðE ’íX¾p-ÅŒ-¯ÃEo Æ¢U-¹-J¢-ÍŒ¢œË. Æ«-®¾-ª½-„çÕiÅä ®¾£¾Ç-ÍŒ-ª½Õ-©Â¹× X¾E©ð ²Ä§ŒÕ-X¾-œ¿¢œË.

«Õø"¹ X¾K-¹~©ð OÕª½Ö Æœ¿-’¹¢œË!
«Õø"¹ X¾K¹~ N•-§ŒÕ-«¢-ÅŒ¢’à X¾Üª½h-ªá¢C. OÕêÂ-Ÿçj¯Ã ®¾¢Ÿä-£¾É-©Õ¢˜ä E«%Ah Í䮾Õ-Âî-«ÕE ŠÂîˆ-²ÄJ ®¾Ö*-²Ähª½Õ. ¨ Æ«-ÂÃ-¬ÇEo ƒ©Ç ®¾Cy-E-§çÖ’¹¢ Í䮾Õ-Âî-„ÃL.
“¤ÄŸ±¿-NÕ¹ NŸµ¿Õ©Õ: …Ÿîu-’¹¢©ð ÍäJÊ ÅŒªÃyÅŒ Åí©ÕÅŒ Eª½y-Jh¢-ÍÃ-LqÊ ¦ÇŸµ¿u-ÅŒ© ’¹ÕJ¢* Åç©Õ-®¾Õ-ÂË. OÕÂ¹× ÆX¾p-T¢Íä “¤Äèã-¹×d©Õ, X¾ÊÕ©Õ ©Â~Ãu-©åXj ®¾¢¦µÇ-†Ï¢-ÍŒ¢œË.
P¹~º: ÆÊÕ-¦µ¼-«¢/-¯çj-X¾Ûºu¢ X¾J-’¹-º-Ê-©ðÂË B®¾Õ-Âí-¯ä-{-X¾Ûpœ¿Õ „ÃšË “X¾«Ö-ºÇ-©ä¢šË. Æ«-®¾-ª½-„çÕiÅä P¹~º ƒ²ÄhªÃ?
“¤òÅÃq-£¾Ç-ÂéÕ: ®¾¢®¾n E§ŒÕ«Õ, E¦¢-Ÿµ¿-¯Ã-©ÊÕ ¦šËd “¤òÅÃq-£¾Ç-ÂÃ©Õ ‡©Ç …¢šÇªá? X¾Ÿî-Êo-ÅŒÕ©Õ ‡©Ç ¹Lp-²Ähª½Õ?
®¾«Õ-®¾u©Õ: …Ÿîu-’¹¢©ð OÕÂ¹× \„çÕi¯Ã ®¾«Õ-®¾u©Õ, ®¾¢Ÿä-£¾É©Õ «æ®h \¢ Í䧌֩ð Åç©Õ-®¾Õ-ÂË. „ÚËE ‡©Ç ‡Ÿ¿Õªîˆ„éð ÍŒJa¢-ÍŒ¢œË.

Wednesday, April 7, 2010

Mathematics usage in daily file

The topics which are mainly useful in daily life

are :

• Commercial Mathematics

• Algebra

• Statistics

• Calculus

• Number Theory

• Graph Theory

• Geometry

• Mechanics

Commercial Mathematics

This include the following topics

• Discount

• Banking

• Foreign Exchange

• Stock and Share

• Arithmetic ( Profit & Loss, Percentage, Ratio

and Proposition , Time problems)

Discount : Reduction from the full amount of a price .

The following are the six types of discounts which we see are

Simple Discount. Offer a price reduction on a product by a

percentage. For example, buy a shirt and receive 25 % off the original

price.

Minimum Purchase Discount. Offer a price reduction on a minimum

quantity purchase. For example, buy two shirts and receive 20 % off

each shirt.

Buy N, Get one Free. Offer a free gift with a minimum quantity

purchase. For example, buy two shirts and receive a third shirt for

free.

Paired Discount. Offer a price reduction on a product if another

product is purchased. For example, buy a shirt and receive Rs.10 off a

pair of jeans.

Paired Set Discount. Offer a price reduction on an item if a certain

quantity of another item is purchased. For example, buy three shirts

and receive 30 % off a pair of jeans.

Order Discount. Offer a price reduction or free shipping on the order

total, if a certain amount is purchased. For example, buy Rs. 5000

worth of merchandise, and receive 10 % off the total order.

Banking : A system of trading in money which

involved safeguarding deposits and making funds

available for borrowers.

* What is the use of mathematics in Banking ?

• Bank is full of transactions. In turn the transaction is

nothing but mathematics

• Banks are also involved in stocks and bonds. Bond

calculations are mathematical. Stock options are

also quite mathematical.

Foreign Exchange market:

The foreign exchange (currency)

market refers to the market for

currencies. Transactions in this

market typically involve one

party purchasing a quantity of

one currency in exchange for

paying a quantity of another.

* What are the rate of

exchange of currencies of

different counties w.r.t.

indian currencies ?

Stock and Share :In business and finance, a share

(also referred to as equity share) of stock means a

share of ownership in a corporation (company). In the

plural, stocks is often used as a synonym for shares

• A stock is at a premium ( above par) , at par or at a

discount (below par ) according as its market value

is greater than , equal to or less than the face value .

• Generally stocks are sold and purchased through

brokers. The amount paid to them in selling and

purchasing stocks are called Brokerage.

so , C.P. = M.V. + Brokerage

Arithmetic ( Profit & Loss, Percentage, Ratio and

Proposition , Time related problems):The word refers

to a branch of mathematics which records elementary

properties of certain operations on numbers

Arithmetic operations:

• The traditional arithmetic operations are addition,

subtraction, multiplication and division, although

more advanced operations (such as manipulations of

percentages, square root, exponentiation, and

logarithmic functions) are also sometimes included

in this subject.

Algebra : It is a branch of mathematics concerning the study of structure,

relation, and quantity.

Classification :Algebra may be divided into the following categories:

Elementary algebra, in which the properties of operations on the

real number system are recorded using symbols as "place holders" to

denote constants and variables, and the rules governing

mathematical expressions and equations involving these symbols are

studied

Abstract algebra, sometimes also called modern algebra, in which

algebraic structures such as groups, rings and fields are axiomatically

defined and investigated.

Linear algebra, in which the specific properties of vector spaces are

studied (including matrices);

Universal algebra, in which properties common to all algebraic

structures are studied.

Algebraic number theory, in which the properties of numbers are

studied through algebraic systems. Number theory inspired much of

the original abstraction in algebra.

Algebraic geometry in its algebraic aspect.

Algebraic combinatorics, in which abstract algebraic methods are

used to study combinatorial questions.

How algebra is useful in daily life ?

Suppose , we are to appoint a person for some domestic

purpose .We give him two option for salary per month as :

(2) Rs. 25 daily

(3) Rs.5 for the first day and keep on increasing Rs. 2 to the

pervious days for the next day

Which option will be better for him ?

(2) option is better:

As in the (1) option he will get only 25 ´ 30 = Rs. 750

And in the (2) option he will get = 5 +7+9 +...+ upto 30 terms

= Rs. 1020. ( sum of 30 terms of A.P.)

Statistics: It is a mathematical science pertaining to the

collection, analysis, interpretation or explanation, and

presentation of data. Also with prediction and

forecasting based on data.

• Statistics form a key basis tool in business and

manufacturing as well. It is used to understand

measurement systems variability, control processes

for summarizing data, and to make data-driven

decisions. In these roles, it is a key tool, and perhaps

the only reliable tool.

• Some fields of inquiry use applied statistics so

extensively that they have specialized terminology.

These disciplines include:

• Actuarial science

• Applied information economics

• Biostatistics

• Business statistics

• Data mining

• Engineering statistics

• Environmental Statistics

• Epidemiology

• Geography and Geographic Information Systems,

• Psychological statistics

• Quality

• Social statistics

• Statistical literacy

• Statistical modeling

• Statistical surveys

• Chemometrics (for analysis of data from chemistry)

• Structured data analysis (statistics)

• Statistics in various sports, particularly baseball and cricket

How the concept of mean, mode and median is

used in daily life ?

• A shopkeeper, selling shirts, keeps more stock of

that size of shirt which has more sale. Here the size

of that shirt is the mode among other .

• If in a tour, the total money spent by10 students is

Rs. 500. Then the average money spent by each

student is Rs. 50. Here Rs. 50 is the mean.

• If you have 25 people lined up next to each other by

age, the median age will be the age of the person in

the very middle. Here the age of the middle person

is the median.

Calculus: It is the study of change, in the same way

that geometry is the study of space. It includes the

study of limits, derivatives, integrals, and

infinite series.

• Calculus has widespread applications in science and

engineering and is used to solve problems for which

algebra alone is insufficient. Calculus builds on

algebra, trigonometry, and analytic geometry and

includes two major branches, differential calculus

and integral calculus, that are related by the

fundamental theorem of calculus.

How is Integral and differential calculus useful

in daily life ?

• Integration is used to find areas of figures which

are not geometric. Suppose you spill water on the

floor and want to find out what area the water has

covered, you can do so by integration. What it does

is that it breaks up the non-geometric shape into a

number of tiny geometric shapes. It then calculates

the area of each of the tiny figures and adds them

up. This of course gives only an approximation to

the actual area

• Let us consider the movement of a car on a

highway. Here we can clearly visualize that if

the highway is clear the driver would look

forward to increase the speed to an optimum

level after which he will drive with the same

speed. With the help of calculus we can easily

estimate the car's acceleration if we know the

initial speed and the speed when he settled.

Acceleration is therefore defined as the first

order derivative of velocity, which in turn is

the first order derivative of displacement.

Number Theory :Number theory is the branch

of pure mathematics concerned with the

properties of numbers in general, and integers.

• The term "arithmetic" is also used to refer to number theory

but Number theory used to be called the higher arithmetic .

• The Social Insurance Number (SIN) was created in 1964 to

serve as a client account number in the administration of the

Canada Pension Plan and Canada's varied employment

insurance programs. In 1967, what is now Canada Revenue

Agency (CRA) started using the SIN for tax reporting

purposes.

• Number theory is used in Cryptography (study of hiding

information) for creating codes for ATM/Credit cards.

Graph Theory: graph theory is the study of graphs:

mathematical structures used to model pairwise

relations between objects from a certain collection. A

"graph" in this context refers to a collection of vertices

or 'nodes' and a collection of edges that connect pairs

of vertices.

• A problem in graph theory requiring the most

efficient (i.e., least total distance)

Hamiltonian circuit a salesman can take through

each of cities. No general method of solution is

known, and the problem is NP-hard. Solution to the

traveling salesman problem is implemented as

Traveling Salesman.

• The arrow marked path is the best path to

follow by the travelling sale man to cover all

the cities without going back to any city again

Geometry: It a part of mathematics concerned with

questions of size, shape, and relative position of

figures and with properties of space.

• How Is Geometry Used In Our Daily Life?

• Geometry is especially useful in home building or

improvement projects. If you want to find the floor area of a

house, you use geometry. This information is useful for

laying carpet or tiles and for telling an estate agent how big

your house is when you want to put it on the market. If you

want to reupholster a piece of furniture, you have to

estimate the amount of fabric you need by calculating the

surface area of the furniture.

Mechanics : It is concerned with the behaviour of

physical bodies when subjected to forces or

displacements, and the subsequent effect of the bodies

on their environment.

• Covering a long horizontal distance while making a

long jump , the angle of elevation should be 45°.

• Riding a bicycle round and round a globe, head

downward.