How to import custom java jar/class into oracle to be used in java proc ?

Hi
I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.
I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.
But, my question is that I do have a other external jar/class file that need to be imported into this java program.
example
raise_sal.java
import java.util.*;
import oracle.sql.*;
<<reference other java programs >>
import cmpmsgsvc.xxxx.* ;
import cmpmsgsvc.yyyy.* ;
import cmpmsgsvc.zzzz.* ;
how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
compilation errros on raise_sal.java program ??
what are the steps to import/compile and validate to do this?
thanks for your help in advance.
Thanks
rrb.

Kuassi
Problem is that, I have 6 jar files that are needed to be included in the main java program. And, there are more than 50+ classes, propertiers in those 6 jar files.
It might be not good idea to have all those 50+ classes in the production database.
Is there anyway that I keep all those 6 jar files in unix box (our's is oracle erp installation with oracle being installed on unix box) and just refer them in the main java program. I mean database will be loaded with main java program and it should able to refer other 6 jar files from unix.
if we create a directory and keep all jar files in there and include that directory in classpath variable, does this works? or what is other method?
Please let me know.
Thanks

Similar Messages

  • How to import data from CSV file into a table by using oracle forms

    Hi,
    I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
    the user can select CSV file by using open dialog .
    can any one help me to find method to make import and select file from the client machine ?
    thx.

    1. create table blob
    CREATE TABLE IB_LOVE
      DOC          BLOB,
      CONTRACT_NO  VARCHAR2(20 BYTE)                NOT NULL
    )2. use the code below to insert:
           INSERT INTO ordmgmt.ib_love
                       (contract_no, doc
                VALUES (:control.contract_no_input, NULL
           lb$result :=
             webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
                                                 'CONTRACT_NO = ' || :control.contract_no_input);
           :SYSTEM.message_level := 25;
           COMMIT;
           :SYSTEM.message_level := 0;3. use the code below to download
         if :control.CONTRACT_NO_INPUT is not null then
              vboolean :=   webutil_file_transfer.DB_To_Client_With_Progress(
                               vfilename,  --filename                       
                              'IB_LOVE', ---table of Blob item                       
                              'DOC',  --Blob column name                       
                              'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record                       
                              'Downloading from Database', --Progress Bar title                       
                              'Wait to Complete'); --Progress bar subtitle  client_host('cmd /c start '||vfilename);
              client_host('cmd /c start '||vfilename);                 
         else
              errmsg('Please choose contract no');
         end if;4. use the code below to open file dialog
    x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
    :b2.FILE_NAME:=X;

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • How to import Custom idoc into  IR?

    I have a custom idoc and i need to map it with the receiver format after importing into IR . Please let me know the sequence of steps to import custom idoc into  Integration repository?
    I think I need to first import into IDX2 and then import into repository. Am I correct?

    Hi Prateek,
    thanks for the information .The normal standard idocs we import by searching the idoc eg- for importing matmas we type mat and we search it, since it is a standard idoc it will be available in the list (after selecting the chek box "Import of idoc or rfc interfaces from sap system permitted").
    But my question is how we import custom idoc as they wont be present in the list?

  • How can I import all my gmail contacts into iPad? I use iPad mini and the solutions available on the web are not compatible.

    How can I import all my gmail contacts into iPad? I use iPad mini and the solutions available on the web are not compatible.

    Hello and thanks for the answer.
    I meant by "not compatible" that all the solutions that I found on the web did not work, especially the "Microsoft exchange" one.
    Fortunately I found on the comments of the first website you mentioned the right answer for me, which I copy below:
    Tap Settings > Mail, Contacts, Calendars > Add Account > Other > Add CardDav Account.
    Enter the following information in the fields:
    Server: google.com
    User Name: Enter your full Google email address
    Password: Your Google account password
    Select Next at the top of the screen to complete the setup.
    After you have completed the setup, open the Contacts app on your device. Syncing should begin automatically.
    Additional Information
    Note: Make sure that SSL is enabled (under Advanced settings), and that the port is 443.
    If you are using application based special password go to https://accounts.google.com/Se... and instead of your password put that special code and u r done.

  • I want to import a MS Word Index into a .pdf file using Adobe Pro.  How do I do that?

    I want to import a MS Word Index into a .pdf file using Adobe Pro. It is for a book.  The book has been converted to a .pdf for printing, but it needs an Index for the last page of the book.  I tried to embed a new index (starting from scratch but no luck.  Any suggestions?  Thank you for your time.

    Now I want to search this "myArrayStrings.get(r)" in another file. How to do that?Store the returned String. Do the same thing you did to read the first file to read the second file (i.e. read it in line-by-line and store the lines in a list). Then check if that list contains the String you stored from the first list.
    E.g. (using your code):
    String name = myArrayStrings.get(r); // assuming r is initialized somewhere before this
    if ( otherList.contains( name ) ) { // assuming otherList is your second list
        // do something
    }

  • HT4906 how to import photos from photo stream into an event?

    How to import photos from photo stream into an event?

    How to import photos from photo stream into an event?
    In iPhoto 9.4.3 the following works:
    If you have not auto imported the photos from the Photo Stream, as Larry suugests, select the photos that you want to import in the Photo Stream, and drag them to the "Events" view in the Source List. They will be imported as new events, auto split with respect to your preferences.
    Regards
    Léonie

  • How to import select photos from Iphoto into Adobe Elements

    How to import select photos from Iphoto into Adobe Elements

    If you wish to import in Elements Organizer here is the guide to help you out with all you need to use iPhoto and Organizer. http://helpx.adobe.com/elements-organizer/using/import-media-iphoto-library-mac.html
    If you wish to set PSE Editor as your editor for iPhoto images then here is the help link to guide you for the same - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-iphoto-mac-os.html
    Hope it helps.
    Thanks,
    Garry

  • HT3775 How to import a Video Media movie into a iMovie HD?

    How to import a Video Media movie into a iMovie HD?

    The iMovie help lists the types of movie files you can import. 
    I usually have to use Quick Time Pro (not free) to convert what I have to a format iMovie will accept. 
    Or I use VLC video player (free).

  • How to import a Word index list into InDesign?

    How to import a Word index list into InDesign?

    Hi - thanks Steve Werner -- but that link is broken -- could you tell us what that post said?
    I have a Word doc with an index, and I'd like to keep it when importing into InDesign, and be able to regenerate the index in InDesign with the correct page numbers -- is this possible?
    Is there maybe a handy script that can be used?
    thank you

  • HT4489 How to import MS Outlook 2010 contacts into iCloud ?

    How to import MS Outlook 2010 contacts into iCloud ?

    Hello there, ME1975.
    The following weblink provides some basic information on how to set this up:
    Apple - iCloud - Learn how to set up iCloud on all your devices.
    http://www.apple.com/icloud/setup/pc.html
    If you need some additional troubleshooting steps the following Knowledge Base article should provide some direction:
    iPhone, iPad, iPod touch: Troubleshooting contact and calendar syncing via USB on Windows
    http://support.apple.com/kb/HT1692
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • I am trying to import BPM Project.zip file into Oracle enterpriserepository

    I am trying to import BPM Project.zip file into Oracle enterpriserepository from admin tab.
    I am getting the following exception. please help if any one know the solution.
    Performing import...
    Import Failed: Error [100]: An unknown server-side error occurred. Please record stack trace (if available) and contact technical support.
    com.flashline.exception.LoggableException: trouble parsing file in import bundle: SampleWScall/activityGuide.agdl
         at com.flashline.cmee.openapi.service.subsystem.impexp.XMLTranslator.decode(XMLTranslator.java:157)
         at com.flashline.cmee.openapi.service.subsystem.impexp.ImportJob.doJob(ImportJob.java:74)
         at com.flashline.cmee.openapi.service.subsystem.impexp.AbstractJob.perform(AbstractJob.java:75)
         at com.flashline.cmee.openapi.service.subsystem.impexp.JobThread.run(JobThread.java:41)
    Audit results stored in:
    C:\Users\AVINAS~1.YEL\AppData\Local\Temp\import-4705112223687937017.log
    Audit for [Import job.] created on [2012-09-24 11:53:59 IST].
    2012-09-24 11:53:59 IST - Adding Import job with ID=[50403] to job queue.
    Thanks in Advance.

    Hi
    Why are you trying to import BPM zip file are you trying to configure the out of the box workflows?
    They are something that need to be deployed from the process admin on BPM.
    There would be the .exp file you would need as its BPM 10g that you would need to use.

  • Import Access and Excel datafile into Oracle

    Dear SQL Expert:
    Could you hint me how to import Access and Excel datafiles into a newly install oracle database. An outline doc on procedure would be helpful.
    Thanks, user607670.

    either thru one of the following methods:
    <ol>
    <li> SQL*Loader </li>
    <li> UTL_FILE </li>
    <li> PL/SQL Developer tool using the text import utility </li>
    </ol>

  • How to extract data from info cube into an internal table using ABAP code

    HI
    Can Anyone plz suggest me
    How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
    Thankx in advance
    regds
    AJAY

    HI Dinesh,
    Thankq for ur reply
    but i ahve already tried to use the function module.
    When I try to Use the function module RSDRI_INFOPOV_READ
    I get an information message "ERROR GENERATION TEST FRAME".
    can U plz tell me what could be the problem
    Bye
    AJAY

  • In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

Maybe you are looking for