Developing Portlets
I have some info in an XML DB.
I need a quick and dirty demo or sample code of how to
extract data from that XML database via a Portlet and
through Soap, OC4J web services.
Any Thoughts?
Please Help.
Hello,
Could you be more specific into your question ?
Do you really want to write some code or simply publish xml/web services into Portal ?
1. if you want to publish web service/xml the easiest way is to use OmniPortlet that allows you to do it declaratively.
2. if you want to write some code, you can see the sample of the JPDK that helps you to understanthow to write java code or directly consune web services from java.
Just put more details in this topic...
Regards
Tugdual
Similar Messages
-
Need Help to develop Portlet in JDeveloper 10.1.2.10
I do not know what the best best way to start develop Portlet in short period of time .I would be glad if any one can share his experience how they started to develop portlet in JDeveloper.
Oracle Application Server 10.1.2 does not contain a portlet container. To deploy to Oracle Application Server 10.1.2
1. Install Oracle database 10g (10.1.0.4.2 or later)
2. Install Oracle Application Server (10.1.2.0.2) Infrastructure.
3. Install Oracle Application Server (10.1.2.0.2) J2EE and Web Cache
4. Install Oracle Application Server (10.1.2.0.2) Portal and Wireless.
5. Upgrade Portal to 10.1.4
6. Configure Java WSRP Container in Middle Tier.
7. Start the OracleAS Portal Builder
8. Deploy a WSRP Portlet Application in Oracle Application Server.
9. Register the WSRP Provider in OracleAS Portal.
10. Add a Portal Page.
11. Add the WSRP Portlets to Portal page. -
Developing portlets with Jdev 10.1.3.0 possible?
Hi all,
I'm currently using Jdev 10.1.3.0 and I need to develop a portal (and portlets) using AS Portal 10.1.4.
I tried to install the PDK on jdev 10.1.3.0, but that didn't work well.... do i need to upgrade my jdev version or there's another way to develop portlets for AS Portal 10.1.4 ?
Thanks,
RuiHello Rui,
I experience the same problem. PDK is not compatible with JDev 10.1.3. Actually I'm developing with the prevoius release of JDev, 10.1.2.2, with PDK extension and it works fine.
Bye,
Maurizio. -
It's possible to develop portlets with Jdev 10.1.3.0 ?
Hi all,
I'm currently using Jdev 10.1.3.0 and I need to develop a portal (and portlets) using AS Portal 10.1.4.
I tried to install the PDK on jdev 10.1.3.0, but that didn't work well.... do i need to upgrade my jdev version or there's another way to develop portlets for AS Portal 10.1.4 ?
Thanks,
RuiHi,
Use Jdevloper 10.1.3.2 version which comes up with portlet devlopment stuff.
Regards,
Tanmai -
Developing portlets for dummies (sql queries)
Hello, I've been trying to build a dynamic menu. First I went with just plain old plsql: i created a function in the portal schema that returns an unordered, nested list of the pages in my pagegroup and called that function in a regular pl/sql item on my portal page. I did this by querying the wwpob_page$ table and that went just great in my test&development setup (of which I am the admin of course :))
Then I realized that since I'm not an administrator of the server hosting our portal and I only have very limited privileges (I am only a page group administrator) I will probably not be allowed to utilize this function nor will they agree to install it in the portal schema, and I decided I should build a portlet that does the same thing (so it can be registered and so on, and so it can use the synonyms and tools that are available to registered providers). There already is such a portlet (and provider) registered for use in the target portal, but I don't like it because i uses tables and hard-coded styles so I will cook my own, better version. :)
So I downloaded an example portlet and am getting the hang of it, but now I just can't for the life of me figure out how to enable any sql-queries. I have run the provsyns-.sql script, logged in as test_provider/portal and installed my portlet-package as test_provider user. I can see the available pl/sql packages in Toad, but there are no tables or views for me to to see. That means I can't query the portal tables that I need to.
edit: ok, stupid user error; I suck at using Toad, so I was looking at the wrong schema altogether :D So now i see the public views and packages, so forget that bit of the question.
But still, I cannot see even wwsbr_all_folders -view, much less the wwpob_page$ -table. I cannot see any way to find the pages that are in my page group. Somehow it must be doable, right?
Have I done something wrong, missed a step in enabling my test-provider / schema perhaps? I don't really know what I'm doing, but I followed instructions here: http://home.c2i.net/toreingolf/oracle/portal/my_first_plsql_portlet.htm (excellent instructions, thanks!)
So should my portlet be able to access those tables or not? How the heck has the third partly portlet maker done it?
i'm on OracleAS Portal 10g Release 2 (10.1.4)
Edited by: Baguette on 23-Apr-2009 05:13
Edited by: Baguette on 23-Apr-2009 05:32i see your perspective now. and let me give a perspective to my first reply too.
what i proposed to you was the answer of what i quoted in the message. that is, why didn't you see those views in the new schema you created! and it is still ok but it is done in the portal schema for which you should have privielges too and i assumed you had. my mistake!
now, i can relate your privacy concerns with your earlier message:
Hello, I've been trying to build a dynamic menu. First I went with just plain old plsql: i created a function in the portal schema that returns an unordered, nested list of the pages in my pagegroup and called that function in a regular pl/sql item on my portal page. I did this by querying the wwpob_page$ table and that went just great in my test&development setup (of which I am the admin of course :))
+Then I realized that since I'm not an administrator of the server hosting our portal and I only have very limited privileges (I am only a page group administrator) I will probably not be allowed to utilize this function nor will they agree to install it in the portal schema, and I decided I should build a portlet that does the same thing (so it can be registered and so on, and so it can use the synonyms and tools that are available to registered providers). There already is such a portlet (and provider) registered for use in the target portal, but I don't like it because i uses tables and hard-coded styles so I will cook my own, better version. :)+
+So I downloaded an example portlet and am getting the hang of it, but now I just can't for the life of me figure out how to enable any sql-queries. I have run the provsyns-.sql script, logged in as test_provider/portal and installed my portlet-package as test_provider user. I can see the available pl/sql packages in Toad, but there are no tables or views for me to to see. That means I can't query the portal tables that I need to.+
- by downloading an example portlet, you probably mean you created a new schema. because provsyns work on a schema.
- if you are not the administrator of the portal, and may not be able to access some portions of the portal, it means that you do not use the portal user (the user which serves as the owner of the portal schema).
- now, your plan to create a new schema and give those privielges would still not work. because, by creating a new schema you cannot sneak in to the oriignal portal schema if you do not have privileges to do it. obvious, right? otherwise, it would be a vulnerability of the software that you can see what you are not allowed to see by creating a new schema.
- however, there is a bright side here. the views give records based on your privileges.
- so if your administrators have generated them already or if they generate on the original portal schema, then you may see the pages and items that you have privileges to see and no more.
so now, you may ask the administrators if they have already done it, and if not, then if they would be willing to do it.
hope that helps!
AMN -
Jetspeed 2 - developing portlets using JSF
Hi All,
I think Jetspeed 2 is very different from Jetspeed 1.X , they now support JSR-168 and the interface is very nice with its own cms.
I am very new to it, but i think the new release is pretty nice for open source portal. It sure looks much nicer then Jboss portal.
Can someone help me, ive developed a portlet in JSC 2 but i dont understand how jetspeed is deploying portlets, i did everything, deployed portled OK and wrote psml file and placed it in pages folder of jetspeed.
It uses maven which i am very unfamiliar with. Can someone describe please what it means to rebuild portal?
Anyways the error that i get is " cannot find description " or somethign of the sort.
If someone is willing to help me out, please contact me at [email protected]
Thank you kindly,
SergeHello,
Just put the portlet war file into "webapps/jetspeed/WEB-INF/deploy" -
ColdFusion and Portal Development (Portlet Toolkit)
I realize the Portlet Toolkit released was just a proof of
concept, but I was wondering if anyone has actually uses it for
ongoing development. I was able to deploy and run the example
Portlets on a IBM Portal v6 instance without any issues (since
IBM's api's are only deprecated), but I can't figure out how the
development process would work.
To deploy the toolkit war you had to use an Ant script to
merge it with the ColdFusion MX 7 war. Given this how would you
ever hot deploy and develop in iterations as you normally do today
with CF development alone? Would you manually deploy an extracted
version of this merged WAR and edit the CFCs on the DEV server
itself? Normal portlet development relies on the RAD tool to hot
deploy changes in the portlet project to the Portal server so you
can code and test with as little interruption as possible.
If editing the cfcs on the DEV server itself is the only way
to develop this seems to make development impractical with CF.
Especially if you can't just map a drive out to the DEV server. I'm
new to Portlet development but can't see a way to resolve this
circumstance. Am I missing something? Any suggestions? Any other
thoughts on the concept in general? We have large number of
in-house CF developers which far exceed the number of Java Portlet
developers and this might be a way to alleviate that problem (at
least in the short run).
-TimI've been using the Portlet tool kit for quite a while. I run
websphere test server right on my desk top and I manually deploy my
cfc to there. When the devlopment is done, I place my new cfc in to
cfportlet.war file and update the portlet through WS. -
Developing portlet applocations. (Question after IBM experience)
1. Is there another way to deploy PAR (not in SAP NDS) ?
2. Which UI framework/taglibs is the best for portlets (HTMLB, WebDynPRO, html with scriplets and so on)?
For example in IBM I could use only 2 tags in forms
<form action='<portletAPI:createURI><portletAPI:URIAction name="submit" /></portletAPI:createURI>' >
<INPUT name="<portletAPI:encodeNamespace value='name'/>" />
Is there the same taglibs in SAP(If I dont want to use HTMLB or WebDynPro) ? May I use JSF ?
3. If my application has portlets and servlets. Do I need to create 2 projects and 2 archives (.war for servlets .par for portlets)?HI
In Portal goto
System administartion-support-Portal Runtime -Administartive COnsole-
and there you have an option to deploy par.
Which UI framework/taglibs is the best for portlets (HTMLB, WebDynPRO, html with scriplets and so on)?
--It depends on what type of applications are you developing. Each one has got its own Advantages. If you are giving importance for look and feel it is better to develop in HTMLB or JSP.FOr "why webdynpro" refer the following thread
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Re: Why WebDynpro ?
Regards
Rajeev. -
Developing portlet without JDeveloper
I would like to develop a portlet using the JPDK. The Portal Developer's Guide (b14134.pdf) explains how to do it using JDeveloper, however, I want to do it manually, without JDeveloper. Does anyone know where this procedure might be documented, i.e. explaining the various parts of all of the configuration files, and where they go in the WAR file?
The Packaging and Deploying Your Providers article explains what you're looking for.
Peter -
Developing portlets using remote database.
We are trying to display data from a remote database in a portlet on an existing, already running Portal.
How can we do it.
Is there any option except Omniportlet.
thanks.our version is 10.1.4
-
How to develop Portlet - Create Page
Hi,
Does anyone know which APIs I can use to create a portlet for create portal page?
The user just need inform the "page name" and the portlet return the "page id", just it.
I need to do that because i don´t want give privilegies for the user .
Thanks,
CarloHi Carlo,
You can see the create page API here:
- http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_cm_extend.htm#BEIFIEEG
Cheers,
Mick. -
Integrating JDveloper for developing portlet with JBoss Portal
How can I do it? There is a guide?
Thank youOracle Portal Extension for JDeveloper
may also be used with JDeveloper.
http://www.oracle.com/technology/products/ias/portal/pdk.html -
JSF 2.0 portlet development
Hi there,
I'm new in the world of J2EE and I'm trying to develop JSF 2.0 portlets to run on JBoss Portal 2.7.
Unfortunately no JSF 2.0 portlet bridge standard exists (only for JSF 1.2), JBoss Portlet bridge still only supports JSF 1.2 and I didn't find any tutorial to make even a "Hello World" JSF 2.0 portlet.
The only thing I found is the project portletfaces, a JSF 2.0 portlet bridge, but it can only make it work on Liferay (for wich it is optimized), not on JBoss Portal (or even GateIn). Unfortunately for my project I absolutely need to use JBoss Portal...
Can anyone help me? Is it mandatory to use a portlet bridge for JSF 2.0 portlet development? Am I screwed?
Thanks a lot!
Nicolas!802101 wrote:
Hi gimbal2, thank you for your answer :)
So yeah, you confirm what I thought: it's to soon, better wait the maturity of the thing
However, I still have this question: is it possible to develop portlets WITHOUT using a portlet bridge ? Don't I just have to add a few config files (like portlet.xml, jboss-web.xml) and it is on?
Thanks a lotOf course you can. The bridge is there for interoperability between portlets and other (mostly JSF-based) frameworks. There is nothing stopping you from creating portlets without the bridge and you should just do that until you find you actually need it. My development take on 'management by exception' :) -
Portlets developed in JDev 10.1.2 and using JSF
Hi,
Is it possible in JDeveloper 10.1.2 to create a portlet that uses the standard JSF libraries (not using Oracle ADF Faces libraries etc...), which can then be consumed by Oracle Portal 10.1.4, without having to use the JSF-Portlet bridge that is part of the WebCentre Suite ?
The reason I ask is that I would like to develop portlets in JDeveloper 10.1.2 using JSF but I don't have a WebCentre Suite license. I don't think there is much point in moving to JDeveloper 10.1.3.2 to develop my portlets as I would still be in the same situation, I would ultimately need a WebCentre Suite license in order for them to be consumed by Oracle Portal 10.1.4, or am I missing something ?
Thanks.Is it possible in JDeveloper 10.1.2 to create a portlet that uses the standard JSF libraries (not using Oracle ADF Faces libraries etc...), which can then be consumed by Oracle Portal 10.1.4, without having to use the JSF-Portlet bridge that is part of the WebCentre Suite ?
The JSF Portlet Bridge is available separately.
https://jsfportletbridge.dev.java.net/ -
SAP NetWeaver Developer Studio Support Portlet Development
Hi Everybody,
Do we create portlet with SAP NetWeaver Developer Studio SAP. NetWeaver Application Server, Java(TM) EE 5 Edition support or it does not support Portled development.
Is there any portlet plug-in for NWDS to develop portlet.
Thank You
Syed SaifuddinHi Syed,
From your post I can understand that you want to use standard portlets in EP6. Unfortunately this is not supported in NetWeaver 04s which you are probably using because of EP6.
These portlets, that are compliant with JSR168, are supported in the next release NetWeaver CE 7.1 (JEE 5) and the portal that will be shipped with it.
However how to write a Hello World portlet you can learn from the following article: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/14b5d01e-0e01-0010-24aa-f12ee5940060
Regards,
Diyan
Maybe you are looking for
-
Will SQL Server work after changing the Machine's SID
I have a base VM which has SQL server and a SharePoint Farm, After changing the SID of the Machine Will SQL Server and SharePoint Work ?
-
My iPhone 4 lock button doesn't work
My lock button on my iPhone 4 doesn't and my Facebook app kickes me off all the time and so does wifi. I got the apple iCare plan and i was wondering if i could either get it fixed or trade it in 4 the new white one it looks so much better.
-
Lost my youtube app when i upgrade to iOS 6. how to retrieve my favourites list?
Hello, unlike most people, I am not happy to upgrade to iOS 6 - for the simplest reason that I have lost my youtube app in my (actually my father's) iPad 2 when I did so. I know I was supposed to be more aware when I tinkered with the update manuals
-
Why would an iCloud backup file be grayed out on an initial iPhone 5s setup screen?
I have a 4s with the latest update and recently upgraded to a 5s. I backed everything up in iCloud on the 4s before setting up the 5s. After everything is done, I stated the 5s setup. However, after I select 'restore from iCloud,' the backup file I n
-
CP5.5 - How do you get video controls on your inserted video?
I have an AVI file I inserted onto a slide in CP5.5. How do I get controls on the embedded AVI file (converted using the Adoble media encoder) so that the person going through my CBT has control over watching the video?