WSRP Portlets question 10.2 WLP

Hello

I am consuming asp .net remote portlets in the WLP 10.2 environment. During our load test, I noticed that definition desktop is refreshed whenever I change tabs in my WSRP portlets.

I noticed in each query sent by the consumer, there is an element of context portlet sent and the producer sends the same response back. With the help of interceptor JDBC, I observed that this sql call


prepareStatement netJDBCConnection30 (UPDATE PF_PROXY_PORTLET_INSTANCE SET
PORTLET_HANDLE =?, PORTLET_STATE_CHANGE =?, PORTLET_STATE =? WHERE
PORTLET_INSTANCE_ID =? )

I don't know if the consumer considers the response of the producer as the change and updates the table of pf_proxy_portlet-instance causing performance.

Is there an API I can use to modify the < portletContext > items.

Thank you

Hello

To answer your questions:

(a) I would suggest that you contact Oracle support and number #9857740.

(b) the producer probably shouldn't send the portletContext with portletHandle in response unless something has changed (just to save on network traffic, if nothing else), but it is not against the WSRP specification, so it is allowed.

(c) the stuff of caching control-tree is complex and there is an interaction between storing an instance of 'new' portlet which is not really new and the cache tree control. See answer to question (a).

(2) Unfortunately, the portletContext is not editable in WLP WSRP interceptor on a response context, so not.

(3) No, WSRP interceptors are a feature of consumer only WLP. However, in the WLP producers, it has an option to use XML transformations to modify outgoing SOAP messages. Maybe your producer has a similar option. If you can eliminate the portletContext starting from the SOAP message out if the portletHandle was the portletHandle even the consumer sent on demand, you should not see the consumer WLP storing the information in the database for each call.

Kevin

Tags: Fusion Middleware

Similar Questions

  • Handle HttpRequest and RESPONSE in the WSRP Portlets

    Hi all

    I have deployed an application ADF of fusion as a WSRP webcenter Portal portlet.
    In my portlet application code I want to perform certain manipulations (like open a file in the browser) file using the ADF table components.
    I used Http sevlet request and response but portlet throws a next exception.

    java.lang.ClassCastException: org.apache.myfaces.trinidadinternal.config.dispatch.DispatchResourceResponse cannot be cast to javax.servlet.http.HttpServletResponse

    Anyone has an idea on how to handle the http request and response in the WSRP portlets.

    Hello

    Portlets use HttpServletRequest and HttpServletResponse.

    Use instead of them: PortletRequest & PortletResponse

    Kind regards.

  • With the help of screens LCD producr / consumer in WebLogic WSRP portlet does not work

    I look at the use of displays LCD asynchronously "push" data to Flash in WebLogic portlets components.  I've set up a test with a destination of producer/consumer of LCD screens - the Flash component is the consumer and the producer is implemented in a java Servlet.  The test code is essentially a copy of the script data push in samples of LCD screens.  The test is run in 'local' portlets and portlets that are intended to be consumed by other portals using WSRP.
    When I run the test by using 'local' portlets (i.e., hosted on the same server as the portal and accessible Portal through the portal on this same server) everything works fine.  When I run my servlet of producers, consumers get the asynchronous push.
    However, when the Flash component is a portlet consumed remotely in another portal via WSRP, push does not work.  I have run the servlet, I see local customers, get the message, but the WSRP portlets never gets the message.  I have to do something different to enable LCDs to push to a remotely consumed WSRP portlet data?

    Hi StevePamp,

    To expose to consumer WSRP portlet, add the following instead of the portlet-preferences of the portlet.xml file section. This setting enabled queries SWF files be sent by proxy if the consumer according to the WSRP specification server.

         channel_uri     /messagebroker/amfpolling     true 
    

    The documentation is available here:

    http://help.Adobe.com/en_US/LiveCycleDataServicesES/3.1/developing/WSC 3ff6d0ea77859461172e0811f00f7045b - 7f2bUpdate.html

    I would like to know if it works for you?

    Thank you

    Rohit

  • Resource of transmission by proxy error in WSRP Portlet - invalid soap message.

    Hello

    We strive to use portlet WebCenter Portlan (11.1.1.7).

    In a simple application with jsr-286 Portlet on WSRP, we are facing the problem to send embedder resource binary (as picture) in the method of serveResource, using OutputStream of ResourceResponse.

    If the resources are simple text (javascript file) - successfully transmitted.


    Example:

    View.jsp

    <img src="<portlet:resourceURL id="image"/>"/>
    

    Portlet1.Java

        @Override
        public void serveResource(ResourceRequest request, ResourceResponse response)
                                            throws PortletException, IOException {
            String resourceID = request.getResourceID();
            System.out.println("Serving resources, resourceId = " + resourceID);
    
            InputStream is = Portlet1.class.getClassLoader().getResourceAsStream("test.png");
            System.out.println("inputStream = " + is);
            ByteArrayOutputStream buffer = new ByteArrayOutputStream();
            int nRead;
            byte[] data = new byte[16384];
            while ((nRead = is.read(data, 0, data.length)) != -1) {
                            buffer.write(data, 0, nRead);
            }
            OutputStream outStream = response.getPortletOutputStream();
            outStream.write(buffer.toByteArray());      
            outStream.flush();        
            System.out.println("end of serveResource");
        }
    

    When open portal page located portlet, not loaded image. And exception in the server log is:

    Serving resources, ResourceID = image
    inputStream = java.io.BufferedInputStream@3dd981
    end of serveResource
    < PortletResourceServlet > < _process > transmission error proxy resources.
    oracle.portlet.client.container.PortletRemoteException: oracle.portlet.wsrp.WSRPRemoteException: java.rmi.RemoteException: envelope parsing error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]; nested exception is:
    javax.xml.soap.SOAPException: parse envelope error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]
    at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:119)
    at oracle.portlet.client.techimpl.wsrp.WSRPResourceOperationPipe.execute(WSRPResourceOperationPipe.java:309)
    at oracle.portlet.client.techimpl.wsrp.WSRPResourceOperationPipe.pre(WSRPResourceOperationPipe.java:55)
    at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:650)
    to oracle.portlet.client.service.pipeline.PipeContext.access$ 000 (PipeContext.java:48)
    to oracle.portlet.client.service.pipeline.PipeContext$ 1.run(PipeContext.java:498)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
    to oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ ActionExecutorWrapper.execute (AbstractSubjectSecurity.java:242)
    to oracle.security.jps.internal.jaas.CascadeActionExecutor$ SubjectPrivilegedExceptionAction.run (CascadeActionExecutor.java:83)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
    at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
    to oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ ActionExecutorWrapper.execute (AbstractSubjectSecurity.java:242)
    at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:196)
    at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:502)
    at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    to oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$ Worker.runTask (ModifiedThreadPoolExecutor.java:391)


    to oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$ Worker.run (ModifiedThreadPoolExecutor.java:416)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.portlet.wsrp.WSRPRemoteException: java.rmi.RemoteException: envelope parsing error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]; nested exception is:
    javax.xml.soap.SOAPException: parse envelope error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]
    at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getResource(WSRP_v2_Markup_PortTypeJaxbToSoap.java:333)
    at oracle.portlet.wsrp.v2.ServerToWSRPv2.getResource(ServerToWSRPv2.java:6146)
    at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getResource(ActivityServerWrapper.java:236)
    at oracle.portlet.client.techimpl.wsrp.WSRPResourceOperationPipe.execute(WSRPResourceOperationPipe.java:141)
    ... 24 more
    Caused by: java.rmi.RemoteException: envelope parsing error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]; nested exception is:
    javax.xml.soap.SOAPException: parse envelope error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]
    at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.getResource(WSRP_v2_Markup_Binding_SOAP_Stub.java:567)
    at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getResource(WSRP_v2_Markup_PortTypeJaxbToSoap.java:229)
    ... more than 27
    Caused by: javax.xml.soap.SOAPException: parse envelope error: probably because of an invalid SOAP message. : illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]
    at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:137)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
    at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody (MessageImpl.java:1586)
    at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:887)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:275)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:148)
    at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_Binding_SOAP_Stub.getResource(WSRP_v2_Markup_Binding_SOAP_Stub.java:507)
    ... 28 more
    Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: illegal character (CTRL-CHAR, code 26))
    [row, col {source unknown}]: [3.1]
    at com.ctc.wstx.sr.StreamScanner.throwInvalidSpace(StreamScanner.java:639)
    at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4624)
    at com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3661)
    at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3615)
    at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:845)
    at oracle.j2ee.ws.saaj.util.ResettableXMLStreamReader.getText(ResettableXMLStreamReader.java:153)
    at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:124)
    at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:66)
    at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.getStaXParsedEnvelope(AbstractSOAPImplementation.java:207)
    at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:58)
    ... 35 more

    What I am doing wrong?

    Solved: required to set the correct content for the response type.

    response.setContentType("image/png");
    
  • WSRP Portlets - renowned HTML elements

    Moved from Webcenter spaces.

    All,

    I have a JSR-168 portlet that I WSRP-ed by using the wsrp-predeploy tool. I have this saved in Weblogic as WSRP producer and added to the Webcenter spaces. What I notice is that when rendering on the spaces, HTML elements, including the names of javascript functions are renamed and preceded by some string values. For example my input fields have '_adfp_portlet_field___adfpfp_f1723360181_adfpsep_f0_adfpsep_', was added to the beginning and my javascript (in the script tag) function names have "adfp1723360181_" added.

    The portlet I (this is the portlet JasperServer fwiw) uses Javascript features for navigation. As a result of this change of name, none of the button controls works in the portlet.

    Is that what I can do about it?

    --
    Coralie

    Try to make the portlet in an iframe. I don't think that your components will have the prefix to their id then.
    You can do this in the portlet display options and make in iframe portlet set to true.

  • Question of packaging portlets JSR 168

    Hello

    I have a bunch of Java (JSR 168, using Spring MVC) portlets (PortletOne, PortletTwo... PortletN) that I've created as individual Web portal projects and are contained in a portal REE project. This portal EAR is my unit of deployment and consists also of another project of Portal Web (Assembly.war) that contains an app.portal file where I intend to assemble all these Java portlets and use it to create a desktop computer. The reason for having all individual portlets in web projects that is clean is to export it to a device and use it as a shared library or package in the EAR another file as necessary.

    my application.xml looks a bit like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
    
         <display-name>MyEar</display-name>
    
         <module id="WebModule_1">
              <web>
                   <web-uri>Assemby.war</web-uri>
                   <context-root>appname</context-root>
              </web>
         </module>
    
         <module id="WebModule_2">
              <web>
                   <web-uri>PortletOne.war</web-uri>
                   <context-root>PortletOne</context-root>
              </web>
         </module>
         
         <module id="WebModule_3">
              <web>
                   <web-uri>PortletTwo.war</web-uri>
                   <context-root>PortletTwo</context-root>
              </web>
         </module>
    </application>
    But since all these WAR files are at the same level that I can't refer to definitions of context and the controllers for the portlets defined in each of these portlet WAR files (PortletOne, PortletTwo,...) of the joint web project that contains the file app.portal in Assembly.war. I tried to set up a structure of classes customized in weblogic - Chargers application.xml and put the war on a lower level assembly file, but the app even not a not deploy with IllegalAccessError as soon as a framework for each of the war files is saved by the hot deployment of processes. Moreover, when I deploy the EAR file, the portlets defined in each of the WAR files do not appear in the resource library, seen from the Portal Administration console.

    Suggestions how to assemble these common individual portlets in a web project, while keeping their packaged in the same EAR file? Other approaches are also welcome.

    I've already reviewed deploy these files of WAR portlet like Weblogic J2EE of shared libraries. But with this approach, the overall application response time is very slow despite exhausting all the tuning options and can also precompile JSP pages in shared libraries.

    Is to import the JSR-168 portlets using the import utility as WSRP portlets ARE a viable option? I'll be able to share in portlets all session variables, of fire and manage events and be able to precompile the JSP in Rible portlets?

    Published by: shyam6190 on August 13, 2009 13:25

    Hello

    Maybe the nested multiple classloaders involved with shared libraries approach slows down, it down-if this is the case, it would be difficult to fix.

    With the help of WSRP should work for you; There is a little more complex, but if you have relatively simple portlets, use methods and tags correct JSR168 (or done spring bridge), it shouldn't be too difficult to get to work. The IDE may be able to help you with that; You can create a new portlet type 'remote portlet' in your aggregate webapp, and a wizard will guide you through the steps. If you use the local proxy mode, individual portlet WSDL URL will be the URL of the Web application for each portlet on localhost.

    WSRP configuration can also be done dynamically in the tools of administration of portal, and even using a specialized tool to import JSR168, but these two options would create instances of database portlets and portals in your webapp library. It would be nice if your EAR group does not need to move to a different deployment environment, but if you need portability of the EAR in another environment it makes packing, as data is also necessary. If you happen to use WLP version 10.3, according to me, there is a bug that prevents the import JSR168 tool specialized to work, but the tool is documented here:

    http://download.Oracle.com/docs/CD/E13155_01/WLP/docs103/prodOps/deployment.html#wp1047337

    Because all WSDL URL show up only on the local host, when you compress the associate WAR file it should successfully deploy on all servers. Information about the local proxy mode, which should improve the performance of your configuration, are described here:

    http://download.Oracle.com/docs/CD/E13155_01/WLP/docs103/Federation/chap-Best_Practices.html#wp1010714

    I hope this helps!

    Kevin

  • The Groupware Portlets for WLP 10.3.2 Setup error

    Hello

    I try to install Groupware Portlets of WLP 10.3.2. Once I have selected the BEA of existing house where I have installed Weblogic Portal 10.3.2, I get the following error:

    Cannot load the file {directory}/tools/tools.properties install. I checked in the installation directory and the file/folder mentioned do not exist.

    Does anyone has installed portlets for groupware with WLP 10.3.2? Do you know if it is supported?

    Thank you
    John Gleason

    Jack,

    Unfortunately, the GWPortlets installer will not install in a WLP 10.3.2 installation. However, the GW Portlets with WLP 10.3.2. Here are some workaround instructions to get installed in WLP 10.3.2 portlets. First of all, you need to install 10.3 WLP and the Portlets GW in 10.3 WLP home. Assuming that you have makes...

    (1) copy the directory wlpgwi_10.3 of the WLP 10.3 install in the WLP 10.3.2 install directory (referred to as <10.3.2>below).

    (2) change your <10.3.2>/wlpgwi_10.3/eclipse/links/com.bea.wlpgwi.link file to point to your new way of<10.3.2>

    (3) copy the file from step 2 in <10.3.2>/oepe_11gR1PS1/eclipse/links

    (4) edit <10.3.2>/wpgwi_10.3/eclipse/plugins/com.bea.wlpgwi.ecplipse.groupware_10.3.0/plugins.xml:
    -update version 10.3 to 10.3.2 numbers in different places in the file
    -update of the entry of a hard-coded path
    -Comment the entry in section to "com.bea.wlp.ecplipse.common.taglib".
    -Add an entry "

    (5) edit <10.3.2>/wlpgwi_10.3/common/lib/platform.properties and change all paths to point to<10.3.2>

    At this point, the facets must appear in EPCO and you should be able to extend a 10.3.2 WLP field with the extension groupware_10.3 model.

    Brad

  • Producer for the webcenter portlet application deployment

    I created a producer of portlet webcenter application. Can I deploy this project to a non-webcenter weblogic server instance portal?

    Hello.

    WebCenter Portal only works with the active WSRP Portlets because it consumes remote portlets.

    Yes, you can deploy your producers in a separate area, , but in a managed, server ready to be a producer of Portlet (WC_Portlet) created using the installer of WebCenter portal. You will need to take into account to set the security domain and other stuff to allow this architecture work.

    Summarize:

    -Domain A with WC_Spaces server with WebCenter managed portal

    -The domain B with WC_Portlet Server (created using the WebLogic Portlet from the HOUSE of the WebCenter Portal model) managed

    It answers your question? I think the thread has become confused.

    Kind regards.

  • Trying to spread on WLP10 when the remote producer implements WSRP 1.0

    Hello

    Does anyone know if there is a problem of my portal which consume remote portlets implementation of WSRP 1.0 specification only multiplication?

    We seem to have some issues around portlet preferences in this portlet itself get propagated to the destination, but there is no preference.

    Any idea what the minimum standards are required when using the spread for the portals of federeated would be really useful.

    Thank you for your time.

    Kind regards
    Jonathan

    Hello Jonathan.

    Unfortunately, TAKE WSRP portlet preference values are stored by the producer, so you have the producer to provide the values of preference started to spread. In WSRP 2.0, there is an option called portlets of import/export feature that allows this, but more of WSRP 1.0 has no way of the spread of WLP tool spread remote portlet preferences.

    It may be possible on the side of producer to copy the database from preferences to your producer of destination somehow - I do not know how JBoss stores portlet preferences. But unfortunately, the spread of WLP tool can help here.

    Kevin

  • Parameter passing of WLP as a consumer to Jboss as a producer.

    Hello

    I'm moving the parameters of final consumer WSRP portlets to a producer of Jboss.
    I added a backup file and added the following code in it.

    State SimpleStateHolder = new SimpleStateHolder();
    state.addParameter ("name", "data1");
    request.setAttribute (MarkupRequestState.KEY, State);


    Now when I try to get the State in the producer side, I'm getting NULL state
    the code written on the producer side is

    State SimpleStateHolder (SimpleStateHolder) = request.getAttribute (MarkupRequestState.KEY);
    state.getParam...

    Please tell me if I do one any error or
    Please tell me if there is another way to do it.

    Thank you
    V.K.Singla

    Hello again,

    I didn't know that JBoss supports the transfer of custom data feature-thanks for pointing that out!

    You said in your previous post that you were trying to get the data on the producer of JBoss by doing the same thing you would do to a WLP producer, namely:

    State SimpleStateHolder (SimpleStateHolder) = request.getAttribute (MarkupRequestState.KEY);

    JBoss documentation, it is apparent that they didn't automatically insert the custom data in a query attribute and do not have in place a class 'SimpleStateHolder', but they allowed to access data in deserializing yourself into a java.util.Map object. Instead of calling SimpleStateHolder.getParameter (name) to get some data, you call map.get('zoom') (name) to get the same data. The code example in the documentation for JBoss is what to do about the producer of JBoss:

    {} public boolean handleRequest (MessageContext messageContext)
    ....

    Get the SOAP body
    SOAPBody body = message.getSOAPBody ();

    analyze the SOAP body and extract the encoded value
    String markupRequestState = extractMarkupRequestState (body);

    decode the value of
    Map requestAttributes = org.jboss.util.Base64.decodeToObject (markupRequestState) (card);
    NOTE: This card is now essentially identical to a SimpleStateHolder object on a WLP producer.

    Serializable yourCustomData = requestAttributes.get("yourParameterNameHere");
    ....
    }

    This is equivalent to the code on the producer of WLP:

    State SimpleStateHolder (SimpleStateHolder) = request.getAttribute (MarkupRequestState.KEY);
    Serializable yourCustomData = state.getParameter("yourParameterNameHere");

    Kevin

  • Customizing record WSRP

    Hi all

    I can handle WSRP Portlet remote, registration process? I tried to use Interceptor but I don't get a grip until the producer WSDL URL is valid. All I want is to inject my custom during the registration code so that I can change the WSDL URL. Is this possible?

    PS: I even missed recording requires and store-registration-properties such as 'false '.

    Any help or pointers would be greatly appreciated :)

    Thank you
    Paz

    Hello Paz,

    Unfortunately, there is no way to use the WSRP interceptors to intercept the registration at this time.

    You can use the WSRP API documented on http://edocs.bea.com/wlp/docs102/javadoc/com/bea/wsrp/consumer/management/producer/ProducerManager.html to save a producer with any WSDL URL you want instead to use administrative tools.

    Hope this helps,

    Kevin

  • JSR301 is supported to WLP 10.3?

    Hello

    Is JSR301 JSF portlet bridge support at WLP 10.3?

    Thank you

    Hello

    JSR301 is not supported to WLP 10.3, but must be supported in the next version (still unpublished) of WLP.

    Kevin

  • List of all portlets available with the JAVA method

    REST has the following url to list all of the portlets.
    / mywebappname/Bea/WLP/API/portlet/List? webapp = mywebappname

    Do we not have any equivalent Java API for weblogic for a list of all portlets available on the portal and on a page?

    Thanks in advance...
    Sandip

    Hello

    For all the portlets available in a Web application, you can use this EJB method:

    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/netuix/application/manager/IPortletDefinitionManager.html#getPortletDefinitions%28com.bea.netuix.application.manager.CustomizationContext,%20com.bea.netuix.application.search.WebAppSearchCriteria,%20int%29

    To access this EJB, you can use the following code:

    import com.bea.netuix.application.manager.persistence.PortletDefinitionManagerHome;
    import com.bea.netuix.application.manager.IPortletDefinitionManager;
    import com.bea.p13n.management.ApplicationHelper;
    import com.bea.netuix.application.manager.CustomizationContext;
    Import javax.naming.InitialContext;
    Import javax.rmi.PortableRemoteObject;
    to import javax.servlet.http.HttpServletRequest;
    to import javax.servlet.http.HttpServletResponse;

    Access the PortletDefinitionManager EJB
    InitialContext context = new world;
    String lookupName = PortletDefinitionManagerHome.LOOKUP_NAME;
    String applicationName = ApplicationHelper.getVersionedAppName ();

    If ((NomApplication! = null) & (applicationName.length () > 0))
    {
    applicationName = lookupName + "." + lookupName;
    }

    Object host = context.lookup (lookupName);
    To home page = •jfox (host, PortletDefinitionManagerHome.class)

    IPortletDefinitionManager portalManager = ((PortletDefinitionManagerHome) home) .create ();

    Kevin

  • ADF integration with Webcenter spaces

    We are developing an ADF application. We must incorporate into WebCenter spaces.

    In the application of the ADF we will use taskflows for our feature.

    We can integrate it into spaces in 3 different ways.

    1. Add as a Portlet Omni
    2. Add as a WSRP provider
    3. Add the taskflows as Shared Library.

    We should not focus on customization. We have implement security for the taskflows(jazn-data.xml).

    Could you please let us know which of the following would be a better approach for our US and also the scenarios where each of them can be used.

    You should forget about option 1 and 2.
    WebCenter spaces is built as an ADF application, so the natural thing to do is to integrate it as a library.

    You must use omniPortlet to integrate external content, and even in this case, you should go for the pagelet producer who is the component most recent.
    Using for ADF WSRP portlets in your own application, it is something that you should avoid because of performance and stability.
    You must use WSRP for regular JSP based portlets. But not for use with bridge Portlet ADF.

    Published by: Yannick Ongena on 12 April 2013 17:04

  • OPA &amp; WC portal integration

    Hi all

    I have to integrate OPA application in portal Center. But I could see 2 options. We're with iframe and another is as a portlet.
    I would like to expose the OPA application as a portlet. According to the documentation, I could see a lot of programming is required to evaluate the goal, make screenshot of the interview (generate controls based on their types), summary screen, etc. Y at - it an alternative to this.

    Or if you have already done this, please share a portlet application.

    Your help is very appreciated.

    Thank you

    Kind regards
    Satya.

    version 10.4 has portlet version of web-determinations that can be deployed as a WSRP portlet and integrated with webcenter Portal

Maybe you are looking for