Answers access with Java (to enable more complex reports)?

Hello and thanks for reading,
I was wondering if there is a possibility to access BI Answers with Java (or an other procedural language) in order to realize more complex reports than what is possible with the graphical user interface.
Is there an alternative way to access BI Answers in order to build reports, which provides one with a great flexibility in report design?
Thanks for ideas
Evgeny

Are you trying to build more complex reports in OBIEE?
If you need to customize the obiee you can do by editing the html files in BI server and data folders. You can add ur own html code and tags there. Also to achive more complex formating you can use OBIEE Publisher that will let you to create your own rtf or pdf templates and upload it to the dashboards
Hope it helps
Prash

Similar Messages

  • Database access with Jave Web Start

    Can a java application, that has been deployed by using Java Web Start, access information from a database that's located on the web server from where the application was deployed?

    Yes, if you use the type 4 (ie, thin) driver and include the driver's jar file as part of the app.
    Technically you can do it with a thick driver but then you have first install the driver on the client machine and I assume this isn't what you are looking for,

  • FTP access with java

    How can i program ftp details to access my web site to upload a single html file.
    ta.

    I remenber having a similar problem. I found some Sun classes for using FTP, but of the pieces that I understood (as there was no documentation) I found inadequate.
    I ended up writing my own code to talk to the FTP server at socket level. You'll find out how to do this by reading RFC 959. Basically, you open a socket to the server, and send commands in text (like telnet). You usually use port 21 (the control port) for this, I think. The RFC will tell you what commands you can send, and what to expect back from the server. These commands are a little different from what you may have seen on most FTP utility programs (the DOS 'ftp' command-line utility for instance). The server will usually send back a text line that starts with 3-digit code that indicates whether you were successful, or what error occurred.
    To upload a file, you'll have to tell the server to connect to a specific port on the host that has the file (probably the same host that you're sending the commands from) using the 'PORT' command, and also tell it in what format the file is in, using a different command again.
    Having sent these commands successfully, you then issue the command to do the send, and the server daemon should connect to the port you specified, and try to read the file data. You should have a separate thread that listens on that port, and then sends the file contents when the socket is opened. When all the data has been sent, the thread should just close the socket.
    You should finally receive a response on the control port from the server, telling you if it worked, and if not, why.
    If you don't want to re-invent the wheel like I did, you might have to look around for FTP-specific java packages that someone has already written. I am sure there is such a thing. I haven't found one, but then I haven't done a serious search for one.

  • 6680: Camera access with Java app

    I have no problem with Symbian apps accessing my 6680's camera. AgileMessenger and ShotCode are good examples of this.
    But Java apps, e.g. Shoot&Send and MXit just show a blank white screen when it's supposed to show what the camera is seeing. And when you press Shoot, the app will generate an error. Friends with a 6680 experience the same problem. Is this a known issue? Firmware: v4.04.07, 22-08-05, RM-36

    Hi
    I'm running Shoot&Send successfully on a 6680 with exactly the same firmware version as you have. Be sure that you installed the Series60 version of Shoot&Send.
    Best is you open http://wap.shootsend.com/ with the native phone browser (not Opera), and your device model will be detected correctly.
    Silvano

  • WebLogic Server 9.2/10 Remote MBean Access with Java

    Hi -
    I wrote a monitoring client for WebLogic 8.1 and it was easy to navigate through the MBeans by using the typed classes like "ClusterRunTimeMBean". I would like to update this code to work with WebLogic 10. After reading the docs online I am still confused as to how (if) I can create an instance of the actual ClusterRuntimeMBean or if I have to use the JMX MBeanServerConnection.getAttribute() and MBeanServerConnection.invoke() to get access to the things I want.
    Is it possible to work with the MBeans in WebLogic 10 with instances of the MBean classes? If so, can someone please provide me an example of how to do it?
    Thanks,
    Jeff

    Hi..
    Checkout domain health http://sourceforge.net/projects/domainhealth
    Since it's open source then you can get a lot of pointers..

  • How to make PC database like VB6+Access with java?

    I mean the application has its own database and can be installed everywhere without SQL server. How can i do it?

    If you're not tied to MS ACCESS, I would look at the FREE HSSQL database from sourceforge. It's easy to use from JDBC and doesn't requre any other software, so its ideal for a program that needs its own private database.

  • Even with java script enabled, i still receive javascriptvoid(0) message

    attempting to watch NHL Hockey. Image is not refreshing. Javascriptvoid(0) message appears.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    There is also security software (firewall) that can disable JavaScript.

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

  • Can't find xml within jar with java webstart

    I use Jasper Reports,I am reading a xml file in my application.
    The code I use to read this xml file is:
    JasperCompileManager.compileReportToFile("xmlfile.xml","jasperfile.jasper");
    When I run this code in JBuilder it run fine.
    But when I compile the classes and this xml to my jar file,sign it and then try to run it in java Webstart.It tells me that it can not find the path.
    What is wrong?

    I don't know Jasper Reports, so I may be wrong here.
    A file inside a .jar file is not a file on the filesystem, and cannot be accessed with java.io file-related classes. You should use ClassLoader.getResource() to get an inputstream reading from it.

  • How to create a ms-access table with java?

    hi all
    i've my application and i want to add the capability to creat an access file (.mdb) and then, via SQL , create a table, with many columns of many types, and with a primary key too.
    i know that it's also an SQL problem, but i'm searching for it everywhere
    thanx for your reply
    sandro

    Hi,
    It would have been much better if you had specified your development environment- the database driver class depends on which environment you are working with. Forexample, if you are working with vj++6 you can make use of the com.ms.jdbc.odbc.JdbcOdbcDriver class. If you are using IBM's Visual Age for Java3.5 you can find the sun.jdbc.odbc.JdbcOdbcDriver. Oneway or another you should have the .class for jdbc-odbc(usu they have the form: xxx:jdbc:odbc:JdbcOdbcDriver). Check all the packages that are available in your development environment that have the form xxx.jdbc.odbc.JdbcOdbcDriver.(And not clear what you know and what you don't - so I start from the very elementary steps)
    Anyways, What you have to know is that it is not possible to create databases (e.g. .mdb) directly from a Java application(as far as I know). What is possible is to create new tables inside an already created database and process queries based on those tables.In short what I am saying is : you need to have a DSN before writing applications that create tables.
    Follow the following steps to create DSN(for win2000):
    1)Go to the control panel and click the 'administrative tools'
    2)In the 'administrative tools' click to open ODBC(data sources)
    3)Click the 'add' button and choose 'Microsoft Access driver'
    4)In the DSN text field enter the dsn (e.g., Test)
    5)If you want to create a table in an already existing database choose select and select one. However, if you want to create a new database click 'create' and enter a name for your database(e.g. ExampleDB.mdb). If you do this successfully it will issue a successfull operation message.
    6)Click advanced and enter the login name(e.g. Albert) and password(e.g. mxvdk) for the database
    7)Click 'ok's to finish the operation.
    After the above three operations what you will have is an empty database(with no tables) named "ExampleDB.mdb" in the directory you specified.
    Now, you can write a java application that creates a table inside the database "ExampleDB.mdb".
    Check this out:
    import java.sql.*;
    public class Class1{
    public Class1(){
    String userName = "Albert";
    String password = "mxvdk";
    String dsn = "Test";
    String databaseURL = "jdbc:odbc:"+dsn;
    //This is just an sql table creating statement- have nothing to do with java
    String sqlCreateStmt = "CREATE TABLE StudentTable" +
    "(StudentID varchar(32) PRIMARY KEY," +
    "name varchar(30)," +
    "age int)";
         try{
         Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
         }catch(ClassNotFoundException eCNF){
              System.err.println("ClassNotFoundException:");
              System.err.println(eCNF.getMessage());
         try{
         con = DriverManager.getConnection(databaseURL,userName,password);
         stmt = con.createStatement();
         stmt.executeUpdate(sqlCreateStmt);
         }catch(SQLException e){
    System.err.println("SQLException:");
    e.printStackTrace();
         //insert one sample data
    insertSampleData();
    private void insertSampleData(){
         String sampleStudentID = "scr-342-tch";
         String sampleStudentName = "Tom James";
         int sampleStudentAge = 24;
    //This is just an sql table updating statement- have nothing to do with java
         String sqlUpdateStmt = "INSERT INTO StudentTable VALUES ('"+
                             sampleStudentID+"','"+
                             sampleStudentName+"',"+
                             sampleStudentAge+")";
         try{
              stmt.executeUpdate(sqlUpdateStmt);
              }catch(SQLException e){
              System.err.println("SQLException:");
              e.printStackTrace();
    public static void main(String[] args){
    new Class1();
    private Connection con;
    private Statement stmt;
    //This program runs perfectly in my VJ++6.0 (console application mode) and also in my IBM's
    //visual Age for Java3.5 (with sun.jdbc.odbc.JdbcOdbcDriver as my database driver)
    //If you are developing in another development environment, what you need to change is the
    //"com.ms.jdbc.odbc.JdbcOdbcDriver" in Class.forName("com...") stmt.
    //If you run this program more than once, it will issue 'tableAlreadyExists' message
    If you still experience the problem, pls be specific and repost!

  • More complex JCO Server examples (ABAP to Java)

    JCo connections:
    I found a couple of good documents for connecting from Java to ABAP. Whenever it comes to the other direction (ABAP to Java), information is somehow rare.
    I had a look at the examples coming with the JCo lib, however I would like to find some more complex examples. Especially the transfer of larger result sets (obtained on the Java side) is interesting.
    Does anybody know something like this? I have tried Google, but somehow always the same few articles showed up.
    Any hints?

    You can also use the JCO RFC Provider Service of the Web Application Server for your ABAP to Java calls.
    The steps involved in that are
    1. Configure destination in SM59 in SAP.
    2. Create RFC Destination in Visual Admin.
    3. Create a stateless session bean with JNDI name as the name of calling function module in SAP.
    4. Add a business method public void processFunction(JCO.Funtion fn) which is called by the JCO RFC Provider Service. The name should be 'processFunction'.
    5. Set library references in application-j2ee-engine.xml to type weak for the following
        a. com.sap.mw.jco.
        b. com.sap.tc.Logging (if you are using the logging api )
    Here is the sample code for the EJB biz method
    Business Method.
         public void processFunction(JCO.Function function) {
              try {
                   // Get the import parameters for the function module
                   JCO.ParameterList importList = function.getImportParameterList();
                   logger.infoT("The value sent is" +
                   (String)importList.getValue("USER_NAME"));
                   // Set the export parameter value for the function module
                   JCO.ParameterList export = function.getExportParameterList();
                   export.setValue("From EJB", "RETURN");
                   function.setExportParameterList(export);
              catch (java.lang.Exception e) {
                   e.printStackTrace();     

  • Known problems or limits regarding accessing BDB with Java via JNI

    Hi,
    we are currently in an evalutation phase and are planning to use BDB (C|JE) as back-end for a queueing system. This system is written in Java. One key requirement is high availability of the data hold in the back-end. We need the guarantee, that no data is lost, e.g. data added after checkpoints. The throughput is expected to be quite high (> 10.000.000 records hold within one single BDB-environment (we would use n parallel BDB-envs inside the service).
    So i'm wondering about using JE or DB... The former doesn't provide a replication system but is a 100%-pure Java implementation, the latter is written in C and accessed via JNI, which adds some overhead and maybe instability issues but comes with an integrated replication system. JE would require us to develop an in-application replication system or to use a DFS for HA or something like that.
    Are there any known issues regarding using DB with Java via JNI? Or any other hints?
    TIA,
    Dirk

    Silly me, I forgot to mention that a null return value means that an exception was thrown so you should get that and print the value (although I suspect it will be "class not found").

  • File Access with unsigned Applet through editing the java.policy file

    I'am starting to lose my hair on this...
    I am trying to get an applet to run so that it can access the file system to move files on my local maschin. Because this applet is only running on my VM i can change the java.policy to avoid the signing of the applet.
    first of all, if i wrote in the java.policy file
    grant {
      permission java.security.AllPermission; 
    };everything is working perfekt.
    But I have not the intention to open the gates for any applet out there, so i want to limit the access to my applet. With every of the following versions I get at best an
    java.security.AccessControlException: access denied (java.io.FilePermission...
    My Setup
    My Java Version: jre1.6.0_02
    My applet is located unter the url
    http://admin.mydomain.com/applet.jar
    In Html i tryed the following different versions of loading the applet - none worked
    <applet codebase="http://admin.mydomain.com/" name="shortcut" code="start.class" archive="applet.jar" width="0" height="0"></applet>
    <applet codebase="http://admin.mydomain.com" name="shortcut" code="start.class" archive="applet.jar" width="0" height="0"></applet>
    <applet name="shortcut" code="start.class" archive="http://admin.mydomain.com/applet.jar" width="0" height="0"></applet>in java.policy i tryed following versions with every html applet load version
    grant codeBase "http://admin.x-press.de/-" {
      permission java.security.AllPermission; 
    grant codeBase "http://admin.x-press.de/+" {
      permission java.security.AllPermission; 
    grant codeBase "http://admin.x-press.de/applet.jar" {
      permission java.security.AllPermission; 
    };why is it with
    grant {
      permission java.security.AllPermission; 
    };working, and not with the other versions?
    i am almost bold now, please try to save my last hair from falling down.
    any suggestion would be nice
    thanks, feyyaz
    Message was edited by:
    feyyazdogu

    I read the mentioned documentation and your right, some of my versions were wrong, but after reading the doumentation again i came to following result which should had worked but didn't.
    java.policy
    grant codeBase "http://admin.mydomain.com/*" {
      permission java.security.AllPermission;
    HTML File
    <applet codebase="http://admin.mydomain.com/" name="shortcut" code="start.class" archive="applet.jar" height="0" width="0"></applet>if I am entering http://admin.mydomain.com/applet.jar i can download the jar, so the archive lays in the correct directory.
    what i am doing wrong? do i have to change an additional file somewhere else?

  • How to connect with Microsoft Access Database with JAVA

    I want to know the command and query to connect between MSAccess and JDBC.
    Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle.
    Which Database will be the best with Java?
    I also want to know to be platform indepadent which database is suitable?

    On Windows, you can use MS Access database by:
    Set up a System Data Source using the ODBC control panel applet.
    Use the jdbc:odbc bridge JDBC driver, and specify a jdbc url that points to the data source name you just specified.
    It's been too long since I've done this, so I don't remember the syntax of the jdbc url, but I'm sure that if you do a search for the jdbc:odbc bridge that you will find what you are looking for.
    As far as the question about which database is best, you will need to determine that based on your project requirements.
    If you want a quick and dirty, open source, cross-platform database, take a look at HyperSonic SQL.
    - K

  • Sending data during the call with java enabled mobile devices

    hi every one ,
    this is the problem :
    i have 2 mobile phone with java enabled os , i want to call (dial) from phone1 to phone2 with java code , (this will be done by platformRequest("tell:123456"))
    AND then i want to for example press key '1' in phone1 during the call some program send this key to phone2 and in phone2 i want to switch this key and understand that was key '1' ...
    how can i send this data for example a key pressed event to another phone with J2ME ???
    i am developing it with netbeans Mobile Application by the way ...
    could you please tell me your opinion and help me in this ,
    Thanks a lot ,
    Omid

    Hi Kanagaraja L,
    Thanks for you response.
    No I haven't created Created RFC Destination , this RFC destination will be of my JAVA system ???.
    I have tried creating the partner logical system in WE20 and dine the following steps:
    1. Partner No.   IDES800     Ides 800 System - Sender System
        Partn.Type    LS          Logical system
    2. The tab Post processing : permitted agent is filled with default parameters.
    3. Then in the outbound parameter table control I have pressed the add record button and got a new screen in
        which I have made the following entry :-
      Partner No.           IDES800        Ides 800 System - Sender System
      Partn.Type            LS             Logical system
      Partner Role          LS             Logical system
        Message Type      SYNCH                            ALE:Dummy Message Type for De
        Message code
        Message function
    Under tab Outbound options :
    Receiver Port  = A000000008  (This I have selected from F4 help)
    Basic type = SYNCHRON
    Saved it with the above data.
    Now I am not able to understand how to do the things you have mentioned in 3rd step in your reply.
    What are all the things I have to do kindly tell , as I am very new to Idocs so don't have much knowledge.
    Edited by: Rachit Khanna on Dec 7, 2009 1:49 PM

Maybe you are looking for

  • Adobe Premiere Pro Won't Export To Adobe Media Encoder?

    I Work for a news company and we use Adobe for aeverything we need. But when we take a little break from doing videos while we where moving to a new office space, and suddenly we start again and It decided not to export to the Adobe Media Encoder. Us

  • Mouse or keyboard will bring computer out of sleep

    I just installed a new hard drive, fire wire PCI card, and a USB 2.0 PCI card,and a new graphics card. Now when I put the machine to sleep, it goes to sleep ok, but the mouse and keyboard will not wake the computer, I have to push the power button to

  • Populating the condition tables

    hi , can anyone explain me clearly ,how to populate the condition tables programatically. its really urgent. regards, srikanth tulasi. Edited by: srikanth tulasi on Apr 9, 2008 11:02 AM

  • IPM in LMS 3.1

    1. I configured ICMP jitter but its not working. Is there any specific ios requirement for icmp jitter. i have given ip sla responder 2. Is path jitter same as ICMP jitter.

  • Runtime Error: "No memory space available ...."

    Hello I encountered a runtime error in my report program and goes something like this... <b>"No memory space available for extending table "I_PRICE"." What Happened? "You attempted to extend an internal table, but the required space was not available