Enterprise Portal questions

Source: Internet
Author: User

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

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

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

Method callwhen 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

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 upload SS 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 processing ss 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 bothJavascript,

Java level =

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

Level = 2 ---- both

JavaScript and Java 33) features of portal services in

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 wocould 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

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 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)

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 processes 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

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.