Using curl in java

Hi
i am using libcurl in java..i have downloaded all the source files(5) of libcurl & dll files(3).
placed them in Test Package & compile them..
all the dll s are loading fine
& created my own curl.java
package curlPackage;
import Test.*;
public class curl
public static void main(String[] args)
try
//System.loadLibrary("javacurl");
String url = "http://www.shaadi.com";
CURL c = new CURL();
CurlGlue cg = new CurlGlue();
cg.setopt(c.OPT_URL,url);
int result = cg.perform();
cg.finalize();
System.out.println("result:"+result);
catch(Exception e)
System.out.println("Exception:"+e);
but when i am trying to run this.
it is giving me the following error
Exception in thread "main" java.lang.UnsatisfiedLinkError: Test.CurlGlue.jni_init()I
at Test.CurlGlue.jni_init(Native Method)
at Test.CurlGlue.<init>(CurlGlue.java:59)
at curlPackage.curl.main(curl.java:14)
Java Result: 1
PLEASE HELP ME.....
& if anybody used javacurl please help me

HI,
I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru pgm.So I hav i Got JCurl .But i dont have Curlclass files & Curl Glue etc.For installing curl in java any dll files must be loaded...? So can u help me out. Iam in Hectic .So just can u send links regardings this class files.please I eil be waiting for ur reply........
JCurl_code provides API.But I need java files of Curl.
Thanx In advnce.

Similar Messages

  • Trouble with using curl

    hi all
    iam using curl with java as it is the requirement of the client.
    however i mange to have libcurl from curl websit it give the following error:
    Exception in thread "main" org.curl.CURLError: Critical libraries couldn't be loaded
    at org.curl.CURL.error(CURL.java:1451)
    at org.curl.CURL.error(CURL.java:1386)
    at org.curl.CURL.error(CURL.java:1377)
    at org.curl.CurlGlue.error(CurlGlue.java:70)
    at org.curl.CurlGlue.<clinit>(CurlGlue.java:171)
    at demotest1.main(CuRl1.java:15)
    Has anybody any idea about this error or howto use the curl with java

    the source code for the curl that i am using in java is
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    import org.curl.*;
    import java.lang.*;
    class test
         public void curl_connect()
              Runtime     rt=Runtime.getRuntime();
              String ls_str="";
              try
                   String urlpath="qawww.rapidclaims.com/login.php";                    
                   String CreateProcess ="";               
                   System.out.println("inside cURL process");               
                   CreateProcess = "c:\\curl\\curl.exe https://" + urlpath;
                   Process pr = rt.exec(CreateProcess);
                   InputStream stderr = pr.getErrorStream();
                   InputStreamReader isr = new InputStreamReader(stderr);
                   BufferedReader br =new BufferedReader(isr);
                   String line = null;
                   while ((line = br.readLine())!= null )
                        System.out.println(line);
                   CurlGlue cg = new CurlGlue();
                   cg.setopt(CURL.OPT_WRITEFUNCTION, 2);
                   cg.setopt(CURL.OPT_VERBOSE, 3);
                   cg.setopt(CURL.OPT_FOLLOWLOCATION, 1);
                   cg.setopt(CURL.OPT_SSL_VERIFYPEER, 0);
                   cg.setopt(CURL.OPT_SSL_VERIFYHOST, 0);
                   cg.setopt(CURL.OPT_SSLCERTTYPE, "PEM");
                   cg.setopt(CURL.OPT_SSLVERSION, 3);
                   cg.setopt(CURL.OPT_HTTPPOST, 1);
                   int result = cg.setopt(CURL.OPT_URL,"92.168.1.102,mangesh/receiver.php" );
                   // post method
                   cg.setopt(CURL.OPT_POST, 1);
                   // IS THIS THE RIGHT WAY TO SET SIMPLE POST DATA?
                   cg.setopt(CURL.OPT_POSTFIELDS, "some post data");
                   // IS THIS THE RIGHT WAY TO SET COOKIE?
                   String cookieString= "";
                   if(cookieString != null)
                   cg.setopt(CURL.OPT_COOKIE, cookieString);
                   cg.perform();
              catch(Exception ee)
                   System.out.println("error traced");
                   ee.printStackTrace();
    class test1
         public static void main(String args[])
              try
                   test t12= new test();
                   t12.curl_connect();
              catch(Exception ee)
                   ee.printStackTrace();
    }               Message was edited by:
    centurions

  • Curl in java (needs Java files in JCurl_code)?

    HI,
    I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru java pgm.So I hav i Got JCurl .But i dont have Curl java files & Curl Glue etc.For installing curl in java any dll files must be loaded...? So can u help me out. Iam in Hectic .So just can u send links regardings this class files.please I eil be waiting for reply........
    JCurl_code provides API.But I need java files of Curl.
    Thanx In advance.

    Hello,
    I need to to execute java pgm from which i need open the url which i have mentioned in pgm.But i have got JCurl_code in which only API 's is there.But I need to get source files Curl.java Curl_Glue.java,etc. And I wil use this curl for parsing purpose. Just I need java files.
    package org.curl;
    public class curl_java
    public static void main(String args[])
              try
                   //System.loadLibrary("javacurl");
                   String url = "http://www.yahoo.com";
                   CURL c = new CURL();
                   CurlGlue cg = new CurlGlue();
                   cg.setopt(c.OPT_URL,url);
                   int result = cg.perform();
                   cg.finalize();
                   System.out.println("result:"+result);
              catch(Exception e)
              System.out.println("Exception:"+e);
         Here is the link of curl _ java package : http://sourceforge.net/projects/javacurl . So I am need of Java files
    I am in trouble. So plz help me out
    prashu.dr

  • Need info on Curl vs Java

    hi, has anyone evaluated Curl ? how does it
    compare with Java 2D ?

    Java 2D is a graphical API belonging to Java. It allows Java applications to draw pixels, lines, polygons, etc. to graphical contexts. But all of this is in the context of Java, which can be run anywhere, anyhow, ya know.
    Curl is a new language that was designed especially for creating Web applications. It's not a full-blown language like Java. Although it does have scripting functionality, and an object-oriented programming language methodology. The Curl language can be used with existing Web technologies, such as HTML, CGI and JavaScript, and multimedia animation tools; it can also be used in place of them.
    I think it really depends on what you are doing. Using Curl might be great if all you have to do are web apps. But if you are doing high tech image processing, or game programming, I think I'd go with Java.

  • Using NVARCHAR2 in Java

    I want to update a NVARCHAR2 data field in a Java program. I can't insert/update the data field using variable with standard Java data type. After checking in documents in OTN, I found the only way to insert/update the NVARCHAR2 data is using a variable with NVARCHAR2 definition. But it isn't a standard Java data type. How can I update a NVARCHAR2 field in Java program ?
    null

    HI,
    I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru pgm.So I hav i Got JCurl .But i dont have Curlclass files & Curl Glue etc.For installing curl in java any dll files must be loaded...? So can u help me out. Iam in Hectic .So just can u send links regardings this class files.please I eil be waiting for ur reply........
    JCurl_code provides API.But I need java files of Curl.
    Thanx In advnce.

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • Could not lookup PortalManagerHome in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager

    Hi
    I am just a starter on WLPortal.
    I have created a barebone Application from scratch. I have synchronized it properly
    from EBCC to WLP. But When I am trying to access the home page of my application,
    I am getting from stack trace -
    <Nov 6, 2002 5:37:59 PM IST> <Error> <PortalAppflow> <Could not lookup PortalManagerHome
    in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager.
    javax.naming.NameNotFoundException: Unable to resolve comp/env/ejb/PortalManager
    Resolved: 'comp/env' Unresolved:'ejb' ; remaining name 'PortalManager'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:802)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:209)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:173)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:181)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
    at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:36)
    at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:124)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at com.bea.p13n.util.JndiHelper.lookupNarrow(JndiHelper.java:96)
    at com.bea.portal.appflow.PortalAppflowHelper.<clinit>(PortalAppflowHelper.java:64)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.init(PortalWebflowServlet.java:78)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    <Nov 6, 2002 5:37:59 PM IST> <Error> <HTTP> <[WebAppServletContext(19695286,FirstWebApp,/FirstWebApp)]
    Servlet failed with Exception
    java.lang.NullPointerException:
    at com.bea.portal.appflow.PortalAppflowHelper.createPortalManager(PortalAppflowHelper.java:82)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalRequest(PortalWebflowServlet.java:187)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    When I decompiled the class PortalAppflowHelper, I found a static block in it,
    which was as under-
    static
    debug = Debug.getInstance(com.bea.portal.appflow.PortalAppflowHelper.class);
    try
    if(debug.ON)
    debug.out("Looking up PortalManagerHome using EJB reference java:comp/env/ejb/PortalManager");
    portalManagerHome = (PortalManagerHome)JndiHelper.lookupNarrow("java:comp/env/ejb/PortalManager",
    com.bea.portal.manager.ejb.PortalManagerHome.class);
    if(debug.ON)
    debug.out("Successfully retrieved PortalManagerHome " + portalManagerHome);
    catch(Exception e)
    PortalAppflowLogger.errorFindingPortalManagerHome("java:comp/env/ejb/PortalManager",
    e);
    I have checked the PortalManager's JNDI name on WLConsole. Its ${APPNAME}.BEA_portal.PortalManager.
    Should I change it?
    When I tried to change it, I started getting other weird errors.
    Thanks
    Neeraj Hans

    Neeraj -
    The Portal framework code (including PortalAppflowHelper) uses ejb
    references to find the PortalManager (and other EJBs) from servlets and
    taglibs; that is what is signified by the java:comp/env/... name.
    Since you built your webapp from scratch (instead of using the portal
    wizard), you will need to make sure the you have the appropriate
    <ejb-ref> entries in your web.xml, and the corresponding
    <ejb-reference-description> entries in your weblogic.xml. By default,
    you will need at least mappings for:
    - ejb/PortalManager
    - ejb/UserManager
    - ejb/GroupManager
    - ejb/PipelineExecutor
    - ejb/EventService
    See either the resulting webapp from using the portal wizard or
    BEA_HOME/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/sampleportal/WEB-INF
    for example syntax.
    Greg
    Neeraj Hans wrote:
    Hi
    I am just a starter on WLPortal.
    I have created a barebone Application from scratch. I have
    synchronized it properly
    from EBCC to WLP. But When I am trying to access the home page of my
    application,
    I am getting from stack trace -
    <Nov 6, 2002 5:37:59 PM IST> <Error> <PortalAppflow> <Could not lookup
    PortalManagerHome
    in the JNDI tree using EJB reference java:comp/env/ejb/PortalManager.
    javax.naming.NameNotFoundException: Unable to resolve
    comp/env/ejb/PortalManager
    Resolved: 'comp/env' Unresolved:'ejb' ; remaining name 'PortalManager'
    at <stack trace lines snipped>
    When I decompiled the class PortalAppflowHelper, I found a static
    block in it,
    which was as under-
    static
    debug =
    Debug.getInstance(com.bea.portal.appflow.PortalAppflowHelper.class);
    try
    if(debug.ON)
    debug.out("Looking up PortalManagerHome using EJB
    reference java:comp/env/ejb/PortalManager");
    portalManagerHome =
    (PortalManagerHome)JndiHelper.lookupNarrow("java:comp/env/ejb/PortalManager",
    com.bea.portal.manager.ejb.PortalManagerHome.class);
    if(debug.ON)
    debug.out("Successfully retrieved PortalManagerHome "
    + portalManagerHome);
    catch(Exception e)
    PortalAppflowLogger.errorFindingPortalManagerHome("java:comp/env/ejb/PortalManager",
    e);
    I have checked the PortalManager's JNDI name on WLConsole. Its
    ${APPNAME}.BEA_portal.PortalManager.
    Should I change it?
    When I tried to change it, I started getting other weird errors.
    Thanks
    Neeraj Hans

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • Problem with HowTo guide - Use the BI Java SDK in a Web Dynpro Application

    Hello,
    I am following the HowTo guide - Use the BI Java SDK in a Web Dynpro Application
    at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">this link</a>.
    I have configured the connector on the WAS as needed.
    The problem is that when I run the application I receive an Unauthorized error on the connector URL.
    If I open this URL on a browser I receive a pop-up for UID and PWD and when I enter the same UID and PWD I used to configure the connector I am able to login and see the WSDL.
    Any ideas?

    I've never tried using BI in WebDynpro !!!
    But i foond one posting on the connection problem https://forums.sdn.sap.com/click.jspa?searchID=955524&messageID=2133396
    Regards,Anilkumar

  • Facing problem to Use a custom Java class in UCCX

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin-top:0in;
    mso-para-margin-right:0in;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0in;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Hi,
    We are using Communication manager 7.0.1 and UCCX version 7.0.1(Cisco Unified CCX Premium).  We are trying to call a Custom Java class file from UCCX scripting. We have followed the steps mentioned in the guide (How-To: Using a custom Java class in UCCX 5.x (SOAP Example)). See below link.
    http://www.avholloway.com/vtools/ipcc/custom-java/soap/
    After completed all the steps we have got the variable type SimpleSOAP at script but we did not found it to object constructors or object attributes (plz find the attached screenshots). We will appreciate if you plz guide us to solve the issue.
    Thanks
    Fakhrul
    LEADS Corporation Ltd.

    Hello, Fakhrul.
    I'm sorry to see you were not able to find the information or help you were looking for here in the Contact Center community forum.
    You may be able to find more help through the Cisco Developer Network.
    Also, you might want to consider engaging Cisco Advanced Services via your account team to assist with UCCX custom scripting.
    Thank you, and good luck.
    -Paulo

  • Creating sales order using web dynpro JAVA

    Hello everyone,
    i am new to web dynpro. Can any one tell me how to creating sales order by web dynpro JAVA using BAPI.
    Thanks.
    Vinita Sharma

    Hi...
    you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
    Here are required Bapis... select which one you want....
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    check this thread SALES ORDER creation using BAPI
    sample java program which will call SAP bapi function sales order create
    PradeeP

  • Should I use a separate JAVA instance for ADS

    My customer has Enterprise portal and R/3 installed already.  Now they want ADS installed.  Would it be best to install a new JAVA instance for ADS or should I use the existing JAVA instance that is installed for the portal?  I think the customer is preferring to use a separate instance so nothing already installed breaks.  Also, if I do use a separate JAVA instance, should I connect to the portal through SLD?
    Thanks,
    Peggy

    Hello,
    Installation of new java instance for ADS (or) using the one available inthe portal java instance depends on the following factors:-
    1) How much extra load can the existing java instance handle
    2) What is the user case and expected load for ADS in the customer landscape?
    3) Whether ADS will be used exclusively for portal ?
    Following link may give you a better idea of whether to use ADS within applicaiton portal (or) use standalone ADS
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0ce3d21-cb09-2e10-36b0-e4c8167389f6?quicklink=index&overridelayout=true
    Rgds,
    Mat.

  • Problem in using 'ReceivedDateTerm' in Java Mail

    Hi there,
    I have problem in using 'ReceivedDateTerm' in Java Mail. I am able to search on all other criterias but when I try any kind of date search I don't get any message back. For example I send an email and then I try to search that email using the following code I don't get any message back:
    ReceivedDateTerm dateTerm = new ReceivedDateTerm(ComparisonTerm.EQ, new Date());
    SearchTerm term = dateTerm;
    // Other code
    // Get messages
    Message[] msgs = folder.search(term);
    Please help???
    Thanks & Regards,
    Ajay Singh

    The documentation for those classes is absolutely horrible. For example it doesn't say whether the time component of the Date is used, or ignored. It's possible you are asking to find all messages that were received at the exact millisecond you ran that code.

  • How to use the Public Java API

    Is it possible to use the Public Java API to write a custom transformation in Java and use this in OWB. i.e. Say I have a Dateofbirth field in my source database and an Agegroup field in the target database, and I write a transformation in Java to take the Dateofbirth as an input parameter to the method and calculate the Agegroup e.g. 25-30, and return it from this method which then populates the Agegroup field in the target database. If so, how do I go about this?

    Martin,
    In general, yes you could... but you do not need to. You could use the UI to implement this requirement. The public Java API is there for you to manipulate metadata. How you implement your system, is independent of that.
    The way you would go about the case you just mentioned... you would write the Java code, deploy it into the database, wrap it in a PL/SQL procedure or function, and call it from OWB.
    Would this be a good idea...? I think no. Unless you have very complicated calculations that can only be performed in Java, I strongly encourage you use the PL/SQL language. Reason being: transformation will be much faster, because there is no need to translate PL/SQL into Java and back again.
    Hope this helps,
    Mark.

  • Simple XML to Text onversion using XSLT and Java?

    Hi all!
    I'm completly new to using XSLT and Java and are trying to convert a XML file into a ordinary Textfile that I am gonna import into another application.
    I started up writing a ordinary XML parser in Java which interpreted the XML file, but realized later on that it was possible to do with a ordinary XSLT.
    So far it is a 2-step process right now, I've tied my XSLT to the XML file and then just open the XML file up in a ordinary browser and then get the result.
    I found an example (http://www.onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=3) where u hook up a XML file and a XSL file separately and the process it, and dump it to Stdout. But do I need to hook up a XSL file like this when the XML file is tied to a XSL file internally?

    Just to give you an example to show you how easy it is: http://www.daniweb.com/forums/thread137587.html

Maybe you are looking for

  • Sign Document is greyed out, option not available

    I am trying to sign a form I have filled out digitally, all fields are open including signature block but the Sign Document under tools is greyed out. the form's title includes "(SECURED)" after .pdf.  is there a security setting I need to remove?  H

  • Decrease the space between the columns.....

    i have a tabular region, in that region i have 10 columns, the space between the columns have more space. i would like to decrease the space between the columns. how to do this? Thanks and regards, skud.

  • Re: How to display single I / P Frames with Dripfeed

    Thanx Steve and Jean Luc! I did use single MPEG-2 files to feed to the Player, but I couldn't save single P-Frames as they always need an I-Frame in a GOP (I used TMPEGenc to build I-Frames). If you know a Tool to do that, I would be grateful if tell

  • NEWBIE - OC4J doesnt start

    Hi I just tried to install OC4J and Oracle Real Time Decision Server... I did everything as described in the manauals, but when I try to start OC4J I get this error message: C:\Program Files\OC4J\bin>oc4j -start Starting OC4J from C:\Program Files\OC

  • Remove unchecked artists/albums etc

    For some reason when I check check "selected playlists, artists and genres" and uncheck the artists I do not want on the iphone they are not removed. Reading the forums it was indicated that songs that are part of a playlist will not be removed so I