File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling java stored procedure

 
Siva Masilamani
Ranch Hand
Posts: 385
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Could somebody please explain me how to call a java method from oracle step by step?

I have java instance method in an application which returns Sting array.This application requires some other dependant application jar files.

I have written an Ant script which creates all the required jar files including this application and place them in the classpath of the server where oracle resides.

Now my questions are

1.how do i call a method from this jar file from oracle?

2.do i need to use Loadjava tool to load all the required jar files?Please let me know other options so that any changes in java application in future will not require to use this tool again and again.

3.when calling this java method i need to pass a system property usually in java we use the option -Dproperty_name=value.but how do i do this when calling from oracle?

4.This method returns String array and what is the correct data type for this in oracle 8?

5.how do i call if the method is instance not static?




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic