• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Calling Java classes from PL/SQL

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Does anyone know if there is a possibility to call Java classes in J2EE application server from PL/SQL stored procedures?

I have a situation where I would like to offer a interface to third party vendor via PL/SQL and then offer an Java interface to standard J2EE clients using those same Java classes (like facade to service).

Has anyone any experince considering this kind of issue?

Cheers
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This really isn't the right forum for this question, as it is an Oracle question and not a J2EE question.

Since you can use a Java class as a stored procedure, then you should be able to do something from there. Once you are in the Java class you should be able to do whatever any other Java class can do. Which should include doing a remote lookup for an EJB and calling it.

Moving this to the Oracle forum.

Mark
 
Jimmy Dee Ramoe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually found myself a answer finally.
Proper way in my case is to use sql: create directory and put java files
there. PLSQL can can use Java classes that resides in disk's directory.
And those classes are visible to ordinary OC4J WebApps too.
 
reply
    Bookmark Topic Watch Topic
  • New Topic