Sorry, but "deploy .java function" does not compute to me : inside an Oracle db what you can have in this sense is :

a) write a java stored procedure, it´s your .java source that you are creating here direct inside the db

or

b) you can load a java code (.jar , .class, etc) in the db with the LOADJAVA utility : this code can be yours, something that YOU wrote and compiled, OR can be from other origins, maybe evene something what you do not have the source code

search in asktom.oracle.com for "LOADJAVA" and for "JAVA STORED PROCEDURE", you will find some examples. IF neither a) or b) are what you means, please explain more about your requirement.

Regards,

Chiappa