Example for Tagging API using EJB3.0 on Jboss Application Server

Hello Friends
In EJB 3.0 development I am searching for Taging API implementation using JBOSS application server and Netbeans 5.
If anyone has tutorial to do so please post the link.
Thanks in advance.
Ravi Phulari

Hello Friends
In EJB 3.0 development I am searching for Taging API implementation using JBOSS application server and Netbeans 5.
If anyone has tutorial to do so please post the link.
Thanks in advance.
Ravi Phulari

Similar Messages

  • Use of JCo in JBoss Application Server

    Hi All
    does anyone know if the SAP JCo drivers are supported in other Application Servers (e.g. JBoss 6) ?
    Thanks a lot in advance

    The short answer is yes.
    The longer answer:
    As I am aware of, SAP does not guarantee that they work in application servers other than SAP WebAS per se, but I know that they work at least in Tomcat and Websphere. JCo does not include dependencies on the application server architecture and can also run locally with a Java application on your machine.
    As JCo involves native code, there is a limitation on what Java/OS platform it is supported. For the current JCo 3.0, you may refer to SAP Note 1077727 for compatibility with your Java version and Operating System platform you run with JBoss.
    Edited by: Christian Wunderlich on Jul 14, 2011 6:42 PM [minor spelling fixes]

  • Can I create a file using pl/sql code in application server ?

    Hi
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?
    Please help me with an example...in this regard
    Regards
    Sa

    864334 wrote:
    I wanted to create a file(any kind of file .txt .csv .exe etc..) using pl/sql code in application server?And how is this "file" to be delivered?
    Files can be created by PL/SQL code and stored in the Oracle database as CLOBs. This a fairly easy and robust process. It runs entirely in the database. It conforms to transaction processing. The "file" (as a CLOB) resides in the database and can thus be secured via database security, is part of database backups and so on.
    The basic issue is how to deliver the contents of the CLOB to the user. If via FTP, then the database can directly FTP the contents of the CLOB to the FTP server as a file. If via HTTP, the database can deliver the CLOB as a HTTP download directly to the web browser.
    If the client is Java or .Net, then the CLOB contents can be delivered via SQL or DBMS_LOB or a custom PL/SQL interface.
    In such cases, there is no need to step outside the secure and flexible database environment and create a physical o/s file in the wild (outside the controls of database security, data integrity and transaction processing). This is thus recommended and is the preference.

  • Adding JBoss Application Server for Monitoring

    How do you add a JBoss Application Server for monitoring? Is there a way to add it silently like silent install of the host target?

    It is a manual process, you need to launch Jboss discover UI using Targets > Middlware page.
    Also, please use JVMD for more detailed analysis.
    You need to specify JARs based on the version of the JBoss -
    Note - Please check the support site for exact certified versions of JBoss.
    JBoss 4:
    dom4j.jar jboss-management.jar jnp-client.jar
    jbossall-client.jar jboss-client.jar
    JBoss 5:
    concurrent.jar jboss-javaee.jar jboss-serialization.jar
    dom4j.jar jboss-jsr77-client.jar jbosssx-as-client.jar
    jbossall-client.jar jboss-logging-spi.jar jbosssx-client.jar
    jboss-client.jar jboss-management.jar jnp-client.jar
    jboss-common-core.jar jboss-remoting.jar jboss-integration.jar jboss-security-spi.jar
    JBoss 6:
    concurrent.jar jboss-management.jar
    dom4j.jar jboss-remoting.jar
    jbossall-client.jar jboss-security-spi.jar
    jboss-client.jar jboss-serialization.jar
    jboss-common-core.jar jbosssx-as-client.jar
    jboss-ejb-api_3.1_spec.jar jbosssx-client.jar
    jboss-integration.jar jboss-transaction-api_1.1_spec.jar
    jboss-jsr77-client.jar jnp-client.jar
    jboss-logging.jar
    If you plan to use JVMD then you should select Remote Agent for discovery/monitoring.
    JNDI service should be configured and Naming Service port should be open.
    Agent should be able to communicate with the host and JNDI port.
    Above list of JARs to be copied on the agent machine (location provided as library path during discovery)
    Could you please share customer details and usecases.

  • Simple Java Example for DI API

    Hello,
    I have a Java Application and would like to connect to a SAP BO Database using JCO and DI API.
    I want a simple java example that just connects to the BO Database and returns an item name or value or a recordset from the database.
    Since i dont have the names of what kind of fields, items , tables exist in the SAP BO Demo database i need a basic example to make sure that i can connect to the database and retrieve data from the DB.
    Any help in this regard would be appreciated...
    Amit

    Dear Amit Hingher,
    The B1 JCO is a java wrapper for DI API so basically you could refer to DI help for all objects, methods and properties.
    Here the jave sample for connection function:
    package test;
    import com.sap.smb.sbo.api.*;
    public class ConnectSAP {
         // company interface
         public ICompany company;
         private SBOErrorMessage errMsg = null;
         public static void main(String[] args) {
              ConnectSAP company = new ConnectSAP();
              company.conn();
         //method make connection andinitialize company instance
         public int conn() {
              int rc = 0;
              try {
                   company = SBOCOMUtil.newCompany();
                   company.setServer("(local)");
                   company.setCompanyDB("test");
                   company.setUserName("manager");
                   company.setPassword("manager");
                   company.setDbServerType(...);
                   company.setUseTrusted(new Boolean(false));
                   company.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
                   company.setDbUserName("Sa");
                   company.setDbPassword("123");
                   company.setAddonIdentifier("...");     
                   company.setLicenseServer("...");
                   rc = company.connect();
                   if (rc == 0) {
                        System.out.println("Connected!");
                   } else {
                        errMsg = company.getLastError();
                        System.out.println(
                             "I cannot connect to database server: "
                                  + errMsg.getErrorMessage()
                                  + " "
                                  + errMsg.getErrorCode());
              } catch (Exception e) {
                   e.printStackTrace();
                   return -1;
              return rc;
         public void freeConnection(){
              company.disconnect();
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • ABAP Code for Backup the entire table data in the application server

    Hello Friends,
    I have to create the table data Backup and Store the entire table data in the application server and also be able to restore the data back if needed.
    this should be dynamic program for any table based on the table name given on the application server.. I have developed a program for this but its having problems with the Quantity, amount. Its not writing it correctly at the application level.
    ANy Suggestions on this.
    Below is the program for this.
    Thanks,
    Ster.
    * Report  YWMM_TABLE_DUMP                                             *
    REPORT ywmm_table_dump .
    TABLES :
            dd03l.
    * Type spool declaration
    TYPE-POOLS:
            abap, slis.
    DATA: i_table_data1  TYPE REF TO data.
    DATA : it_dd03l LIKE dd03l OCCURS 0 WITH HEADER LINE.
    *DATA : gt_fieldcat TYPE lvc_s_fcat.
    DATA : i_fcat      TYPE STANDARD TABLE OF lvc_s_fcat,
           l_dr_line         TYPE   REF TO data,
           l_v_as4vers       TYPE as4vers.
    FIELD-SYMBOLS: <f_table_data1>     TYPE STANDARD TABLE,
                   <f_wa_table_data1>  TYPE ANY.
    SELECTION-SCREEN: BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
    PARAMETERS: rb_copy RADIOBUTTON GROUP map DEFAULT 'X',
                rb_rest RADIOBUTTON GROUP map.
    SELECTION-SCREEN: END   OF BLOCK bl1.
    SELECTION-SCREEN: BEGIN OF BLOCK bl2 WITH FRAME TITLE text-002.
    PARAMETERS: p_table  TYPE tabname OBLIGATORY,
                p_plfld TYPE dd03l-fieldname.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS: p_bkfile TYPE localfile OBLIGATORY.
    SELECTION-SCREEN: END   OF BLOCK bl2.
    PERFORM get_data.
    IF rb_copy = 'X'.
      PERFORM backup.
    ELSEIF rb_rest = 'X'.
      PERFORM database_update.
    ENDIF.
    *&      Form  get_data
    FORM get_data.
      CLEAR   i_fcat.
      REFRESH i_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name = p_table  " Table Name
           CHANGING
                ct_fieldcat      = i_fcat
           EXCEPTIONS
                OTHERS           = 1.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = i_fcat
      IMPORTING
        ep_table        = i_table_data1.
      IF sy-subrc = 0.
        ASSIGN i_table_data1->* TO <f_table_data1>.
      ELSE.
        WRITE: 'Error creating internal table'.
      ENDIF.
      IF rb_copy = 'X'.
        SELECT  * FROM (p_table) INTO CORRESPONDING FIELDS OF
                  TABLE <f_table_data1> UP TO 20 ROWS.
      ELSEIF rb_rest = 'X'.
        CREATE DATA l_dr_line LIKE LINE OF <f_table_data1>.
        ASSIGN l_dr_line->* TO <f_wa_table_data1>.
    *Get Data from Application Server
    * Opening the dataset P_BKFILE given in the selection screen
        TRANSLATE p_bkfile TO LOWER CASE.
        OPEN DATASET p_bkfile FOR INPUT IN TEXT MODE." ENCODING DEFAULT.
        IF sy-subrc NE 0.
    *    MESSAGE:
        ELSE.
          DO.
    * Reading the file from application server
            READ DATASET p_bkfile INTO <f_wa_table_data1>.
            IF sy-subrc = 0.
              APPEND <f_wa_table_data1> TO <f_table_data1>.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
    * Closing the dataset
          CLOSE DATASET p_bkfile.
        ENDIF.
      ENDIF.
    ENDFORM.                    " get_data
    *&      Form  backup
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM backup.
      TRANSLATE p_bkfile TO LOWER CASE.
      OPEN DATASET p_bkfile FOR OUTPUT IN TEXT MODE.
      IF sy-subrc NE 0.
        WRITE: text-017.
        STOP.
      ELSE.
        LOOP AT <f_table_data1> ASSIGNING <f_wa_table_data1>.
          TRANSFER <f_wa_table_data1> TO p_bkfile.
        ENDLOOP.
      ENDIF.
      CLOSE DATASET p_bkfile.
    ENDFORM.                    " backup
    *&      Form  database_update
    FORM database_update.
      DATA : i_mara_u TYPE STANDARD TABLE OF mara WITH HEADER LINE,
             i_ekpo_u TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
             i_eban_u TYPE STANDARD TABLE OF eban WITH HEADER LINE,
             i_resb_u TYPE STANDARD TABLE OF resb WITH HEADER LINE,
             i_plpo_u TYPE STANDARD TABLE OF plpo WITH HEADER LINE,
             i_stpo_u TYPE STANDARD TABLE OF stpo WITH HEADER LINE,
             i_vbap_u TYPE STANDARD TABLE OF vbap WITH HEADER LINE,
             i_vbrp_u TYPE STANDARD TABLE OF vbrp WITH HEADER LINE,
             i_lips_u TYPE STANDARD TABLE OF lips WITH HEADER LINE,
             i_afvc_u TYPE STANDARD TABLE OF afvc WITH HEADER LINE,
             i_asmd_u TYPE STANDARD TABLE OF asmd WITH HEADER LINE,
    *           i_cooi_u TYPE STANDARD TABLE OF cooi WITH HEADER LINE,
             i_qmel_u TYPE STANDARD TABLE OF qmel WITH HEADER LINE,
             i_cooi_u TYPE STANDARD TABLE OF cooi WITH HEADER LINE,
             i_esll_u TYPE STANDARD TABLE OF esll WITH HEADER LINE,
             i_t165_u  TYPE STANDARD TABLE OF t165 WITH HEADER LINE,
             i_t165e_u TYPE STANDARD TABLE OF t165e WITH HEADER LINE,
             i_twpko_u TYPE STANDARD TABLE OF twpko WITH HEADER LINE,
             i_tpext_u TYPE STANDARD TABLE OF tpext WITH HEADER LINE,
             i_ce4mxpa_u TYPE STANDARD TABLE OF ce4mxpa WITH HEADER LINE,
             i_ce4mxpa_acct_u TYPE STANDARD TABLE OF ce4mxpa_acct WITH
                                                             HEADER LINE,
             i_zaim_u  TYPE STANDARD TABLE OF zaim WITH HEADER LINE,
             i_s012_d TYPE STANDARD TABLE OF s012 WITH HEADER LINE,
             i_s012_i TYPE STANDARD TABLE OF s012 WITH HEADER LINE,
             i_dummy  TYPE STANDARD TABLE OF mara.
      CASE p_table.
        WHEN 'MARA'.
    *     Non-Key
          PERFORM move_to_table USING   <f_table_data1>
                                CHANGING i_mara_u[]
                                         i_mara_u.
          PERFORM update_table USING i_mara_u[].
      ENDCASE.
    ENDFORM.                    " database_update
    *&      Form  move_to_mara
    FORM move_to_table USING    p_tab_from TYPE STANDARD TABLE
                       CHANGING p_tab_to   TYPE STANDARD TABLE
                                p_w_table.
      DATA:  l_wa_fcat TYPE lvc_s_fcat.
      FIELD-SYMBOLS: <f_field_from> TYPE ANY,
                     <f_field_to>   TYPE ANY.
      LOOP AT p_tab_from ASSIGNING <f_wa_table_data1>.
        LOOP AT i_fcat INTO l_wa_fcat.
          ASSIGN COMPONENT l_wa_fcat-fieldname
         OF STRUCTURE <f_wa_table_data1> TO <f_field_from>.
          ASSIGN COMPONENT l_wa_fcat-fieldname
         OF STRUCTURE p_w_table TO <f_field_to>.
          <f_field_to> = <f_field_from>.
        ENDLOOP.
        APPEND p_w_table TO p_tab_to.
      ENDLOOP.
    ENDFORM.                    " move_to_mara
    *&      Form  update_table
    FORM update_table  USING p_table_update TYPE STANDARD TABLE.
      SELECT SINGLE *
        FROM dd03l
       WHERE fieldname = p_plfld
         AND tabname   = p_table
         AND keyflag   <> 'X'
         AND as4local = 'A'
         AND   as4vers = l_v_as4vers
         AND   ( comptype = 'E' OR comptype = space ).
      IF sy-subrc = 0.
    *   Do update
        IF NOT p_table_update IS INITIAL.
          UPDATE (p_table) FROM TABLE p_table_update.
          IF sy-subrc = 0.
            COMMIT WORK.
          ELSE.
            ROLLBACK WORK.
            WRITE: text-003.
            STOP.
          ENDIF.
        ENDIF.
      ELSE.
    *delete and insert.
        IF NOT p_table_update IS INITIAL.
    *      DELETE (p_table).
          IF sy-subrc = 0.
            INSERT (p_table) FROM TABLE p_table_update.
            IF sy-subrc = 0.
              COMMIT WORK.
            ELSE.
              ROLLBACK WORK.
              WRITE: text-018.
              STOP.
            ENDIF.
          ELSE.
            ROLLBACK WORK.
            WRITE: text-018.
            STOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " update_table
    Edited by: Julius Bussche on Jul 18, 2008 1:43 PM
    Please use a meaningfull subject title!

    ARS,
    I am struggling a bit to get this.
    there is a syntax error,
    Field "FIELDS_INT-TYPE" is unknown. It is neither in one of thespecified tables nor defined by a "DATA" statement.     
    Again you have asked to move to a diffrent table. What is that table and how to build it.
        LOOP AT <f_table_data1> ASSIGNING <f_wa_table_data1>.
          LOOP AT i_fcat INTO l_fcat.
            IF l_fcat-inttype EQ 'P'.
              ASSIGN COMPONENT l_fcat-fieldname
                  OF STRUCTURE <f_wa_table_data1> TO <f_field>
                  TYPE     fields_int-type
                  DECIMALS fields_int-decimals.
            ELSE.
              ASSIGN COMPONENT l_fcat-fieldname
                  OF STRUCTURE <f_wa_table_data1> TO <f_field>
                  TYPE     fields_int-type.
            ENDIF.
            " Move <f_field> to a new table and use this table for download
          ENDLOOP.
          TRANSFER <f_wa_table_data1> TO p_bkfile.
        ENDLOOP.
    Ster

  • Do we need to buy license to use Toplink in non Oracle application server?

    Hi,
    Can Oracle Toplink be used freely without any license required when deploy in non-Oracle internet application server?
    Please advise.
    Thank you.

    From the TopLink FAQ: http://www.oracle.com/technology/products/ias/toplink/technical/tl10g_faq.htm#WhatDoesTopLinkCost
    "Under the OTN license, TopLink is free to download for evaluation and use during development. A production license is included with all editions of OracleAS or can be licensed separately for $5K per CPU."
    Your situation would require a separate license.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What the use if u run in application server

    hi friends,
    at info pakcage level  we can use client server and application server, for process chain we are using application server. what is the use if  we run in the back ground process.
    Thanking u
    suneel.

    hi Suneel,
    i think you mean for flat file upload,
    for flat file upload there are options for the file in application server or in client side, and to run infopackage there is option background,
    if we choose background process, we have to use option 'application server',
    means the file must be put in server side
    hope this helps.

  • Support for the creation of a new BEA WebLogic Application Server v10.3

    To All,
    After downloading and installing the Enterprise Pack for Eclipse (Ganymede: http://download.oracle.com/otn_software/oepe/ganymede) I attempted to create a new BEA WebLogic 10.3 server - since that is the version of the application server that I have installed on my machine.
    I went to create the new server and selected "BEA WebLogic Server v10.0", since there was no option to select a WebLogic 10.3 server. I selected as the WebLogic Home directory "D:\BEA_HOME\wlserver_10.3" and received the error message: "The path "D:\BEA_HOME\wlserver_10.3" contains the wrong version of WebLogic Server. Expected version 10.0. Found version 10.3."
    Is there some way that I can create a new WLS v10.3 in Eclipse Ganymede? Do I need to download an additional plugin?
    Thanks in advance for your help on this,
    John Livingstone

    Look for WLS 10.3 under Oracle rather than BEA group.
    Konstantin

  • Any LabWindows/CVI examples for SPI communication using DAQmx?

    I have a PXIe-6363 module in a PXI running as a real time target, and I'm trying to talk to an accelerometer that communicates with SPI.  I know the 6363 isn't one of the special modules built for SPI, but my understanding is it should be capable; the issue is just the programming.  I've seen examples of this for LabVIEW using DAQmx.  Are there any examples out there for doing it in LabWindows/CVI?
    I'm looking to save time and avoid reinventing the wheel here.  SPI is easy on an Arduino, so it should be doable in LabWindows/CVI, right?  
    Thanks,
    Matt

    Hey Matt,
    I was unable to find any full examples of SPI communication with DAQmx in C. My best suggestion would be to use the LabVIEW examples and implement the same series of function calls to implement the LabVIEW code in C. The DAQmx C API is good about keeping a standard with naming conventions to map with the function names in LabVIEW.

  • Labview example for data capture using 5102 scope card

    How can I program a Labview Vi to control, and capture a waveform using the 5102 scope card. I need to be able to set it up to continually capture a waveform (Channel 1 and Channel 2) when triggered on a rising edge of channel 1 and then store the data on disk automatically, then wait for the next trigger.
    Any help or tips as to how I could do it would be helpful.
    Thanks
    Allan

    Allan,
    Please find the attached zip file that has some useful LabVIEW examples with scope 5102
    Zvezdana S.
    National Instruments
    Attachments:
    scope.zip ‏181 KB

  • Good NI Test Stand Examples For a Beginner (Using LabVIEW)

    Hi everyone, I am new to using NI Test Stand.  I have gone through the "Getting Started with NI Test Stand" and "Using LabVIEW with Test Stand" documents.
    I know in the NI Test Stand Example folder there are many examples.  Are there any examples that cater to new users to Test Stand?
    Where can I find good examples (demos) for developing test sequences, local variables, parameters, etc...in Test Stand?
    Thanks so much!

    If you have the SSP you could access online training an do the exercises on the training.
    but the examples is a good way to getting started. just play around with all the options you have.

  • Need an Example for Enterprise Services using PI

    Hi
      I have been trying to configure and execute the demo - Cancel Flight Booking, but have been facing some issues on the configuration front. So if any of you had done any simpler examples, i would like to go through them. I'm very new to SAP and I want to learn about looking up,invoking enterprise services using PI. So kindly help with providing any custom made simple example with the configuration steps.
    Thanks & Regards
    Vijay

    Hi,
    habve you see this demo:
    /people/jitender.chauhan/blog/2009/04/20/service-enabling-in-abap
    Regards,
    Michal Krawczyk

  • Plsql client for twitter api (using oauth)

    Hi,
    I am probably being a bit optimistic, but does anybody have a plsql client for twitter that will allow me to post status updates from oracle? I found this http://somecodinghero.blogspot.com/2010/09/updating-twitter-from-database-using.html, but it doesn't work, simply giving me 401 Unauthorized whenver I try.
    Make my day? Please?
    Thanks
    Ralph

    So.... Are you ready? Let's go.....
    Twitter Part:
    1. Acess https://dev.twitter.com
    2. Login
    3. Create New Application
    4. Fill out the data requested by twitter(and create application).
    5. Click button "Create my acess token".
    6. Copy Consumer key     ,Consumer secret     ,Access token     ,Access token secret     to Notepad++(or elsewhere).
    7. Click the Tab Settings, and change Application Type to "Read, Write and Access direct messages". click the "Update..."
    After installing DB and verified that you have Java 1.5 in your local machine and downloaded twitter4j jar.
    1. Open Jdeveloper(i'm working with 11.1.2.1.0)
    2. Create a new Application. Create a java Class with:
    package client;
    import twitter4j.*;
    import twitter4j.conf.ConfigurationBuilder;
    public class TweetMeMan {
        public static String sendTweet(String msg, String sOAuthConsumerKey, String sOAuthConsumerSecret, String  sOAuthAccessToken, String sOAuthAccessTokenSecret ) {
            String result = "Ok";       
            try {
                ConfigurationBuilder cb = new ConfigurationBuilder();
                cb.setOAuthConsumerKey(sOAuthConsumerKey);
                cb.setOAuthConsumerSecret(sOAuthConsumerSecret);
                cb.setOAuthAccessToken(sOAuthAccessToken);
                cb.setOAuthAccessTokenSecret(sOAuthAccessTokenSecret);           
                TwitterFactory tf = new TwitterFactory(cb.build());
                Twitter twitter = tf.getInstance();
                Status status = twitter.updateStatus(msg);
                System.out.println("Successfully updated the status to [" + status.getText() + "].");
            } catch (Exception e) {
                System.out.println("Error : " + e.getMessage());
                result = e.getMessage();
            return result;
    }3. Click Project Settings and in Libraries add twitter4j(version).jar
    4. Compile project. No errors? Nice.... Errors? Check the log and fix them ;)
    5. Create a New Deployment Profile
    5.1. Profle Type : Jar File
    5.2 Deployment Profile Name : vrodriguestweet (in my case)
    6. Deploy the vrodriguestweet (it will save de jar file in deploy folder)
    7. Open command line (cmd.exe)
    8. Write
    loadjava -r -f -o -user vrodrigues/yourpaswword@YourDB your_location_of_the_jar_created_above\vrodriguestweet.jar9. Open Sqldeveloper(or sqlplus) and check if there is under Java this name exists : client/TweetMeMan
    9.1 client is the java package i created the java file.
    10. Now let's create the function:
    CREATE FUNCTION letsTweetVR (p_message varchar2, p_OAuthConsumerKey varchar2, p_OAuthConsumerSecret varchar2, p_OAuthAccessToken varchar2, p_OAuthAccessTokenSecret varchar2  )
       RETURN VARCHAR2
       AS LANGUAGE JAVA
       NAME 'client/TweetMeMan.sendTweet
         (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) return java.lang.String';   10.1. No errors? Amazing....keep going you are almost there...
    11. Let's tweet:
    BEGIN
      DBMS_OUTPUT.PUT_LINE(letsTweetVR('Tweeting from database...Awesome, right?',
                                              'your_OAuthConsumerKey',
                                             ' your_OAuthConsumerSecret',
                                             'your_OAuthAccessToken',
                                            'your_OAuthAccessTokenSecret')
    END;Of course you can do this inside a package or passing the values from some interface.... And you can also do other things that twitter4j does... Like Search for Tweets and so on and so on. ;)
    Did someone like this? Or i'm an idiot? : D
    All credits goes to the developer of twitter4j....
    P.S Remember that this is my first usage of java in DB...so if you can do better, please advise ;)
    P.S.1. I will blog this with entire full steps.... just trying to get the time for it :/
    https://lh6.googleusercontent.com/-ktXgF_N5rQU/Tz0hx8cEbgI/AAAAAAAAA-s/LOoTf_5pnd0/s864/twiiter.png
    Edited by: Vitor Rodrigues on 16/Fev/2012 15:46

  • Using ISCRCommandTable in the Reports Application Server

    Hi
    We have a report that is linked to a Command but the query may be constructed in different ways (using different tables). In past we've pushed the data to the report but I was looking into pulling the data.
    I thought it might be possible to create a Command Object then edit the CommandText Property in code using the RAS API (inproc). Though it's possible to set the CommandText this does not seem to effect the data displayed. Is there a reason for this? Am I doing something wrong?
           Dim mySampleReportPath As String = "C:\Inetpub\wwwroot\SetCommandtext\Report1.rpt"
            rd.Load(mySampleReportPath)
            ' Access the ReportClientDocument API in-process using the ReportDocument class.
            rcd = rd.ReportClientDocument
           'Change SQL in Command.
            Dim c As CrystalDecisions.ReportAppServer.DataDefModel.ISCRCommandTable
            With rcd.DataDefController.Database.Tables
                c = .Item(.FindByAlias("Command"))
                c.CommandText = "SELECT name, '123' as test FROM Checklist"
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "test", "USA")
                rcd.DataDefController.ParameterFieldController.SetCurrentValue("", "title", c.CommandText)
            End With
            ' Set the report source of the Crystal Report viewer to the instance of the report.
            myCrystalReportViewer.ReportSource = rd
    Cheers
    Alex

    Found the answer in this code example: [NET-CS2005_RAS-UNMANAGED_CR115_MODIFY_COMMAND-TABLE-SQL|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/30da384c-bb66-2b10-8392-96acb15624c6]

Maybe you are looking for

  • How can I sort by likes or comments in shared iCloud albums?

    Is this possible? If I share an iCloud album, the likes and comments that those I share it with appear in Aperture which is fantastic. However, there's no way to sort or filter the album in Aperture to show me just the photos that have likes or comme

  • How to pass parameters to reports

    Hi, I am a new user to dev2000, i am struck at passing parameters to the reports, i have used lexical referrences, to the where clause, in the query that i have written in reports builder. It created a user_parameter of that where_clause. now i am tr

  • NEXUS 7000 xcvrInval

    Hi, I have some Nexus 7000 with FET-10G with xcvrInval status Eth7/33          N5k-S1-3T-1/3   xcvrInval trunk     auto    auto    Fabric Exte and some other FET-10G with notconn status Eth7/8           FEX-101         notconnec 1         auto    aut

  • Exchange Upgraded But Still No Change

    Hi, As far as I can tell my exchange was upgraded to ADSL2+ back in 2010 yet I still appear to be on a upto 8mbps service. I was able to accurately check my line length a while back and it's less than 800m. So it's a bit frustrating to be getting slo

  • Can I physically replace a 12" iBook G3 french keyboard to a 14" G4 iBook?

    Hi, I have a dead 12" G3 iBook with a french keyboard (600MHz, late 2001). I would like to transfer the G3 keyboard to a G4 iBook (1.42GHz, 14" screen) that have an english keyboard. Both keyboards are the same dimensions. Can I just switch the keybo