How to use xdk for java

Hi,
I have downloaded the xdk for java and i have unzipped them into my c:\xdk-java folder.
I have oracle 8.1.7 database and i want to use this xdk for java to generate xml files.
How to start with this and how to use this tool to generate xml files from my database.
Anyone can give me the steps for using this and generating xml files.
Any help will be appreciated..

Hi,
You can start from reading the XSU document and try the demos come with the package. The document is at:
http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html

Similar Messages

  • How to use Barcode for Java

    First of all, If this is the wrong forum to post this, please tell...
    Now to the bussines:
    Surfing through the web I found something called Barcode For Java, and my question is how to implement in java, how to use it in a program, what's the purpose of it.Also if this is compatible with EasyEclipse for Java 1.3.1
    Any help would be appreciated, thanks

    Now let me get this straight.
    -- You don't know what this is
    -- You don't know what it's for
    -- You don't know how it's used
    So WTF do you know that makes you want to use it?
    db

  • How to use template for Java Servlets?

    Any suggestion? thx!

    using "Velocity", you can use templates, check out
    http://jakarta.apache.org/velocity/

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

  • XDK for PL/SQL vs XDK for Java

    Hi ,
    I am trying to find what version of XDK and whether it is for java or PL/SQL. I am confused after what I saw in our environment. Please clarify..
    When I run the getReleaseVersion() and do a
    select xmlversion from dual,
    I get
    Oracle XDK Java 9.0.1.1.0A Production
    Does this mean we have XDK for Java? not for PL/SQL?
    I also see PL/SQL packages for XMLDOM,XMLGEN.XMLPARSER,XSLPROCESSOR,DBMS_XMLQUERY,DBMS_XMLSAVE.
    Does this mean I have/not XDK for PL/SQL??
    Please clarify.

    XDK for PL/SQL is built based on XDK for Java. So that's why you got the result. It should also reflect the version you use.

  • How to use i for if condition in a for i in loop?

    Hi friends,
    I have a question on how to use i for IF condition in a loop, in order to get an efficient programming and results. Here is outlined SQL:
    cursor is
    select c1,c2,c3 from table1; -- 100 rows returned.
    open cursor
    loop
    fetch c1,c2,c3 into v1,v2,v3;
    for i in 1..3 loop
    if 'v'||i between 90 and 100 then
    v_grade := 'Excellent';
    elsif 'v'||i between 80 and 89 then
    elsif 'v'||i between 50 and 59 then
    end if;
    end loop;
    close cursor;
    This way, I don't need to use a lot of if..then for hard code v1,v2,v3,.... actually I have more v..
    But Oracle gave an error of this usage of 'if 'v'||i' or 'v'||to_char(i).
    Thanks for any advice in advance!

    user508774 wrote:
    Thanks for comments and advices. But I didn't get your inputs clearly. Are you saying I don't need to use PL/SQL to achieve this?Correct. Ronel and John showed you the basic approaches. SQL is not a mere I/O language for making read and write calls. It is a very capable, flexible and powerful language. One can solve a problem with a few lines of SQL code, that will take 100's of lines of PL/SQL or Java code.
    So do not underestimate what can be done in SQL.
    v_cmd := 'UPDATE parts_categ_counts SET w1='||v1||', w2='||v2||...||v9||' WHERE seq='||vseq||';
    EXECUTE IMMEDIATE v_cmd;This code is also wrong. Besides the fact that there is no need for dynamic SQL, this approach creates a brand new SQL statement each loop iteration.
    SQL is source code. It needs to be parsed (compiled). The end result is an executable program that is called a cursor. This cursor needs to be stored in server memory (the SQL Shared Pool in the SGA).
    The problem with your code is that it is slow and expensive - it generates lots of unique SQL statements that need CPU for parsing and server memory for storage.
    These add up to a very significant performance overhead. That is the wrong approach. The correct approach is the same one that you would use in any other programming language.
    Let's say you need to use Java to process a bunch of CSV files - exact same CSV layout used by each file. A file needs to be read, processed, and a log file created.
    Will you write a Java program that loops through the files, for each file found, write a Java program for processing that file, compile it, then execute it?
    Or would you write a Java program that takes the name of the file as input, and then process that file and writes the log file?
    The 2nd approach provides a program that can process any of those CSV files - one simply needs to pass the filename as an input parameter.
    Your code and approach use the 1st method. Not the 2nd. And that is why it is wrong.
    To create a SQL program with parameters is done by using bind variables. Instead of
    v_cmd := 'UPDATE parts_categ_counts SET w1='||v1||', w2='||v2||...||v9||' WHERE seq='||vseq||';
    The following SQL source code should be created:
    v_cmd := 'UPDATE parts_categ_counts SET w1=:v1, w2=:v2 ..., w9=:v9 WHERE seq= :vseq';
    The tokens with the colon prefix (such as :v1), are bind variables. Think of these as the parameters to the SQL cursor.
    The server parses this SQL into a cursor. You can now execute the same cursor over and over again, using different bind variables. (just like the 2nd approach above that one would use in Java)
    In PL/SQL, this is made even easier as you can code native SQL code with PL/SQL code and use PL/SQL variables in it. The PL/SQL compiler is clever enough to do the SQL parsing, variable binding, and cursor execution for you. So in PL/SQL, you would use:
    UPDATE parts_categ_counts SET w1=v1, w2=v2 ..., w9=v9 WHERE seq= vseq;
    Where v1 and the others are PL/SQL variables.
    That all said - PL/SQL is only used for data crunching, when the processing of data is too complex for the SQL language to deal with. And this is very seldom the case.
    The main reason for using PL/SQL it to provide processing flow control, conditional processing and error handling, for SQL code. As the SQL language does not have these features.

  • Problem in Uploading excel file using WebDynpro for Java

    Hi  All
    I have followed for Uploading excel file using WebDynpro for Java added by  Tulasi Palnati
    I done all, but I'm getting 500 Exception please contact u r system admin meag  at run time also  Jxl/Workbook class not found msag  but i downloaded Jxl.jar file and  there is no error signals  in coding part. How can I solve the Problem.
    Thanks
    Polaka

    Please ask the people in the Web Dynpro Java forum for a solution.

  • Reading/Writing .xlsx files using Webdynpro for Java

    Dear All
    I have a requirement to read/write excel files in .xlsx format. I am good in doing it with .xls format using jxl.jar. The jxl.jar doesn't support .xlsx format. Kindly help me in understanding how do I need to proceed on reading/writing .xlsx files using Webdynpro for Java.
    Thanks and Regards
    Ramamoorthy D

    i am using jdk 1.6.22 and IBM WebSphere
    when i use poi-3.6-20091214.jar and poi-ooxml-3.6-20091214.jar  to read .xlsx file. but i am getting following errors
    The project was not built since its classpath is incomplete. Cannot find the class
    file for java.lang.Iterable. Fix the classpath then try rebuilding this project.
    This compilation unit indirectly references the missing type java.lang.Iterable
    (typically some required class file is referencing a type outside the classpath)
    how can i resolve it
    here is the code that i have used
    public class HomeAction extends DispatchAction {
         public ActionForward addpage(
                             ActionMapping mapping,
                             ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response)
                             throws Exception {     
                             String name = "C:/Documents and Settings/bharath/Desktop/Book1.xlsx";
               FileInputStream fis = null;
               try {
                   Object workbook = null;
                    fis = new FileInputStream(name);
                    XSSFWorkbook wb = new XSSFWorkbook(fis);
                    XSSFSheet sheet = (XSSFSheet) wb.getSheetAt(0);
                    Iterator rows = sheet.rowIterator();
                    int number=sheet.getLastRowNum();
                    System.out.println(" number of rows"+ number);
                    while (rows.hasNext())
                        XSSFRow row = ((XSSFRow) rows.next());
                        Iterator cells = row.cellIterator();
                        while(cells.hasNext())
                    XSSFCell cell = (XSSFCell) cells.next();
                    String Value=cell.getStringCellValue();
                    System.out.println(Value);
               } catch (IOException e) {
                    e.printStackTrace();
               } finally {
                    if (fis != null) {
                         fis.close();
                return mapping.findForward("returnjsp");

  • Accessing knowledge management documents using webdynpro for java

    Dear all,
    iam having some documnets in KNLOWLEDGE MANAGEMENT documents folder in portal using webdynpro for java clicking on a link means perner(employee no) i should get that perpicular employee number documents.
    examples documents are stored like this in knowledege management folder 20016319.pdf  ,  20016397.pdf  ,  20016398.
    how to access those employee using webdynpro for java for perticular employee number if i want 20016319
    Send me the code for above requirement and where i have to wrirte that code exactly
    Regards

    Dear Kishore,
    To get the Employee ID you have to create a Adaptive RFC Model (call BAPI) which will return you the employee pernr, for this
    1. Create a model using  : BAPI_EMPLOYEE_GETDATA
    2. Get User ID using the code
    public java.lang.String getUserID( )
        //@@begin getUserID()
         String userID = new String();
              try
                    // getting Logged in userid
                   IWDClientUser myUser = WDClientUser.getCurrentUser();
                   userID = myUser.toString().substring(19).trim();
                   StringTokenizer filterdUID = new StringTokenizer(userID,")");
                   userID = filterdUID.nextToken();
              catch (WDUMException e)
                   e.printStackTrace();
                   return userID;
        //@@end
    3. Execute the BAPI
    public java.lang.String getEmployeeID( java.lang.String userID )
        //@@begin getEmployeeID()
         String employeeID = new String();
              Bapi_Employee_Getdata_Input employeeData = new Bapi_Employee_Getdata_Input();
              Bapi_Employee_Getdata_Output outData = new Bapi_Employee_Getdata_Output();
              Bapip0105B comm = new Bapip0105B();
              com.sap.aii.proxy.framework.core.AbstractList list = new Bapip0105B.Bapip0105B_List();
              list.add(comm);
              employeeData.setUserid(userID);
              Calendar cal = Calendar.getInstance(Locale.UK);
              Date date = new Date(cal.getTimeInMillis());
              employeeData.setDate(date);
              employeeData.setAuthority_Check("");
              employeeData.setCommunication(list);
              outData.addCommunication(comm);
              wdContext.nodeBapi_Employee_Getdata_Input().bind(employeeData);
              wdContext.nodeOutput_BAPI().bind(outData);
            try
                   wdContext.nodeBapi_Employee_Getdata_Input().currentBapi_Employee_Getdata_InputElement().modelObject().execute();
                   wdContext.nodeOutput_BAPI().invalidate();
            catch (WDDynamicRFCExecuteException e) {printMsg("Failed to Obtain Employee Data");
                 e.printStackTrace();
            employeeID = wdContext.nodeBapi_Employee_Getdata_Input().nodeOutput_BAPI().nodeOrg_Assignment().currentOrg_AssignmentElement().getPerno();
            return employeeID;
        //@@end
    Hope it Helps!!
    Warm Regards
    Upendra Agrawal

  • Urgent: who ever use Forte for java ---thanks a lot

    who ever use forte for jave :
    i have some problems..
    1. how to config forte for jave to import the libs which i have programmed and stored in .jar file.
    2. how to setup the application sever and tomcat in Forte for java.
    3. how to use the EJB(which i have programmed) in forte for java.
    before i use JBuilder and i am quite new to Forte for java
    thanks a lot .

    2. how to setup the application sever and tomcat in Forte for java.Tomcat is built into Forte. Once you create web module, you can configure the tomcat server.
    3. how to use the EJB(which i have programmed) in forte for java.What do you mean with "use". You have to deploy them to your EJB container in order to be able to "use" them.
    If you are looking for support for a specific container:
    I think support for the reference implemenation is already built in.
    And I have seen a module to support Oracle's IAS somewhere on the Forte homepage
    Docs on NetBeans/Forte
    http://www.netbeans.org/about/books/index.html
    http://www.netbeans.org/ide/docs/index.html
    http://forte.sun.com/
    Thomas

  • XDK For Java/Unix Download Garbaged

    I have just downloaded the XDK for Java on Unix but am unable to gunzip it. I get the message from gunzip
    $ gunzip xdk_java_8_1_7_1.tar.gz
    gunzip: xdk_java_8_1_7_1.tar.gz has more than one entry -- unchanged
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Stephen Hindmarch ([email protected]):
    I have just downloaded the XDK for Java on Unix but am unable to gunzip it. I get the message from gunzip
    $ gunzip xdk_java_8_1_7_1.tar.gz
    gunzip: xdk_java_8_1_7_1.tar.gz has more than one entry -- unchanged<HR></BLOCKQUOTE>
    Same thing happened to me,
    I had to use 'unzip xdk_java_8_1_7_1.tar.gz'
    which did unzip it.
    Even still, the directory structure you get is nothing like it says in the release notes. (Same thing happens with the Windows version)

  • How to use multithreading for asynchronous operation

    hi! i am really new to java, i want to improve the performance of my code, some suggested to implement asynchronous operation using multithreading. Please help me how to use multithreading for asynchronous operation. thanks in advance.

    http://java.sun.com/docs/books/tutorial/essential/threads/
    Note, however, that just making something multithreaded won't necessarily improve performance. You either need multiple CPUs or there needs to be some I/O going on that blocks while something else could be done--other I/O or computing.

  • XDK for Java: dateTime validation error

    Hi,
    I am using Oracle XDK for Java. I created an XML Schema where I have an element of type xs:dateTime. Proper value for this field is for example: '2002-10-16T12:24:15+02:00'. But when I validate this value I get: class java.lang.NumberFormatException: For input string: "02:00".
    This is probably a bug in XDK, but is there any workaround for this?
    Thanks in advance
    Jacek Chmielewski

    Jinyu,
    I guess the next release will need to be waited for as I have
    not been able to get you to respond to my questions.
    In the meantime, I'll have to use Sun's JAXB as I know it will
    generate the classes I want.
    jim
    PS: I am still available to work through this with you, but I
    need to move forward.

  • XDK for Java for Oracle8i

    Hello,
    I want to download the XDK for Java for Oracle8i, I dont see it in the download section. I see only for Oracle 9i. Can anyone tell me where it has been moved? I have the database in Oracle 8i.
    Thanks.
    Rama.

    Use the XDK for 9i, it also works for 8i (but make sure to use the right version of classes.zip and xsu.jar).

  • How to Use 'uid' for AD Users Without Domain Name For User Log in OAM

    How to Use 'uid' for synchronized Active Directory (AD) Users into Oracle Internet Directory (OID) Without Domain Name For User Logins in OIDDAS and OAM
    We successfully integrated OAM 11g with EBS R12.1.3 Now all the AD user id's stored in fnd_users table as [email protected]
    How can we remove @abc.com
    We are using OID 11g and OAM 11g
    Found the similar note for OID 10G: How to Use 'uid' for AD Users Without Domain Name For User Logins in OIDDAS and SSO [ID 580480.1]
    We are in OID 11g.
    Any help on this greatly appreciated.

    I couldn't find any reference that could be helpful -- Please log a SR and see if this is supported and if the steps are available.
    Thanks,
    Hussein

Maybe you are looking for

  • SAP PI 7.1 - Runtime Workbench Error - "Service Unavailable"

    Hi there, We have just installed SAP PI 7.1 on an iSeries 6.1 server, all seems to be successfully installed except that the runtime workbench will not start. It seems to be that the runtime workbench service was not deployed successfully during the

  • Best Mini Display to DVI adapter for 2011 17" MBP w/no blocked ports!

    I am looking to get a Mini Display to DVI adapter for my 2011 17" MBP. +(Preferably it would even be one with a 6' cord.)+ It is not clear which one I should buy. Apple's (adapter only, no cord), is $30, while I can see others for far less on Amazon.

  • How do i burn my itunes library onto a cd so that it can be played in a car

    I want to burn some of the songs within my itunes library onto a cd to give to my Aunt. I tried this once already and the songs would play on radio but only from one speaker. How do I burn my playlists onto cd and have it play correctly? (out of both

  • Acrobat X freezes when I run the search function

    Every time I run the search function Acrobat X, Acrobat freezes and then locks up. This is happening on two different computers, both of them are running Acrobat 10.1.1. I've also repaired both installations through the control panel in Windows 7.any

  • Making images size of browser

    hey guys, Does anyone know how to make a flash the size of the viewer's browser? I also created the layout of the website in photoshop and exported the file into dreamwearver. I've been trying for hours to make the layout the size of the browser, I a