• Enterprise Portal 试题


    Doc text:

     1)

          Accessing a Portal Component in the Default ModeAns :    doContent

    (); 2)      Extending this class when Developing your Portal ComponentsAns

    :   AbstractPortalComponent. 3)      Portal Runtime  call the 

    methods  in the Life CycleAns :  init(),          

    service()          destroy()4)

           What are the Parameters that we have to pass to doConent();Ans :  

    IPortalComponentRequest ,IPortalComponentResponse; 5)      How do u access a

    Resource from a request object  Ans :   request,getResource();    

    6)      Personalization  concept what are the data type ….the type attribute

    supports Ans :    String , Date , Select , Boolean 7)     

    How do u get the property from the IPortalCompenentProfileAns :   getProperty(String) 8)

          What is the method has to be overridden by the class that extends from

    PageProcessorComponent Ans :   getPage(); 9)      Give

    the sequence of methods execution of DynPage           Ans : 

    1)      doInitialization() 2)      doProcessAfterInput()

    3)      doProcessBeforeOutput()  10)   sequence of

    method calls when an event occurs          Ans :  1)

          doProcessAfterInput()2)     

    on<EventHandlerName>3)      doProcessBeforeOutput()    11)  how do u get the getCurrentEvent

    ();         Ans :  IPageContext myContext =

    PageConectFactory.createPageConext(request,responce);Event   =   myContext.getCurrentevent

    ();  12)  onClientClick() and onClick() are specified   then which method will be

    called first        Ans :         

    onClientClick(); 13)   JSPDynPage  uses    _________ type of approach

    Ans :    Model View Controller 14)  The two properties in the component profile

    indicate that a JSP need to be compiled into portal component :Ans : 

                     Property  

    name =

    “JSP”                

    Property   name = “ComponentType”  15)   Which one is true in

    the following  statement    a) <property name = “hbj” value  =

    “/service/htmlb/taglib/htmlb.tld”><%@ taglib uri = “hbj” prefix =

    “htmlb”>   b) <property name = “htmlb” value  =

    “/service/htmlb/taglib/htmlb.tld”><%@ taglib uri = “hbj” prefix =

    “hbj”>   c) <property name = “htmlb” value  =

    “/service/htmlb/taglib/htmlb.tld”><%@ taglib uri = “hbj” prefix =

    “htmlb”> d) <property name = “hbj” value  =

    “/service/htmlb/taglib/htmlb.tld”><%@ taglib uri = “htmlb” prefix =

    “hbj”> Ans :   a 16)   How do u call a jsp file

    :       Ans :           setJspName

    (); 17)  If java Script are used _______tag is necessary for the page     

    Ans :       Page tag  18)    Which tag is used for 

    including bean in the jsp file    Ans :    <jsp: useBean /> 19) 

    What is the scope of the bean   <jsp : useBean scope = sesssion>Ans :    Session

          20)  Give the objects that are extend form the  IPrincipal

                 Ans :  IGroup,IRole ,

    IUser,IUserAccount,IUserMaint, 21)  ____is the Central object from which all UME object factories are

    obtained        Ans :        

    UMFactory  22)       IUser  user = UMfactory.getUserfactory

    ().getUserbyLogonID(uid)            String  userName 

    = user.getDisplayName();            String  email 

    =  user.getEmail();        Response.write(“ userName”+

    username+”   Email   :”+ email);    1)

          Displays the username and Email ID 2)      Throws an exception

    3)      Doesn’t Compile  Ans :   1.23) 

     List the methods used to create successful user Ans :  1)      NewUser

    (uid);2)      setFirstName()3)      setLastName()4)

          setEmail()5)      setPassword();          24)    can we construct an  unique id 

    manually .          Ans :      false can create

    a unique id . 25)    Unique IDs are used to identify objects across data sources.Ans

    :   <objectType>.<Data Source>.<ObjectDinDataSource> 26)  How do u

    retrieve log on  information Ans :           umdata.enrich

    (map); 27)  What is the return type of  map.get(“”);Ans :   String

     28)  How do u load the data in the Client Eventing across the iviews Ans :  

    EPCM.loadClientData(); 29)  What is the object available in the pages Ans

    :            EPCM30)  What problems does HTMLB 

    the  overcomes on servelts     Ans :  Visualization and business logic are not

    separateDevelopment has to take care of different web clients and versionsNamesSpace conflicts with  form

    elements            31)   Stored data is identified

    by the key …..             Ans

    :                 Namespace+name 32)  Frame Work Levels Ans : 

                     Level  = 0

    ….. not supported  by both javaScript,

    Java                Level =

    1    ----only by browser (java Script )

                    Level = 2 ----both

    javaScript and Java  33)  Features of  portal Services in the

    portal        Ans :  1)     portal services are way

    to provide functionality to portal component2)     portal services implement no user interface

    3)     portal service may be accessed from out side portal framework  34) 

    Why do we need custom portal Services in the portal      Ans :  1)

         Can be used by other Portal Application2)     Provide commonly used

    Functionality 3)     Can be exposed as webservice 35)  To build a new portal service

    ……interface must be implemented       Ans : 

             

    IService                  

    36)  Life cycle of a portal service           Ans : 

    Init()Afterinit()Destroy() 37)  Service name =     Ans

    <ApplicationName>.<Service><ApplicationAlias>.<Service><ApplicationName>.&

    lt;ServiceAlias><ApplicationAlias>.<ServiceAlias> 38)   Portal service name

    is myService …what would be the name of interface that   extends IService

                     Ans

    :    IMyService 39)    JCA/J2EE connector Architecture is not API. True

    /False          Ans :    true 40) 

     ConnectorFrameWork is SAP Extended API from CCI . all methods in    Connector FrameWork has methods with

    suffix as EX()….             Ans

    :     False only some methods   41)   What is the method used to get

    connection  in the Java Connectors Ans :          

    Service.getConnection(); 42)   How do u get the locale from the request

    object.                Ans

    :    Request.getLocale(); 43)  What is the return type for the table type structure

    .Ans :     IRecordSet. 44)  Give the name of the method that returns

    resource bundle for the current locale.Ans :    getResourceBundle()   45) 

    Localization.properties 

        Localization_de_DE.properties.     

    Localization_en_EN.properties.     What is the Resource bundle name : ?Ans

    :    Localization 46)  What is the data type that returns  by the method 

    getString (key) Ans :    String  47)  How do u access the  a key

    in the properties file     xyz = abcAns

    :            getString (“xyz”)48)  What type

    of objects can be translated

                    Ans

    :       Text 49)  the portal translation process is supported by tools

       Ans :            Translation worklist

    coordination         Worklist translation 50)  to

    customize the Logoff  screen to the portal ----file is used to change

             Ans :    masthead51)   SAP Recommends

    not to modify the SAP code , then what are the process to customize the code    Ans :  1)

         copy the existing file and rename it according to customer name space2)

         create new  custom component  52)   how can we customize the

    company Branding        Ans :  1)    

    masthead 2)     through customize applicaton              53)   Their one question on

    Desktop inner page   54)  What are the components that are added to Portal

    Desktop         Ans : 

                    Default Frame

    work                

    Themes 55)  What is the jsp name that contains log on page

             Ans :  umLogonPage.jsp56)   Authschemes.xml is

    modified to get custom log on component  57)  How do u access portal services from WebDynpro

    applications              Ans

    :         WDPortalUtils 58)   Cache Level  :

                  Ans :    none ,session

    ,user,shared  59)    getCachingLevel() is used to get the Cachelevel 60)   When will the doinitialization () method is called

               Ans :   1   When the page is

    loaded for the first time  2   When the page is refreshed  3   When object is

    called from the another object 61)  Cached objects are retrieved using the --- method

             Ans :   get(key)62)   How can the portal

    service  access to external Web Service Ans :  Generate java proxy out of WSDL file with PDK

    You can execute the java proxy as portal service Expose remote Function modules as web services with se

    37  Transaction

  • 相关阅读:
    前端学习 -- Css -- 盒子模式
    前端学习 -- Css -- 文本样式
    Shell脚本学习
    前端学习 -- Css -- 行间距
    前端学习 -- Css -- 字体的几个属性学习
    前端学习 -- Css -- 字体分类
    前端学习 -- Css -- 字体
    前端学习 -- 颜色
    前端学习 -- 长度单位
    前端学习 -- Css -- 定义列表
  • 原文地址:https://www.cnblogs.com/byfhd/p/1033572.html
Copyright © 2020-2023  润新知