Portlets to JCA/EJB or Portlets via WLI to EJB/JCA
I think the answer to this is quite simple but I just want to ensure I'm not missing
something.
Portlets can access the usual suspects, EJB, JCA, Web Services, JMS etc. WLI is
also an option and this itself can also talk to JMS, JCA and Web Serviices.
Would I go through WLI solely for the purpose of having the business logic in
these calls partake in a business process (BPM) or is there more to it?
Thanks in advance
Aaron
This is a interesting solution. Did you get any answer?
regards,
Kristoffer
Similar Messages
-
Secure the ADF pages in portlet via ADF portlet bridge
Hi All
My project is using the ADF security model to do the authentication and authorization and the project can be deploy to weblogic and works fine.
Currently i want o extend the pages and taskflows to WebCenter portlet client via the ADF portlet bridge. How can i implement the security policy
to reuse the existing code? i have no idea how the portlet client interactively work with producer to do the authentication.
appreciated if anyone can give a hand on this or show some examples.Could you tell me how you were able to combine an adf-table bound to BC with a portlet in the same page? I'm getting a 'portlet unavailable exception' when I try to customize my RichTextPortlet?
If I run the portlet on it's own in a jspx-document everything runs just fine, but from the moment you add an adf-component the portlet is unavailable? -
Event-driven Portlets via Message Driven Beans
Anyone have leads on how to force a BEA portlet (of any variety) to refresh based on server-side events? Such as when an MDB is triggered by an incoming message?
Within the proper confines of an MVC architecture, of course.
Thanks,
-JoeWhen configuring the filter the partyscheme was filled automatically. In the received message this field was empty.
-
JSR portlet works via WSRP locally but not remotely
Dear gurus,
I have Webcenter with WebLogic Server Version 10.3.4.0 and I'm trying to deploy a portlet so it can be consumed from another Webcenter instance remotely.
I have deployed a JSR 268 portlet from a WAR file using JDeveloper and the following steps:
1. Import portlet from WAR file
2. Follow http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10273/portlets.htm#BEIDHGGE to deploy the portlet as a WSRP producer. Obtain WSDL.
3. In the administration page for a portal, register the WSRP producer using the supplied WSDL.
4. Add the portlet to a page on the portal. This works if the portal page is on the same Webcenter instance as the producer.
However, if I try to consume this portlet from a remote Webcenter instance and follow step 3, "Test Connection" reports success, but the portlet does not appear in the list of available portlets in Step 4.
Could you please advise what I have missed?
Thanks in advance,
Linda Postniececross check again,
it shouldn't happen in your case.
earlier i have consumed remote portlets via wsrp and it was working fine for me.
No,in your case I think you should register the portlet producer in the remote domain's em-> in service cofiguration page ->portlet producer->
and check it out. -
Passing attributes between providers and portlets
When using Providers, it is possible to pass session data between providers via ProviderContext.setSessionProperty. Is it possible to pass attributes from a provider to a portlet? Anything set on the ProviderContext does not seem to get propagated to the portlet via PortletSession.getAttribute(). Similarly the attributes set on the provider's request object to not seem to be propagated to the PortletRequest.
My understanding is that Providers are the Sun proprietary portal technology, predating JSR 168 and Portlets.
You can use Portlets to implement leaf channels ... but you must still write Providers if you want to fiddle with containers. -
Hi !
I need your help if you can help me. I have a portlet done in jdeveloper retrieving student information and i want to convert it be mobile enabled portlet so as student can view with their mobile. I deploy to portal builder but seems like i keep having an error in mobile preview mode in portal builder
Portal Builder: Error: The XML parser encountered an Error, and could not complete the conversion for portlet id=174,135842, it returned the following message: {1}
JDEV error: The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
Whitespace is not allowed at this location. Error processing resource 'file:///C:/Documents and Settings/FELICIAT/Desktop/M...
<STUDCOURSE>Diploma In Electronics, Computer & Communications Engineering</STUDCOURSE>
I think is because of the '&' symbol, do anyone of you know how to let XML read the '&' symbol so it can display on mobile preview mode in Oracle Portal Builder while retrieving data from database ?
Thank you in advance!!
FelThanks Yannick for quick response, so on this my next doubt is can we create
1. Standard JSR 286 Portlet
2. PDK-Java Portlet
via Jdeveloper, and it may render inline without iFrame? Should I give a try on this.
Thanks
Ankur -
I am new to orcale portal. Here is some simple questions. I hope someone will help me. Thanks in advance.
How to detect duplicate records when insert or update?
e.g. I created a form based on table/view. My requirement is when I am doing insert or update, it will check the database for duplicate record. If duplicate is found, It will generate a user defined meaningful message and stops processing else submits the form. Can this be done by adding PL/SQL codes with 'insert' button?
Another question is, I want a 'preview' button to show the user the content that he just filled in before submitting the content. e.g, if a user put some HTML codes in one field of the form, he is given the preview before he submitting the content. My question is, if I use javascripts event handlers for the 'preview' button, how to get the value that the user put in from the session?Violet,
I believe what you are talking is having created a portlet via the Display In Place (DIP) provider and creating it via the Providers tab under the Navigator page.
If this is the case... you cannot change this. The thing is that the underlying functionality is creating packages in the database for a specific database schema, where you can't move these straitaway as they refer also to data within some tables inside the Portal.
Maybe you can ask the Oracle Support to file an Enahncement Request.
I hope it helps...
Cheers,
Pedro. -
Expose JSF app as a remote portlet on OAS 10.1.3.1
Hello,
We have a requirement to expose our JSF app as a remote portlet via WSRP.
Our production platform is OAS 10.1.3.1 SOA and we are using JDeveloper 10.1.3.1 for the development.
We are new to the portal technologies, but what we understood reading the docs is that we must use WEB Center framework to expose the JSF app as a remote portlet. Is this correct?
Also, how can we install the WEB Center to our OAS 10.1.3.1 SOA ?
thank youHi, to expose your JSF application as a portlet you wil need to use the WebCenter Portlet Bridge, this is our implementation of JSR 301:
- http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_java_adv.htm#BABBFDHA
Oracle WebCenter was released with OracleAS 10.1.3.2 and requires a minimum of ADF 10.1.3.2 runtime libraries, you can either deploy the required ADF Runtime Libraries to your 10.1.3.1 OC4J or upgrade to OracleAS 10.1.3.3 which is the latest release. You can find more information here:
- http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller.html
Cheers,
Mick. -
JSF app as a remote portlet on OAS 10.1.3.1
Hello,
We have a requirement to expose our JSF app as a remote portlet via WSRP.
Our production platform is OAS 10.1.3.1 SOA and we are using JDeveloper 10.1.3.1 for the development.
We are new to the portal technologies, but what we understood reading the docs is that we must use WEB Center framework to expose the JSF app as a remote portlet. Is this correct?
Also, how can we install the WEB Center to our OAS 10.1.3.1 SOA ?
thank youHi,
In one of our current projects we're using SOA Suite and WebCenter. For example, we're exposing a JSF page containing a custom-built human workflow tasklist as remote portlet.
We have installed a separate WebCenter AS 10.1.3.2.0 besides the AS SOA Suite. (See: http://www.oracle.com/technology/software/products/ias/htdocs/101320ws.html) and patched it to 10.1.3.3.0. For development we use JDeveloper 10.1.3.3.0 and its pre-configured WebCenter OC4J.
We had some issues with the JSF portlet-bridge and opened tar's, but these we're resolved by Oracle.
Regards, Ronald -
Rendering Portlets Dynamically
Hi
I have been trying to look into how to render the portlets dynamically through the backing bean. I am working on Web Center 10gR3 and portlet rendering in static. What i mean is that we have to define the portlets on the jsp page. In this way we cannot rearrange the portlets, create them in tabular form and many things.
Now i tried rendering the portlets via the Backing bean using the PortletBase Object but im having issues. The Portlet is binded to the pageDefinition in the jsp in this way:
value="#{binding.OmniPortlet}"
Now i cannot set this value in the Backing bean, even if i do i get an error. That binding is null. I am able to render the portlet container but get the error binding is null.
Looking forward for a response.
Thankyou in Advance
Nauman BashirHi Kunel,
Following two parameters you need to change in adf-config.xml file.
parallelPoolSize: The number of threads to use for parallel execution of tasks. (Default value: 10)
parallelQueueSize: The size of the queue of tasks waiting for parallel execution. Tasks are rejected once the queue size is exceeded. (Default value: 20)
In case there are more parallel requests from a WebCenter page than this set queue size then some requests will be blocked.
See more information in the documentation here:
C.5.1 adf-config.xml
of
Oracle WebCenter Framework Developer's Guide
10g (10.1.3.4)
Part Number E12434-01
at
http://download.oracle.com/docs/cd/E12524_01/webcenter.1013/e12434/jpsdg_files.htm#CHDECFBC
Regards,
Imran Mirza -
Hi,
Resolution History
23-MAY-07 16:53:02 GMT
### What kind of problem do you have? ###
Security Issues
### Describe the problem you are having in detail. Include any notes, guides, or documentation
that you have followed. ###
We have test implementation of VPD or row-level security at database level. This works fine with discoverer queries. At the
portal level we are okay with getting discoverer portlets via a public
connection (the VPD works fine).
Q1. What kind of parameter form would be better for discoverer portlets so that we retrieve list of values via a sql query? Simple parameter form allows static list of values so any suggestion on what parameter would be good and easy to implement to write sql queries.
Q2. With parameters form of some kind we are trying to limit the list of values for each parameter that we have at the portal based on the user logon at the portal somehow married up to database users. (FYI-- we don't have SSO for discoverer). Any suggestions as to how this can be implemented also would be greatly appreciated!
Thanks in advance,
-EstherI really hope someone can help! I'm trying to accomplish the same exact thing! The private connection for each user gets tricky because not all of our users know exactly what they are doing. Please help!!
Alanna -
How to perform inter-portlet communication in alui6.1.
I want to perform perform inter-portlet communication in alui6.1. I don't have any clue to how to do it.
Can anyone help me.Frankly, I did it using jQuery. When you have just two portlests on page, you can hardcode object id of second portlet in a code (not so nice, but very fast to see results). Otherwise you can use portlet settings to stay more environment independent.
In brief, in first portlet via ajax I request for data, using css selector jQuery, paste content to div in second portlet. -
Control Height Of Region Containing JSR-168 Portlet
We are in the process of converting some portlets from Oracle Reports to JSR-168. Our intitial portal page would contain the Oracle Reports portlets within the height of the region. The same output created by a JSR-168 portlet causes the region to grow vertically, which pushes the regions below it down thereby creating large gaps.
The Oracle Reports portlet would have a scrollbar that allows the user to see all of the content hidden below the bottom of the region. No matter what css I apply, I cannot make the same thing happen with the JSR-168 portlet.
Does anyone have any tips for constraining the vertical size of the regions so that they do not grow to accommodate all of the content but instead produce a scrollbar?Andre,
When you drag a project folder over to a portal, workshop doesn't
scan/detect the folder contents and create portlets accordingly. So, you
are creating the wrong portlet type.
In this case, you need to create the portlet via the file wizard. Just
right-click on the directory where you want the portlet to live and
select 'New->Portlet' to get the wizard. Then, select the portlet type:
'Java Portlet'.
-robert
Andre Ranvik wrote:
Is there anybody who has experience with deploying JSR 168 portlets on WLS 8.1SP2
that have been "handcoded". The portlets I am trying to deploy are these:
http://developers.sun.com/prodtech/portalserver/reference/techart/jsr168/#2
I have tried to manually import the individual folders/files, modified the portlet.xml,
and dropping the folder containing the jsp's onto a portal within Workshop. I
respond "yes" to the question whether I want it to create a portlet. The problem
is that it doesn't recognize this to be a JSR 168 portlet (or it doesn't support
it??).
I have also tried to deploy a portlet within a WAR file, but no such luck.
Support for JSR 168 implies that one would expect support for deploying JSR 168
portlets developed on other platforms.
I am hoping for a step-by-step set of instructions on how this can be accomplished.
Thanks a bunch!
Andre Ranvik -
Hi
In Weblogic Workbench 9.2 I am using the Portlet Taglib to generate an actionURL. However, eclipse doesn't seem to recognise the declared var so is indicating that the variable (e.g. in var sTargetURL = "<%=actionUrl%>") cannot be resolved.
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<portlet:defineObjects/>
<portlet:actionURL secure="true" var="actionUrl">
<portlet:param name="nav_state" value="action_001"/>
</portlet:actionURL>
<script language="JavaScript">
var sTargetURL = "<%=actionUrl%>";
function doRedirect()
setTimeout( "timedRedirect()", 2*1000 );
function timedRedirect()
window.location.replace( sTargetURL );
doRedirect();
</script>
You are attempting to access this portlet via an insecure connection!
<br><br>
<p>You are being redirected to a secure server.
<br>
If this page does not redirect after 3 secs. Please
click <a href="<%=actionUrl%>">here</a> to continue.
Because the application doesn't build it cannot be deployed. Only workaround I have found is to turn JSP verification off i.e. project properties-->validation-->uncheck JSP Syntax Validator
Does anyone know of an alternative?
Additionally, if the browser is left to perform a timed redirect then the portlet is invoked via the render URL rather than the action URL. If the provided link is clicked then the portlet is invoked correctly via the action URL.This is a noted limitation in the Release Notes.
CR273414 JSP tag variables cannot be resolved in Workshop for JSP
Due to a problem in Eclipse, some JSP tags (such as <auth:login> and <portlet:actionURL> and variables declared from JSP tags are marked as containing an error when they are actually correct. Although no error actually exists, Eclipse will not publish (deploy) the application.
Platform: All
Workaround: If this situation occurs, you must turn off JSP validation before publishing. Leave JSP validation on until you have fixed any problems except those caused by these tags; before deploying, select Window > Preferences, select Validation in the tree, and uncheck the JSP Syntax Validator check box. -
Portlet that become a full screen page
We are currently running portal 4.0 and I need to create a portlet that
works as follows.
The first page will display a series of links based on data, when one of the
links is selected, I want the next page to maximize and cover the content
section of the portal.
The last thing I want it to do is that if your leave the portlet via one of
the page tabs at the top of the portal and then return to the page, I want
it to return to the initial page and not stay on the full screen detail
portlet.
I expect this can all be done in the webflow, but I don't see how to force
this behavior.I found part of my answer.
I can from the Input processor call the maximize function for that given
page, this is 1/2 the problem.
I next need to find out how to reset back to normal size ( not minimized ).
Michael C
"Michael C Ford" <[email protected]> wrote in message
news:3ee0b4ca$[email protected]..
We are currently running portal 4.0 and I need to create a portlet that
works as follows.
The first page will display a series of links based on data, when one ofthe
links is selected, I want the next page to maximize and cover the content
section of the portal.
The last thing I want it to do is that if your leave the portlet via oneof
the page tabs at the top of the portal and then return to the page, I want
it to return to the initial page and not stay on the full screen detail
portlet.
I expect this can all be done in the webflow, but I don't see how to force
this behavior.
Maybe you are looking for
-
Would the WRT110 be an improvement over the WRT54GS and does MIMO technology on THIS router work with standard G even though the standard G device does not have MIMO technology? P.S. According to Linksys' website this router is listed under "RangePl
-
Pre Order Date for 300: Rise Of An Empire
Just wanted to bring this to someones attention, I found it funny. The expected date for the pre-order of 300: Rise of and empire says November 30 2049. Thats a long time to wait for a movie!
-
So I am having trouble with editing anything i save on a PDF. I recently saved a research paper in PDF format so it would be compatible at my school where there are microsoft only computers. I opened and realized I couldn't edit anything! I tried loo
-
Hi again ... thanks for replay but I try to better explain my problem: on my iMac I start the MFT 7 (upgraded from version 6) but I could not find any iCloud icon to send the MFT to iCloud I have also started MFT 7 on iPad and on it there is the icon
-
I have been getting notices lately saying that I needed to update my browser ( Safari 5.1) or that my browser is not "supported". It is suggested I update/download Chrome or Moxilla Foxfire. I once had a phone conversation with an Apple support pers