Java Importer Question

Hi,
Does anybody know how it is possible to be able to access the properties of a java class which is returned from a java stored procedure?
I know that we can create instances of the class using the new function but i want to be able to have the live istance returned to me from method call.
Java class method :
public Result getResult(int id){
Java Return class 'Result':
public class Result{
String id;
String value;
//rest of pojo methods such as setters/getters
Forms PL/SQL for button trigger:
declare
     client ora_java.jobject;
     jresult ora_java.jobject;
begin
     client := JavaClient.new;
     jresult := JavaClient.getResult(client, 187144406);
What i want to know is how to access the methods of the Result java object (held by jresult) in the pl sql var?
Would much appreciate any help on this.
Cheers,
John

Excuse my stupidity, got it there...
message(Result.getValue(jresult));

Similar Messages

  • Eclipse java import question

    This is my first time using 3rd party open source code within one of my projects. I'm using Eclipse for development and I just imported the 3rd party project from their SVN repository. I imported the new project into my workspace. Now I need to use it in another project in Eclpse. I know I need an import statement to use it, but I'm not sure how to go about this. Any help? Do you need any more information? TIA

    Right, but since the 3rd party project is in my workspace shouldn't the import statement look like this?
    import jaudiotagger.src.org.Audio.*;
    If that is the package name. It's a very strange one, are you sure it shouldn't be just org.audio.*? Have a look in the Jar file.
    It isn't recognizing jaudiotagger at all when I try to do a ctr+space.So is it really in your workspace?
    These are really Eclipse questions, not Java questions, you would be better off at an Eclipse forum. But I think it's pretty simple to fix.

  • Importing Java Class Question

    Hello,
    Sorry for such a newbie question and such a long post, I did remember how to do this before but now I can't for the life of me remember. Anyhow, I have a simple question about importing custom-made java classes, from another directory in the windows operating system. I have the classpath set, and also I realize that because the two files below are in the same directory theres no need for an import statement as Java will look for the class in the same directory.
    But I would like to know how the import statement is suppose to look to import a custom made java class from another directory, (assuming of course that I set the correct classpath)
    here's the java class location:
    c:\school\csc365\narcus.java
    //narcus.java
    import java.io.*;
    class narcus implements Comparable
    String firstName = "firstName";
    String lastName = "lastName";
         public narcus()
         firstName = firstName;
         lastName = lastName;
         public narcus(String f)
         firstName = f;
         lastName = lastName;
         public narcus(String f, String l)
         firstName = f;
         lastName = l;
    public String getFirst()
    return "first..";
         public int compareTo(Object e)
         return 1;
    Here's the location of the driver program thats suppose to use the narcus.java class
    c:\school\csc365\test.java
    //test.java
    //import statement? maybe import "c:\\school\\csc365\\*"; ?
    import java.io.*;
    class test
    public static void main(String[] args)
         narcus jim = new narcus();
         System.out.println("omg\n");
         System.out.println(jim.getFirst());
    And also, here is my classpath:
    PATH=c:\school\csc365\;c:\school\
    The classpath also points to the jdk libraries and few other directories but I didn't write that above, as it probably isn't relevant.
    I've tried the following import statements.
    import "c:\\school\csc365\\narcus.java";
    import "narcus.java";
    import "c:\\school\\csc365\\*";
    But I keep getting an error that says:
    test.java:1 <identifier> expected
    Any help is appreciated!

    Hi Folks,
    I am new to this forum, heard that interesting discussions always happens on this forum so immediately registered,don't want to miss any oppurtunity to participate in discussions.
    I have pretty much basic question regarding compiling and exceuting files in different packages.I have the following directory structure
    C:\Projects\WDPROEast\Development\CommonService\Code\Java from where java files stored in different packages as follows:
    com\wdpro\commerce\common\crm\dae\nautilus\adapter directory has java files in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package.
    com\wdpro\commerce\common\dae\exception has java files with package named com.wdpro.commerce.common.dae.exception.
    com\wdpro\commerce\common\dls\exception has java files with corresponding package name.
    com\wdpro\commerce\common\dto has java files under proper package name.
    com\wdpro\commerce\common\exception has java files with appropriate package name.
    com\wdpro\commerce\common\util has java files with package name. I am starting at Java Directory,want to compile and run file named a.java in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package with having all other java files on classpath as follows
    so I issued command for compilation as follows C:\Projects\WDPROEast\Development\CommonService\Code\Java>javac com/wdpro/commerce/common/crm/dae/nautilus/ada
    pter/a.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdp
    ro/commerce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    b.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java
    com/wdpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dl
    s/exception/*.java It compiled greatly but when I issue command to run a.class file as
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccesssit's giving following exception
    Exception in thread "main" java.lang.NoClassDefFoundError: com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    UtilityAccesssbut when I run a.java with the following command
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccess com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdpro/com
    merce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/Nautil
    usAccessUtility.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java com/w
    dpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dls/exce
    ption/*.javaSo my question do I need to add all required java files to path when required class files are under different packages?is it manadatory.
    I hope you understand my question,pass me any comments you may have.
    Thanks alot,
    Anu

  • Error in JAVA Importer

    I tried to import a JAVA Class inside a Form but I got the error: "PDE-UJI001 Failed to create the JVM". How can I solve it? How can I install the JVM? I have just convert my apllication from forms 5.0.6 to 6.0.8.17.1, I have no experience in WEB development and I need to convert my apllications for WEB, the papers on OTN does not explain much. Does anybody has an interesting paper or manual for downloading ???
    Thanks.

    First of all the error you are getting
    You need to to install JDK 1.2.2 to run the Java Importer. And set the PATH's
    and classpath's correctly.
    1. Download and install the JDK 1.2.2.
    2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory and the JRE in
    C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
    Set the PATH to
    set PATH=%PATH%;c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic
    ( If you are using ias9i then the JDK 1.2.2 comes with the ias installtion ,
    in this case please set the PATH to
    D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apache\jdk\jre\bin\classic;%PATH% )
    3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
    (If you do not set the CLASSPATH correctly you will get the error
    PDE-UJI002 Unable to find the required java importer classes)
    4. Now run the Forms Builder by using the command.
    C:\Dev6iR2\bin\ifbld60.exe
    Now the Java Importer Should Run fine.
    Please follow the white paper on the Java Imported on OTN.
    As for your question about deploying on the web - what about the on line help in Forms????
    Select HELP -> Manuals
    You will then see a manual for deploying Forms to the Web.
    Regards
    Grant Ronald
    Forms Product Management

  • Want to know about java importer

    hi,
    i m working on oracle forms 10g. i want to know about java importer utitlity and using it.
    plz provide me ant documentation about it , if i have it with example would be easy to understand
    thanks

    I think u r lookinghttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Java Importer & Forms

    Hi,
    I have a forms application which includes some java, I have imported java into the form using the Java Importer in Form Builder 10g (9.0.4).
    The Big question is where do I put the classes on 10g Application Server (9.0.4.1/Solaris) ? The manual saw " Put the java classes on the middle tier, but where exactly ?
    Do I compile the java classes on the Application Server, can I place in the server as a JAR file or just individual classes ?

    Hi,
    You can deploy the java as jar file and as separate classes, although a jar file is the prefered method.
    Regards,
    Harm

  • How to import questions into Captivate 4 from a delimited file

    I'm looking
    a way to import questions from a delimited text file (or excel spreadsheet)
    into captivate.
    All the questions are simple multiple choice, single answer, four selections per question.
    I have hundreds - I'd hate to have to retype them all in one at a time.
    Thanks in advance
    -Joan

    Does anyone know if this is a feature in Captivate 5. 
    Other things I would really like to see in Captivate 5.
    Importing and Exporting the graded quiz/test content out of captivate into another
    application/ form.  Such as xml, tab delimited, excel spreadsheet,
    Adobe pdf, Word document or another format.  Our current content
    developement systems allows us to (when publishing) do this.
    1> exclude questions from the Published content
         (exclude section questions, or final test content)
    2> produce different test versions from question banks
    3> Produce a PDF paper test for when we want to train in a classroom setting
    4> Select which questions we want to produce
    5> Import questions from a pre-defined format.  To note: when we do this the system also makes us define a unique interaction id so that the import will update existing questions.
    I know this will NOT work for some of the more sophisticated questions, But for the simple Mulitple choice, true/false, fill in the blank.  etc..
    THIS WOULD BE A GREAT FEATURE..
    It would also be NICE TO HAVE THE abiliy to PROFILE versions of the SAME Course WITH OUT REPRODUCING / DUPLICATING / REPEATING THE  ENTIRE COURSE PRESENTATION.
    Such as
    "INSTRUCTOR TAUGHT TRAINING"
    "WEB TRAINING"
    "PAPER TEST A"
    "PAPER TEST B"
    ETC...
    LASTLY: if we can not export the QUIZ content.  Can an excel spreadsheet LIKE INTERFACE be used to edit certain aspects of the questions.
    Such as the InteractionId which is sent to the LMS ('cmi.interactions.0.id').  My developer team says it is real difficult and time consuming
    to track down interactionIds and then maintain them in a perfect way.
    Thanks,
    Doug Lubey of Louisiana
    www.douglubey.com

  • JAVA Importer: ORA-105100 can't start the java virtual machine

    Hi,
    i am having trouble to make a work interaction between forms and java.
    My PL/SQL code is calling a java code situated in an imported class.
    the error i get says : can't start the java virtual machine
    I modified the CLASSPATH to add some jar files.
    What else should i do ?
    should i modify LIBPATH ?
    any idea ?
    Thanks
    Dan

    i just found this documentation Oracle Forms Developer and Forms Server 6i (Patch 4) at this adress
    http://download.oracle.com/otn_hosted_doc/forms/forms/p4_relnotef.pdf
    which says that i need jdk 1.2.2 to make it work but the documentation was published in 2001...
    Is there an earlier doc ? or an earlier doc of the java importer ?
    http://www.oracle.com/technology/products/forms/pdf/javaimporter.pdf
    any help would be appreciated

  • MEGA180 Important Questions

    I have my MEGA180 on order but I already have some important questions:
    1) This unit provides dual vga outputs. If I install my own AGP 8x card, will the VGA2 output still work? I read in the manual that installing an AGP card will disable VGA1 (default) but it doesn't say anything about the 2nd VGA output connector. I require 2 outputs since I will be connecting to an LCD and my HDTV monitor (using a VGA to Component Video Transcoder)
    2) Will there be performance hits by using the two vga outputs at the same time?
    3) The on-board video card doesn't have any video memory. It will use your existing DDR memory. I will have 512Meg Dual Channel Memory. What kind of performance I can expect from the built-in video card (NVidia NForce Crush18) compared to other AGP cards on the market?
    Thanks for your help!
    Sly

    Though I can not provide you with answers specific to the Mega 180, I can give you some more info.
    1) No. As soon as you install an AGP card, the onboard video will be fully disabled from within the BIOS. This is an nForce2 chipset setting. So make sure to get an AGP card with 2xVGA (as most cards have nowadays).
    2) No or not much. Using an nForce2 MoBo myself I haven't encountered performance loss using both VGA outputs.
    3) There's no way to compare the onboard video to an AGP card. AGP cards will have a far out better perfomance then the onboard video. But compared to other onboard video solutions around, like Xtreme Graphics, the nForce solution is far better and has far better performance.
    It all depends on what you will be doing with the MegaPC. If you're a gamer, get an AGP card. If you want to use it as an HTPC, keep with the onboard nForce2 solution. There's no need for extra here since the nForce2 chipset is great. Onboard sound from this chipset is also great. Try it out before spending $ on an AGP card you don't need.
    Hope this helped a bit.
    roma

  • E-Recruiting important questions

    I'm implementing the E-Recruiting and I have two important questions for this Project:
    1 - The business want to capture mobility (willingness to relocate / travel) at the time of position application. Is there a standard field for store this information?
    2 - Recruitment would like to be informed about a critical process, in others words, the requisition doesnu2019t compete with other priorities. How can I handle this situation?
    Thanks in advance!!!
    Sivani

    Hi Sivani,
    Questionnaire answers are stored in IT5141.  They are visible to the Recruiters when viewing the Candidates and can be used in rankings.  You can also decide for which positions this questionnaire would be required and which not. 
    Do not see a standard field to create a priority when creating a Requisition.  We added many fields, such as "eligibility for employee referral", so it can be added.  However, letting managers set the priorities could be a problem with each manager thinking his/her opening is most important. 
    Paul

  • Server Specs for a 11.1.1.3 Install Important questions.

    I've put together some specifications for a Development Server & Production Server, any comments appreciated. I hope this post acts as a good reference sample for anybody else out there looking to implement a Hyperion Planning.
    Client Tier: (2 developers)
    Windows
    8 GB RAM
    Dual Core Processor
    Components: EAS client, Smart View, Excel Add-in
    Web Tier:
    HTTP Web and J2EE Servers:
    Windows + (not sure which version would be best here, any ideas appreciated)+
    Processor: 4 x 3 GHZ, 64 bit
    RAM: 8GB
    Hard Drive: 32 GB
    Components: Foundation: HSS, Workspace, Planning, Web Applications: EAS, Financial Reporting, Web Analysis, Planning,
    Services Tier:
    Server1:
    Windows (2003 SP1, R2)
    Processor: 4 x 3 GHZ 64 bit
    RAM: 16 GB
    Disk: 32GB
    Components: Essbase Server 64 bit
    Server2:
    Windows (2003, SP1 R2)
    Processor: 2 x3 Ghz
    RAM: 8GB
    Hard Drive: 32GB
    Components: Reporting & analysis, Financial Reporting Print Services, ODI
    Server 3:
    Windows (2003, SP1 R2)
    Processor: 2 x3 Ghz 64 bit
    RAM: 8GB
    Hard Drive: 32GB
    Components: FDM
    Database Tier:
    4 x 3 GHZ - 8 GB RAM
    DISK: 100GB RDBMS
    200GB Essbase Storage
    The specifications will be similar for the production for abotu 25 - 30 users (10 concurrent), with RAM being a little bumped up.
    One important question: I might need guidance on installing 32 bit planning or FDM on the 64 bit server - any known issues with this? Also any known issues with 64 bit Essbase working with 32 bit Planning?
    Edited by: EssbaseApprentice on Sep 30, 2010 10:04 AM

    obviously its hard to comment on whether it is the perfect spec for your environment, it looks alright to me, it is not under spec.
    For the web tier as you are running reporting and analysis and the other machines are windows based personally I would stick with windows 2003.
    Is there any reason why you have one machine dedicated just to FDM, seems a bit of an overkill just for one product, it may be worth combining services server 2 with FDM, just a suggestion though
    John
    http://john-goodwin.blogspot.com/

  • Java Importer problem

    Where can i find java.lang.Exception class file which i must have for Java exception handling? I used find utility of Windows and did find a Exception.class file shown in directory "java/lang". But somehow i could not find such directory on my hard disk! I copied it to a self-named directory and then tried to import it into forms, i got an error 'no def found 'java/lang'.
    Please help. I need to get it to work urgently.
    Thanks.

    Ron,
    the java.lang.Excpetion class is part of the Java platform and don't need to be present in a separate directory on your PC. Just import java.lang.Exception as you can see it in the Java importer class tree.
    Frank

  • JAVA Import error

    Iam doing ABAP+JAVA system copy, ABAP stack imported sucessfully.During JAVA Import in target system iam gettting below error in the step"Backup/Restore database"  .I can start Oracle using sqlplus/nolog
    ERROR 2010-04-27 18:22:28.563
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-01012: not logged on
    ORACLE instance started.
    ERROR 2010-04-27 18:22:28.563
    MUT-03025  Caught ESAPinstException in Modulecall: ORA-01012: not logged on
    ORACLE instance started.
    let meknow your thoughts.
    - Jim

    Hi,
    Are you able to login to sqlplus from os. Since this is backup/restore method, you should have a successful restore before starting the import.
    check whether there are any errors in alert_SID.log file, if any then pls do update here.
    Regards,
    Kishore Soma

  • Important Questions to ask when developing in Workflow

    Hello All,
      I have two questions.
      I am not a Workflow developer, but I've been asked to find out information about creating a Workflow process.
    Here is what <b>I</b> need to know: What are important questions to ask the end-user when creating a workflow. What needs to be taken into consideration?
    Here is an example of the kind of thing we need to do:
    Send an email on a weekly basis to different Project Managers a Summary of Project Charges = (maybe CN41?)
    Each Project Manager will have different requirements, so  I guess one question will be: "What info do you want from this report?". What else do I need to know?
    My second question is this: I should be able to output this as an Excel, correct? How much can I customize this? I haven't done much SAP -> Excel work. Only when I go to System -> List -> Save -> Local File ->Spreadsheet.
    Thanks for the help.
    Don Fields

    Hello Don!
    WF is quite a complex topic and someone could write a book to answer your questions - actually there is already a good book available -> check: Practical Workflow for SAP
    http://www.sap-press.com/product.cfm?account=&product=H950
    Looking at your example their might not even be a need for a workflow but rather a job that runs periodically to send the required information via email to project managers.
    Workflow is mostly used if user actions are required e.g. confirm, approve, reject a request or notifications need to be sent to someone after an event or user action occured.
    Check this link for getting more information on how to download data to excel:
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Harald

  • Flash/java remoting question

    Hi,
    i'm new to flash remoting and am finding using it with java
    quite troublesome. I've also found using the FileReference class
    troublesome if you use java. my question is can you somehow tie the
    remoting functionality to the FileReference.upload method
    fucntionality??
    thanks in advance

    I will use the program with photo detector to test
    the response time of the LCD screenWhy Java?I second that. With a test like that, you want to reduce the experiment down to a single variable, in this case the lcd response time. Using a java program to feed the monitor input introduces a second variable, the response time of the program. The java program's timer may not be exact, the components may not be repainted completely quickly enough, etc. If this is just for your own amusement, maybe that doesn't matter, but if you want your results to have any reliability, you'll need a more accurate and controllable input source.

Maybe you are looking for

  • How to install plugins in Lightroom

    I've searched the forum but could not find a correct answer to this. I'm running LR 2.3 and Vista. I've tried using the Plug-in Manager in  Lightroom by going to file tab. When going to the location where I un-zipped the plugins, I always get the sam

  • Product wise COGS

    Dear All We need to create Plant wise balance sheet  to meet statutory requirement . And we have maintained  our manufacturing units as segment and as profit centre both. As per process Manufacturing units send goods to Selling Depots and selling dep

  • Will scripts run automatically ?

    If I shut down my Mac everynight(I live in a time zone 6 hours ahead of Eastern US time), will the scripts run automatically when I start it up the next morning...or...do I need a special utility application for this ?

  • Scrabbled picture on itunes store?

    I have reloaded itunes and synced my ipod but when I go on the itunes store the page is all scrambled. Please can anyone help?

  • Adding & removing music on the iPhone

    as a long-time iPod user, I immediately see that the way the iPhone uses music is very different - is there a tutorial somewhere that describes the differences? I can't quite figure them out on my own - so far it seems that you can't just open the mu