Friday, June 29, 2007

Using Hibernate in OC4J 10.1.3.x

This is as much a note for my own future reference as well as a couple tips for others.

Here's my trail of discovery :
- Using Hibernate with Applications in OC4J

- Removing and/or Replacing an Oracle Shared Library Imported by Default

- Load Local Classes in WAR Module in Preference to Classes loaded at Higher Level

So starting from the top, you need to fix the conflict where OC4J's TopLink loads a version of Antlr not compatible with the version Hibernate requires. This is done with a change to orion-application.xml. I thought that this change would suffice but found that a change was needed in orion-web.xml as well.

I didn't know this stuff without some investigation. These entry might be a quick start for others using Hibernate in OC4J.

orion-application.xml

<imported-shared-libraries>
<remove-inherited name="oracle.toplink"/>
</imported-shared-libraries>


orion-web.xml

<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />


Cheers

Matt

Thursday, June 21, 2007

Monte Carlo, Derivative Pricing and Adobe Flex



Some test values
Expiry : 10.0
Strike : 54.0
Spot : 30.0
Volatility : 0.4
Risk-free Rate : 0.1
Number of Paths : 6

:-)

Matt

Sunday, June 17, 2007

Candlesticks, Quote Histories, Volume and Adobe Flex

Fun stuff this.



Bit better this one.

;o)

Matt

Tuesday, June 12, 2007

Candlesticks, Quote Histories and Adobe Flex

Flex makes it really easy to grab some data and pump it into the nice charts in its API. Check out this baby.



Cool hey.

Matt