Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6227517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:14:32+00:00 2026-05-24T09:14:32+00:00

Greetings everybody, I came across the feature of using java in oracle, a few

  • 0

Greetings everybody,

I came across the feature of using java in oracle, a few days back. Ever since I am wondering about the
possibility of writing static methods in java replacing regular PL/SQL logic.

As I have reasonably adequate experience with
java plus the rich libraries it offers, I am tempted to write java methods instead of regular PL/SQL. Would this be
a good practice?. Will there be much performance overhead in doing so?. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:14:33+00:00Added an answer on May 24, 2026 at 9:14 am

    It depends!
    They are two languages for different purposes!

    What kind of operations do you want to do?

    • Every operations that touches data layer(I know it’s debatable)
    • Massive Sql operations with large data processing( bulk operations)
    • To manage any kind of transaction
    • The job can be easily done in Pl/Sql
    • Are you writing code that is strictly tied to Sql data types?
    • Monitoring the relations between the code and dependent db objects

    In this case, I believe Pl/SQL is the best choice for performance.

    Attention, I wrote PL/SQL:

    • PL as procedure language(2nd choice)
    • SQL as data query language(1st choice)

    The power of this two languages, strictly tied in Oracle, let you write application which access data in Oracle in faster and easier way than in any other language.


    Do you need:

    • Operating system operations
    • Directory and file operations
    • Massive mails operations
    • Network operations
    • Other things you can’t do in:
      • SQL (1st choice)
      • PL (2nd choice)
    • write code to reuse in architecture like Enterprise Java Beans
    • Write code to reuse elsewhere

    In this case I think Java is a better choice, 3rd choice in Oracle.


    But I’m not reinventing the wheel, this information are largely accessible and proved by Oracle experts like Tom Kyte etc.

    Just some useful link to search:

    • PL/SQL advantages over java
    • Oracle Docs
    • Tom Kyte site
    • OTN forum
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings, I'm using embedded java, I write the application to a low resource device.
Greetings everybody. I have seen examples of such operations for so many times that
Greetings everybody. I am sorry, if this was already asked before (searched in vain)
Greetings all, I'm trying to localize a .NET/C# project. I'm using string resource files
Greetings, By using the regular selector, I am able to select the grand parent
Greetings, I've read some threads about this topic, but actually I was unable to
Greetings! I am trying to find a way in Java to programmatically enable/disable a
Greetings all. I am writing some code using the Boost Units library and have
Greetings, I'm using https://github.com/blueimp/jQuery-File-Upload (downloaded the version as of 5/21/2011) along with ASP.NET MVC3.
Greetings, I've been with this about 1 or 2 hours and it seems I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.