Logical & Physical names !?

howdy,
what's the difference between Logical Jndi names ( like: "java:/comp/env" ) and Physicak ones ( like: "ejb/xxxLocalHome" ) in EJB ?
and can we customize our container to which it should use ?
--Behrad                                                                                                                                                                                                                                                                                                                                                                                                                                   

what's the difference between Logical Jndi names (
like: "java:/comp/env" ) These are EJB references. References can be configured for some component (WEB application, EJB bean) so it can find an EJB without knowing it's real JNDI name.
and Physicak ones ( like:
"ejb/xxxLocalHome" ) in EJB ?Those are real JNDI names. All EJB's have a real JNDI name.
and can we customize our container to which it should
use ?You can use references (use deployment descriptor to configure them) if you want.
But also all EJB's will have real names , too. So container supports both.
Read "Masterering EJB' s" if you want to know more about it.
http://www.theserverside.com/books/wiley/masteringEJB/index.tss
best regards,
Maris Orbidans
SCJP SCWCD SCBCD

Similar Messages

  • Information about file Id, Logical file name and Physical file name

    Hi All,
    I am testing one program. Selection screen has 3 parameters, File Id, Logical File Name and Physical file name. In Physical File name, i am giving complete file name with path. But it is giving error. Please tell me, what is File id and what all information i need to enter for logical file name and physical file name.
    Thanks
    Puneet Aggarwal

    hi,
    try using this for filename.
    parameters : p_file like rlgrap-filename.
    Thanks,
    Gaurav

  • Logical Name and Physical Name of OWB Objects?

    Hi,
    I am using OWB 10G R1. Version: 10.0.1.0.4
    I would like to know, is there any table/script to get list of physical name and logical name of OWB objects (mapping / process flow).
    Any help would be appreciated greatly.
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    I only have a skript for OWB 10.2.0.3, maybe it will work with 10gR1 as well:
    SELECT object_type,
           object_name,
           logical_name,
           object_path
      FROM (SELECT owm_view_utilities.classified_obj_type2(f.elementid, f.classname) AS object_type,
                   f.NAME AS object_name,
                   f.logicalname as logical_name,
                   sys_connect_by_path(f.NAME, '/') as object_path
              FROM firstclassobject_v f
             WHERE 1 = 1
            CONNECT BY f.owningfolder = PRIOR f.elementid
             START WITH f.NAME = 'MY_PROJECT')
    WHERE object_type IN ('Process', 'TransformMap')
    ORDER BY object_type,
              object_name
    ;Just replace 'MY_PROJECT' with your project name.
    Regards,
    Carsten.

  • Logical file names and Physical file names

    Hi Guys...
         Can you let me know what is the difference between Logical file names and Physical file names?
    Regards,
    Rohit

    Using Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
    Creating and Defining Logical Filenames
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm

  • Archiving : Change of Logical File Name & physical path

    Hello friends,
    We are doing archiving for a Z* archiving object.
    We run a write job(not delete job till now) for this archiving object and it created archive files in .../SYS/GLOBAL directory as was expected from settings of Logical File Name and hence physical path corresponding to it. So far no problem..
    Now, requirement is to change this path and for this i created a new Logical File Name with a different physical path.
    My concern is, about already archived data in older path. Should i only run delete job for that session ?
    Or should i copy the archive files to new path and then start delete job OR do a write job once again..
    please suggest.
    thanks
    ashish

    Hello Juan,
    Ok, i can copy the files, those are not too many as we did it only for 2 months selection.
    Can i go for write job again for same selection ? If yes, probably it will create a new session.. correct ? and then i will go for deletion for new session.
    If this is also correct way, i want to do this.. as till now this has been one for only 2 months and we are going to do for 8 yrs.
    One more question, will the be any problem for having 2 sessions for same selection.. means 2 write or archive job for same selection.
    thanks
    ashish

  • Regarding assignment of physical path to logical file name

    Hi All,
    We have created one logical file name and assigned physical path to it in FILE tcode.
    IN PATH table also these details got updated with correct logical file name & physical path.
    But in my program when i have used FILE_GET_NAME F.M to retrieve physical path from logical file.
    Here this F.M is not returning anything.
    What is the issue over here.
    We are working in ECC 6.0
    Can anybody resolve this issue!
    Thanks,
    Deep.

    do one thing i give my report so according to do this
    *& Report ZMIO_MANU_VENDOR_EXTR
    report zmio_manu_vendor_extr.
    DATA BASE TABLES
    tables: lfa1 ,eina, lfm1 .
    STRUCTURES
    *---structure for the vendor details.
    data: begin of ws_lfa1 ,
    lifnr type lfa1-lifnr,
    name1 type lfa1-name1,
    end of ws_lfa1 .
    *---structure for the pur org details.
    data: begin of ws_lfm1 ,
    lifnr type lfm1-lifnr,
    kalsk type lfm1-kalsk,
    minbw type lfm1-minbw,
    end of ws_lfm1 .
    *---structure for the pur inf rec.
    data: begin of ws_eina,
    lifnr type eina-lifnr,
    relif type eina-relif,
    end of ws_eina .
    *--structure for the output file
    data: begin of ws_final,
    lifnr(10) type c,
    name1(35) type c,
    kalsk(1) type c,
    minbw(13) type c,
    eoln(1) type c,
    end of ws_final .
    INTERNAL TABLES
    *---internal table for vendor details
    data:i_lfa1 like ws_lfa1 occurs 0.
    *---internal table for pur org details
    data:i_lfm1 like ws_lfm1 occurs 0.
    *---internal table for pur inf details
    data:i_eina like ws_eina occurs 0.
    *---internal table for final file output
    data:i_final like ws_final occurs 0.
    *DATA : P_FLAG(1) TYPE C.
    CONSTANTS
    *-- Default file name
    constants: c_filename_default(40) type c
    value 'VOLSAP/MAXVRLIB/manu_retail_vendor',
    c_kalsk(2) type c value '05'.
    SELECTION SCREEN
    selection-screen begin of block b1 with frame.
    selection-screen: begin of block b2 with frame title text-001 .
    select-options:s$lifnr for lfa1-lifnr .
    parameters:p$relif as checkbox.
    selection-screen end of block b2.
    selection-screen: begin of block b3 with frame title text-002 .
    parameters: p$file(128) obligatory default c_filename_default.
    selection-screen end of block b3.
    selection-screen end of block b1 .
    START OF SELECTION
    start-of-selection.
    if not s$lifnr is initial.
    perform get_vendor_data .
    endif.
    perform build_file .
    perform display_file .
    END OF SELECTION
    end-of-selection .
    *& Form GET_VENDOR_DATA
    form get_vendor_data .
    select lifnr
    name1
    from lfa1
    into table i_lfa1
    where lifnr in s$lifnr .
    if not i_lfa1[] is initial.
    sort i_lfa1 by lifnr .
    select lifnr
    kalsk
    minbw
    from lfm1
    into table i_lfm1
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr .
    select lifnr
    relif
    from eina
    into table i_eina
    for all entries in i_lfa1
    where lifnr = i_lfa1-lifnr
    and relif = 'X'.
    endif.
    endform. " GET_VENDOR_DATA
    *& Form BUILD_FILE
    form build_file .
    loop at i_lfa1 into ws_lfa1 .
    ws_final-lifnr = ws_lfa1-lifnr .
    ws_final-name1 = ws_lfa1-name1 .
    read table i_lfm1 into ws_lfm1 with key lifnr = ws_lfa1-lifnr .
    if ws_lfm1-kalsk = c_kalsk .
    ws_final-kalsk = 'X'.
    endif.
    ws_final-minbw = ws_lfm1-minbw .
    ws_final-eoln = 'X'.
    if p$relif = 'X'.
    CLEAR P_FLAG.
    LOOP AT I_EINA INTO WS_EINA
    WHERE LIFNR = WS_LFA1-LIFNR
    AND RELIF = 'X'.
    P_FLAG = 'X'.
    EXIT.
    ENDLOOP.
    IF P_FLAG = 'X'.
    APPEND WS_FINAL TO I_FINAL .
    CLEAR WS_FINAL.
    ENDIF
    read table i_eina into ws_eina with key lifnr = ws_lfa1-lifnr
    relif = 'X'.
    if sy-subrc = 0.
    append ws_final to i_final .
    clear ws_final.
    endif.
    else.
    append ws_final to i_final .
    clear ws_final.
    endif.
    endloop .
    endform. " BUILD_FILE
    *& Form DISPLAY_FILE
    form display_file .
    data: l_lines type i.
    describe table i_final lines l_lines.
    if l_lines > 0.
    perform open_file using p$file.
    loop at i_final into ws_final.
    transfer ws_final to p$file.
    endloop.
    close dataset p$file.
    else.
    write: / 'no data found'.
    endif.
    endform. " DISPLAY_FILE
    *& Form open_file
    Open an output file, customizing default name to include
    vendor number and job completion timestamp.
    form open_file using file_nm.
    data: l_vendor like eina-lifnr,
    l_timestamp(12) type c.
    Get correct path/filename for the system we're running on
    call function 'FILE_GET_NAME'
    exporting
    logical_filename = 'ZVOL'
    parameter_1 = file_nm
    importing
    file_name = file_nm.
    Open file for output
    open dataset file_nm for output in text mode encoding default.
    if sy-subrc ne 0.
    message e368(00) with 'Error opening output file:' file_nm.
    endif.
    endform. "open_file
    All definitions needed for the platform-independent assignment of file names are maintained client-independently with transaction FILE. Logical file names (but not logical file paths) can also be defined specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.
    Edited by: krupa jani on Aug 20, 2008 6:55 AM

  • Mapping physical file name to logical file name

    Hi All,
    Can anybody let me know wht is the procedure to map a logical file name to physical file name. wht is the use of logical file name when there exists physical file name?
    Thanx in Advance

    As far as creating the Logical path  it’s done through the transaction code ‘file’ by using options
    Steps are:
    1. Logical file path definition which is logical file path name.
    2. Assignment of physical path to logical path - where we give the physical path to the logical path name defined in the last step.
    After creating the Logical path the procedure to attach the file name to the Logical path is as follows:
    Use the function Module C13Z_FRONT_END_TO_APPL to upload the file from the front end to the application server.
    Source file on front end will be the CSV file path which is to be uploaded to the application server
    Target file on application server will be the physical path of the file on the application server where the file is to be uploaded.
    Attach the physical path of the file on the application server to the Logical file using transaction code ‘file’.
    Logical File:   The Logical name of the file which will be used by the interfaces to upload the file
    Physical file:  The name of the physical file on the application server
    Logical path:  The path of the physical file on the application server where it is stored.
    The possible reason for the use of Logical file name could be we can have directories within SAP in which we can have logical files stored. These files can be used by various interfaces. Different Logical paths can be used for different interfaces. the second reson can be to give more user friendly name to the file rather than a long physical name to the file.

  • Assign Logical file name for the physical file path through Program

    Hi all,
    I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
    Now I need to assign a logical file name for the physical file path through the program.
    Is there any FM or any other method to assign the same.
    Gaurav

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • Error: Enter either the physical file name or the logical file name

    Hi Expert,
    I have error: Enter either the physical file name or the logical file name, when upload BP with external data transfer.
    My Step:
    1. Define Sender Structure
    2. Define Transfer Rules
    3. Start Transfer
    When execute step 3, there's displaying error:  Enter either the physical file name or the logical file name
    Can you help my problem?
    Any document/link for upload BP with external data transfer.
    Thanks and Regards,

    Hi,
    See thread: [CO-PA External Data Transfer|CO-PA External Data Transfer]
    Regards
    Leon

  • Usage of logical name, logical path name, physical name of a file

    Hi all,
    I have to write to a file on the application server. I had been given the logical name, logical path name and physical name. Suggest how to use these parameters and get the path where to store the file.
    Thanks & Regards,
    Kasinath.

    Open Dataset
      catch system-exceptions DATASET_CANT_OPEN = 8.
        open dataset UNIX_FILE for output in text mode encoding default.
      endcatch.
    Write to Dataset
      loop at IT_STR into IS_STR.
        catch system-exceptions DATASET_NOT_OPEN = 0  .
          transfer IS_STR-STR to UNIX_FILE.
        endcatch.
      endloop.
      if SY-SUBRC eq 0.
        message S138(ZSM) with 'Data Downloaded to Unix File'.
      endif.
    Close Dataset
      close dataset UNIX_FILE.
    Regards
    - Gopi

  • Data Services communication with SAP - physical/logical server name

    Iu2019m having trouble connecting Data Services to SAP.
    Environment details:
    Data Services version 12.2.1.2 on Windows 2008 SP2
    ERP and SRM on Windows 2008 (database SQL Server 2008 SP1)
    Repository on SQL Server 2008 SP1
    All servers (SAP and Data Servers) have had logical systems defined over the physical system names and they use these logical names to communicate with each other.  The Data Services server, hence has two names (logical and physical) and two corresponding IP addresses. 
    The problem weu2019re having is that when the SAP server communicates back to the Job Server it needs to use the logical server name and corresponding IP address.  Currently it is using the physical server name and IP address, causing communication failures. 
    When I run the host_name() function within Data Services it returns the physical host name.
    Is there a way to determine how Data Services identifies itself and whether this can be manipulated?  Is it possible to configure Data Services to run in a logical environment?
    Any thoughts or commends would be appreciated. Thanks

    Looked at this from another angle.  We were using Direct Download transport method which processes in the foreground and uses the SAPGUI for communication.  It seems as though it was how SAPGUI communicates with the SAP server on Data Services behalf that was causing the problem.
    We managed to motivate to get a share setup between the SAP server and the Data Services box which allows us to use Shared Directory transport method.  This also allows for background processing - eliminating the part of the SAPGUI communication that was causing the problem.

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

  • LSMW - Create Logical File Name so that the physical file name is automatic

    Hello,
    In LSMW, I do not want to create a logical file name for each project.  I would like the logical file name to automatically assign the physical file to the *.lsmw.conv of the project being executed. Is there a way of doing that?  If so, could someone share?
    Regards, Dean.

    not possible to create the logical file name to physical file name automatiically.
    because the logical file name created like  PROJECT name + SUB PROJECT name +OBJECT NAME .*.lsmw.conv
    if you change the object name the file will be change....

  • How to create the logical file name

    Hi All,
        I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
       Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
      Help Me.
      Thanks in Advance!...
    Regards,
    Ramkumar

    Hi Ram,
    Try using FILE transaction code...
    Follow these steps to create:::
    Double click on Logical file Path Definition
    Click on New Entries,
    Give Logical file Path name as Z_LOGICAL PATH and save it
    now choose this path and double click on Assignemt of Physical path to Logical path
    double click on the OS name
    Give some description and give some Physical path name from AL11 transaction and save it
    Now Double click on Logical File Name Definition,
    Click on New Entries,
    Give some logical file name: Z_LOGICAL_FILENAME
    Physical file: test
    Data Format: BIN
    Logical Path: Z_LOGICAL PATH
    Hope this helps
    Regards,
    Phani
    Message was edited by:
            Sivapuram Phani Kumar

  • Logical & Physical File path

    Hi Gyes,
      In selection screen i will enter <b>logical file path</b>.After executing this program i want <b>physical file path for that particular logical file path</b>(input).Is there any function module is there.
    Thanks and regards,
      Suresh.

    hello,
    Use the function Module
    Call function  FILE_GET_NAME
    CLIENT                          200
    LOGICAL_FILENAME    <enter your logical file name>    
    OPERATING_SYSTEM                WINDOWS NT
    PARAMETER_1
    PARAMETER_2
    PARAMETER_3
    USE_PRESENTATION_SERVER
    WITH_FILE_EXTENSION
    USE_BUFFER
    ELEMINATE_BLANKS                X
    Reward points if helps.
    Thanks,
    Krishna

Maybe you are looking for

  • Required fields for GTC in OIM 11.1.1.5

    There is a lot of bad info out there on this topic. If you export the Create User workflow from MDS you will see one thing. The docs tell you another thing. Forum posts tell you another. So I wanted to post what worked for me with 11.1.1.5 It may not

  • My iphone 4 will not back up to icloud

    how do i get my phone to back up to back up to icloud when in my itunes i have it set to back up to icloud and on my phone its on but ye it still wont back up to icloud?

  • Not able to DEPLOY an application

    Hi, i am not able to deploy one particular application onto one particular WAS. the same is deploying and running fine on other servers... Following is the deployment error i got. can anyone suggest what can be done.... ?? Points will be awarded for

  • RH7: Can't get rid of numbers in numbered headings

    I'm importing a Word document into RoboHelp 7, and I can't find a way to automatically remove the numbers from the numbered headings when the document gets imported. Has anyone done this successfully?

  • Can't import photos from new "Photo" into iMovie 9.0.

    Since upgrading to the new Photo app, iMovie 9.0 only recognizes Photo Booth.  Previously I could drag and drop selected photos into iMovie, but now can't import them that way or through the Photo Browser in iMovie.  Any suggestions?