What is an API

Hi,
I feel a little ashamed to ask this question. But after a lot of efforts I have not been able to understand what is an API.
Also I have heard about the jakarta apache api. When exaclty do we use the jakarta apache api.
As far as I know for developing the java programs you need to install the jdk and that is sufficien to compile your programs. Then wherw do the api exactly fit in.
if you are using servlets then you use eclipse with a webserver like tomcat. Do people call eclipse an api.
Please clear my doubt.
prashant

An API is the stuff, i.e. the methods, that are provided by a piece of software so that you can use them in your programs to manipulate the software.
apache's API: apache is a program that is widely used to return web pages to browsers that request them. If apache provides methods that can be called from a computer program that you write, then apache provides an API, or an "interface", so that your program can interact with and manipulate the apache program.
As far as I know for developing the java programs you need to install the jdk and that is sufficien to compile your programs. Then where do the api exactly fit in.
java's API is all the stuff that you can use in your java programs. If it helps, think of the java-byte-code-maker as a piece of software. Your goal is to make that software produce byte code that does what you want it to, e.g. write to a file. So, you have to manipulate that software somehow. The java classes and methods in the java docs are the API that allow you to manipulate the java-byte-code-maker.
if you are using servlets then you use eclipseI've programmed servlets before, and I've never used eclipse.
a webserver like tomcat
Tomcat is a piece of software. Tomcat provides classes and methods that allow you to interact with and manipulate the Tomcat software to perform certain tasks. Those methods and classes are the Tomcat API.
Do people call eclipse an api
Eclipse is a piece of software. If Eclipse provides classes and methods that allow you to write a program and interact with the Eclipse software, then those classes and methods are an API.
For comparison, here is a piece of software that provides no API:
public class Test
  public static void main(String args[])
    System.out.println("hello world");
}That software does not provide any way for a program that you write to interact with it. You could write a program that causes the software to execute and provide some command line arguments, and those command line arguments will get stored in the args variable, but the program ignores the args variable.

Similar Messages

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • What is the API to validate all the mappings against the DB at runtime?

    What is the API to validate all the mappings against the DB at runtime?
    Meaning checking that all tables and fields really exist and are compatible type.
    Existance of sequence referenced could be check and checking if the increment is correct in Oracle could also be done.
    I was unable to find any API on anything.
    Those validation seem to be basic check that all applications should be doing.

    All of TopLink's metadata validation is done during session login. By default it assumes all of the provided database metadata is correct. If you want TopLink to validate against the database you must enable this on the session's integrity checker prior to login.
            DatabaseSession session = (DatabaseSession)SessionManager.getManager().getSession("employee-basic-database", false);
            session.getIntegrityChecker().checkDatabase();
            session.login();Doug

  • What is the API  to approve the receipt of India localization?

    What is the API to approve the receipt of India localization?
    Thanks and Regards
    R. Sridhar

    Actually I need an API/request that can create DELIVER transaction entry for a receipt. This is called as Receipt Approval in our scenario. Kindly suggest or provide a link.
    Regards

  • What are the API's and OS Supported by Oracle TimesTen

    1.) What are all the API supported by oracle TimesTen?
    is the below are correct and whether other than this is there any other API supports oracle TimesTen
    JDBC,
    ODBC,
    OLAP,
    ADO.net,
    C++...............
    2.) What are the Platform supports?
    is the below are correct and whether other than this is there any other OS supports oracle TimesTen
    Linux x86-32 and x86-64:
    Oracle Linux 4 and 5
    Red Hat Enterprise Linux 4 and 5
    SUSE Enterprise Server 10 and 11
    MontaVista Linux CGE 5.0 and 6.0
    Asianux 3.0
    Microsoft Windows x86-32 and x86-64:
    Windows XP, Windows Vista, Windows Server 2003, Windows Server 2003 Release 2, Windows Server 2008, Windows 7
    Solaris SPARC 64-bit:
    Oracle Solaris 10
    Solaris x86-64:
    Oracle Solaris 10
    IBM AIX 64-bit:
    AIX 6.1 and 7.1
    Solaris SPARC 32-bit (client only):
    Oracle Solaris 10
    IBM AIX 32-bit (client only):
    AIX 6.1 and 7.1
    3.) What is the latest Version in Oracle TimesTen?
    4.) Maximum number of rows in a table.     2 Power 28 = 268,435,256 for 32 Bit     / (2 power 31-1) = 2,147,483,647 for 64 Bit
    if the Row value exceeds more than the specified value what will happen ? whether we need to have multiple tables
    Say TableA reaches 268,435,256 values and if few more rows are added then the value can be kept in new table TableB and so on..... or how?
    Thanks

    Dear 933663,
    1. What are all the API supported by oracle TimesTen?
    JDBC
    ODBC
    ADO.net
    OCI
    PRO*C
    +
    PL/SQL
    SQL
    2. What are the Platform supports?
    TimesTen 11.2.2.2.0 supports - Windows (32-bit, 64-bit), Linux x86 (32-bit, 64-bit), Solaris Sparc (64-bit), Solaris x86 (64-bit), IBM AIX Power (64-bit) (http://www.oracle.com/technetwork/products/timesten/downloads/index.html)
    The detailed information I could find only in 11.2.1 documentation (http://docs.oracle.com/cd/E18283_01/timesten.112/e13063/install.htm):
    Microsoft Windows 2000, Windows XP, Windows Vista and Windows Server 2003 and 2008 for Intel IA-32 and EM64T and AMD64 CPUs.
    Asianux 2.0 and 3.0 for Intel IA-32 and EM64T and AMD64 CPUs.
    SuSE LINUX Enterprise Server 10 for Intel IA-32 and EM64T and AMD64 CPUs.
    SuSE LINUX Enterprise Server 10 for Itanium2 CPUs
    Solaris 9 and 10 for UltraSparc CPUs
    Solaris 10 for AMD64 CPUs
    Red Hat Enterprise Linux 4 and 5 for Intel Itanium2 CPUs.
    Red Hat Enterprise Linux 4 and 5 for Intel IA-32 and EM64T and AMD64 CPUs.
    Oracle Enterprise Linux 4 and 5 for Intel IA-32 and EM64T and AMD64 CPUs.
    MontaVista Linux Carrier Grade Edition Release 4.0 and 5.0 for Intel IA-32, EM64T and AMD64 CPUs.
    HP-UX 11i v2 and 11iv3 for PA-RISC
    HP-UX 11i v2 and 11iv3 for Itanium2
    AIX 5L 5.3 and 6.1 for POWER CPUs
    3.) What is the latest Version in Oracle TimesTen?
    11.2.2.2.0 (http://www.oracle.com/technetwork/products/timesten/downloads/index.html)
    4) Maximum number of rows in a table. 2 Power 28 = 268,435,256 for 32 Bit / (2 power 31-1) = 2,147,483,647 for 64 Bit
    Actually, I couldn't find any information about rows limits for TimesTen tables and I've never faced with this problem.
    Best regards,
    Gennady

  • What's faster: API request or web app search via Ajax?

    Just curious, since I use both a lot. Assume there are a lot of records to retrieve.

    Ajax search of web apps below 800 - fine, if above then you wont return all results and have pagination so will miss out some results if they are big searches. Web app data pull will be similar but return all results better. Your web app search will be based on the layout you choose so the results would be pre-formated html based on a layout. Your API results will be the json response data of the whole thing you will then need to pluck out and form a rendered layout with or work with.
    Depends on what you want to use the data for.
    If it is to work out more calculations with your scripting then the API way would be the best but if your just wanting results and to display, the ajax would be the quicker method in general, not nessarily with the post but when you factor in everything.

  • What does "deprecated API" mean?

    what does the compiler message "GuestBook.java uses or overrides a deprecated API" mean?

    deprecated API means obsolete one, in other words API
    function/call which is not recommended to use and "this"
    call/function will be thrown in a near future from API
    Paul

  • What will Sigar Api reflect (CPU, Memory) when run Virtual Machine

    Hi,
    I am using sigar api for a module. The Module will  be deployed on machines which are virtual machines.
    i.e. a part of whole system resource (CPU, RAM etc.) will be allocated to the VM by the OS.
    If Sigar is  run on VM system, will it give the result for resources allocated for VM or for the System/OS as a whole?
    Please reply if any info is available, this is very urgent.
    Thanks

    Very interesting.  I'll have 30-40 VMs running, all Generation 2.  I notice a significantly faster start time on the Generation 2 than on any Generation 1.  Generally it starts in a couple seconds.
    It looks like you are using dynamic memory.  What sort of value do you have for startup memory?  Have you tried using fixed memory (just for a test)?  I tend to use fixed memory for my VMs.
    . : | : . : | : . tim

  • What are JAVA API are threaded in default list plz

    hi every body
    Can u give me List of JAVA API are threaded default

    Can u give me List of JAVA API are threaded default1. Java is not an abbreviation.
    2. What do you mean?

  • What algorithm and API?

    I need to use an encryption/decryption algorithm that run on J2ME (CLDC/MIDP) and J2SE/J2EE. The algorithm must use a random key and a private key (bluetooth device id? imei?)... what is the best choice to implement? and the best that java offer in its API?

    I think you should take a look at JXTA(http://www.jxta.org) J2ME version which implements a mini security framework on mobile systems. Good luck!

  • What is the API for getting a list of students that have taken a specific course?

    We are on Adobe Connect 9. Through the UI, you can generate a nice report on who has taken a course and when they completed it (Training > Shared Training > [course name]).
    How do I get this report using Adobe Connect APIs?

    You can use the UserReaderMBean.
    http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/security/authentication/UserReaderMBean.html
    You mite find this helpful in ur development...
    http://secure-zone.blogspot.com/2009/10/creating-users-in-weblogic-server.html
    Let me know if it helps..
    Thanks,
    Faisal

  • What touch-based API or modules you use for Android?

    I had ported my web-based flex application to android. During porting, I need to code different type of touch-based UI components from ground up. Apparently this is not very efficient and I also need to perform a lot more testing as a result. Do you guys use any touch-based UI api or modules, if yes, can share with the rest in this forum?

    See if thesee links can be helpful to you:
    http://help.adobe.com/en_US/as3/dev/WS1ca064e08d7aa93023c59dfc1257b16a3d6-7ffe.html
    http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/ui/Multitouc h.html

  • Where can I find a description of what the Windows APIs do , such as NIDAQErrorHandler?

    I would like to know how to use these Windows APIs, where can I find a description?
    thanks

    Check this post here
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • What is the api to upload Customer contact data through api

    Dear
    i have uploaded customer and thier sites data but now need to upload customer sites contact data,i have searched but still
    unable to find contact api,
    could you please have any idea to upload contact data api.
    --thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Did you check note 837568.1 ?
    Regards,
    Srini

  • What are BAPI /API for Installed Base in CRM ??

    Hi Experts
    Can any body give list of BAPI /API for IBASE Processing...??
    Thanks,
    AK

    IB_CRM_ADD
    CRM_IBASE_CHECK_TYP
    IB_CRM_API
    CRM_IBASE_ADDRESS_SEARCH
    CRM_IBASE_CHANGE
    CRM_IBASE_COMP_ADDRESS_SEARCH
    CRM_IBASE_COMP_CHANGE
    CRM_IBASE_COMP_CHANGE_TYPE2
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_COMP_DELETE
    CRM_IBASE_COMP_FIND
    CRM_IBASE_COMP_FIND_MULTI
    CRM_IBASE_COMP_FIND_MULTI_R
    CRM_IBASE_COMP_GET_ADDRESS
    CRM_IBASE_COMP_GET_DETAIL
    CRM_IBASE_COMP_GET_FATHER
    CRM_IBASE_COMP_GET_HIERARCHY
    CRM_IBASE_COMP_GET_PARTNER
    CRM_IBASE_COMP_GOTO_DETAIL
    CRM_IBASE_COMP_GOTO_PARTNER
    CRM_IBASE_COMP_IMPORT_DETAIL
    CRM_IBASE_COMP_IMPORT_SUBSCR
    CRM_IBASE_COMP_INDOBJ_SEARCH
    CRM_IBASE_COMP_INDOBJ_SEARCH_R
    CRM_IBASE_COMP_MOVE
    CRM_IBASE_COMP_PARTNER_SEARCH
    CRM_IBASE_COMP_PARTNER_SEARCHR
    CRM_IBASE_COMP_TABLEINFO
    CRM_IBASE_COMP_TRANSL_PARAM
    CRM_IBASE_COPY
    CRM_IBASE_CREATE
    CRM_IBASE_DEQUEUE
    CRM_IBASE_DRILL_DOWN_FOR_COMP
    CRM_IBASE_ENQUEUE
    CRM_IBASE_FIND
    CRM_IBASE_FIND_MULTI
    CRM_IBASE_FREE
    CRM_IBASE_GET_ADDRESS
    CRM_IBASE_GET_ALL
    CRM_IBASE_GET_CHANGE_STATUS
    CRM_IBASE_GET_DETAIL
    CRM_IBASE_GET_HANDLE
    CRM_IBASE_GET_PARTNER
    CRM_IBASE_GOTO_DETAIL
    CRM_IBASE_GOTO_PARTNER
    CRM_IBASE_INITIALIZE
    CRM_IBASE_PARTNER_SEARCH
    CRM_IBASE_PARTNER_SEARCH_RANGE
    CRM_IBASE_SAVE
    CRM_IBASE_SET_HANDLE
    CRM_IBASE_TABLEINFO
    CRM_IBASE_TRANSL_PARAM
    IB_BAPI_IBASE
    BAPI_IBASE_CREATE
    BAPI_IBASE_GET_DETAIL
    BAPI_IBASE_SAVE
    IB_BAPI_COMP
    BAPI_IBASE_COMP_CREATE
    BAPI_IBASE_COMP_GET_DETAIL
    BAPI_IBASE_CREATE
    IB_IBASE_CREATE
    IB_IBASE_CREATE_INITIAL
    CRM_IBASE_COMP_CREATE
    CRM_IBASE_CREATE
    IB_COM2_CREATE_IBASE
    IB_COM_CREATE_IBASE_INITIAL
    *--- Fetch Ibase Handle
        IF ib_handle IS INITIAL.
          CALL FUNCTION 'IB_COM_NEW'
               IMPORTING
                    e_ibco_handle = l_handle.
          ib_handle = l_handle.
        ENDIF.
    <b>Pl. Do reward the points</b>
    Regards,
    Arjun

Maybe you are looking for

  • Weird conflicts adding port forwarding rules

    I've just joined BT and I'm trying to add the portforwarding rules I need and had on my previous router (Thompson 585v7). I created a ruleset named "eMule (38297)" forwarding TCP 38297 and UDP 16318. When I go to assign it, I select the rule then my

  • Can I get the white shell case replaced?

    I purchased the regular Macbook in 2010, and am wondering if it's possible to get the white shell case replaced?  It's been through some wear, and since my Macbook is working just fine (knock on wood) I would like to just clean up the case cosmetical

  • Re: Destiny DLC shader for pre order of advanced warfare.

    Anyone happen to have a shader code they are not using? I'm a huge destiny fan and I'll give the shader a good home

  • Depreciation run For Period 2

    Dear All, Currently am configuring a simple scenario of asset configuration fop book depreciation i have done the depreciation run ( Both Test Run & Back ground Processing ) for the period 1 and the posting was done successfully when i went for the d

  • Can I install oracle 11gR2 on windows AD server?

    I have a windows 2008 sever which has AD installed, can I install oracle 11gR2 on it?