Pages

Download SAP Certification Material for FREE @ http://sap-ebooks-den.blogspot.com

Thursday, February 24, 2011

FAQs on SAP Enterprise Portal - 2

Q) Accessing a Portal Component in the Default Mode?

Ans: doConent ();

Q) Extending class when developing your Portal Components?

Ans: AbstractPortalComponent.

Q) Portal Runtime calls the methods in the Life Cycle

Ans: init (), service (), destroy ()

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

Ans: IPortalComponentRequest, IPortalComponentResponse;

Q) How do you access a Resource from a request object?

Ans: request.getResource ();

Q) Personalization concept what are the data type attribute supported?

Ans: String, Date, Select, Boolean.

Q) How do you u get the property from the IPortalCompenentProfile?

Ans: get Property (String)

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

PageProcessorComponent?

Ans: get Page ();

Q) Give the sequence of methods execution of DynPage

Ans:

1) doInitialization ()

2) doProcessAfterInput()

3) doProcessBeforeOutput()

Q) Sequence of method calls when an event occurs

Ans:

1) doProcessAfterInput()

2) On

3) doProcessBeforeOutput()

Q) How do u get the getCurrentEvent();

Ans:

IPageContext myContext = PageConectFactory.createPageConext(request, responce);

Event = myContext.getCurrentevent();

Q) onClientClick() and onClick() are specified then which method will be called first

Ans: onClientClick ();

Q) What type of approach JSPDynPage uses?

Ans: Model View Controller

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

Q) How do you call a jsp file?

Ans: setJspName();

Q) If java Script is used which tag is necessary for the page

Ans: Page tag

Q) Which tag is used for including bean in the jsp file?

Ans :

Q) What is the scope of the bean

Ans: Session

Q) Give the objects that are extend forms the IPrincipal.

Ans :

IGroup, IRole, IUser, IUserAccount, IUserMaint,

Q) What is the Central object from which all UME object factories are obtained

Ans: UMFactory

Q) What will this do: 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.

Q) How Unique IDs are used to identify objects across data sources.

Ans: ..

Q) How do u retrieve log on information

Ans: umdata.enrich(map);

Q) What is the return type of map.get (“”);

Ans: String

Q) How do u load the data in the Client Eventing across the iViews?

Ans: EPCM.loadClientData();

Q) What is the object available in the pages?

Ans: EPCM

Q) What problems does HTMLB overcomes on the servlets?

Ans:

Visualization and business logic are not separate

Development has to take care of different web clients and versions

NamesSpace conflicts with form elements

Q) Stored data is identified by the key …..

Ans: Namespace+name

Q) What are the 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

Q) What are the features of portal Services in the portal?

Ans:

1) Portal services are way to provide functionality to portal component

2) Portal services implement no user interface

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

Q) Why do we need custom portal Services in the portal?

Ans:

1) Can be used by other Portal Application

2) Provide commonly used Functionality

3) Can be exposed as webservice

Q) To build a new portal service which interface must be implemented?

Ans:

IService

Q) Portal service name is myService …what would be the name of interface that extends IService

Ans: IMyService

Q) JCA/J2EE connector Architecture is not API. True /False

Ans: true

Q) ConnectorFrameWork is SAP Extended API from CCI. All methods in Connector Framework have methods with suffix as EX ()….

Ans: False. only some methods

Q) What is the method used to get connection in the Java Connectors?

Ans: Service.getConnection();

Q) How do you get the locale from the request object?

Ans: Request.getLocale();

Q) What is the return type for the table type structure?

Ans: IRecordSet.

Q) Give the name of the method that returns resource bundle for the current locale?

Ans: getResourceBundle()

Q) What is the data type that returns by the method getString (key)?

Ans: String

Q) How do u access the key in the properties file xyz = abc?

Ans: getString (“xyz”)

Q) What type of objects can be translated?

Ans: Text

Q) The portal translation process is supported by tools?

Ans:

Translation worklist coordination

Worklist translation

Q) To customize the Logoff screen to the portal which file is used to change?

Ans: masthead

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

2) Create new custom component

Q) How can we customize the company branding?

Ans:

1) Masthead

2) Through customize application.

3) By having the Logo change.

Q) What are the components that are added to Portal Desktop?

Ans:

Default Frame work

Themes

Q) What is the jsp name that contains log on page?

Ans: umLogonPage.jsp

Q) Authschemes.xml is modified to get custom log on component?

Ans: True

Q) How do you access portal services from WebDynpro applications?

Ans: WDPortalUtils

Q) Cached objects are retrieved using which method?

Ans: get(key)

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

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...