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/
Similar Messages
-
Hi Gurus,
Currently we are using JDeveloper 11.1.1.2 and deployed a sample web application into integrated WLS and its working fine with skins and page-templates.
We are using stand alone Weblogic 10.3.1 version.
When i deployed the same application(developed in jdev 11.1.1.2.0) into stand alone WLS 10.3.1, the skins and page-templates are not working.
Am i missing any thing at the time of deployment?
Please share your valuable suggestions and ideas on this.
Thanks
Mahi.We don't certify this combination - you should be using the same subversion of WLS and JDeveloper.
You need to make sure the JRF/ADF libraries on the server match the version in JDeveloper. -
Develop in JDev 10.1.3.5, test and deploy to Oracle Weblogic 11g
Hi,
I have run into some important issues when trying to migrate my Jdev 10.1.3.5 applications to JDev 11g for deployment to the latest Oracle Weblogic Application server version, see threads:
Thread: migration problems ADF/ Struts 10.1.3 -> 11.1.1.3
migration problems ADF/ Struts 10.1.3 -> 11.1.1.3
Thread: ADF/Swing/JClient application migration problem from 10.1.3.5 to 11.1.1.3
Re: ADF/Swing/JClient application migration problem from 10.1.3.5 to 11.1.1.3
- so using JDev 10.1.3.5 with deployment to Oracle Weblogic 11g is a must for us.
Questions:
1) Is there a way to use Oracle WEBLOGIC 10.3 for debugging inside JDev 10.1.3.5?
2) Can I develop with JDev 10.1.3.5 + JDK 1.5 and create an ear to deploy to Oracle WEBLOGIC 10.3 Application server with JDK 1.6 64bits?
3) Which version of ADF should I install on Oracle WEBLOGIC 10.3 to run my 10.1.3.5 application?
Your help will be appreciated
FredIs there a way to use Oracle WEBLOGIC 10.3 for debugging inside JDev 10.1.3.5?While you can't replace the embedded OC4J - you can use an external WLS server and do remote debugging on it. http://www.oracle.com/technetwork/developer-tools/jdev/remotedebugwls-086628.html
From inside JDeveloper you can also deploy directly to the WLS server.
Can I develop with JDev 10.1.3.5 + JDK 1.5 and create an ear to deploy to Oracle WEBLOGIC 10.3 Application server with JDK 1.6 64bits?Yes you can. Note that so far we haven't officially certified ADF 10.1.3 on WLS 10.3 - but from various customers and testings we think it works ok. We might certify this combination in the future.
Follow these steps to get the deployment working:
http://www.oracle.com/technetwork/developer-tools/jdev/deployingwls-091640.html
Which version of ADF should I install on Oracle WEBLOGIC 10.3 to run my 10.1.3.5 application?You always install the version of ADF that matches the one your application was developed and compiled with. -
JDeveloper Portlet Development - What to download and from where?
Hi.
I have JDeveloper 10g (10.1.3_0.2) J2EE Developer Edition.
I want to develop JSR-168 portlets within JDeveloper.
What to download and from where?
That PC with JDeveloper doesn't have internet access.
Can I install plugin from disk?JDeveloper 10.1.3 is not production at this point. \the Java Portlet extension will be available for JDeveloper 10.1.3, soon after it goes production.
At this point JDeveloper 9.0.3, 9.0.5.1, and 9.0.5.2 are supported.
Here you can download the extension for JDeveloper 9.0.5.1 and 9.0.5.2.
Hope this helps,
Peter -
JDev 10.1.2 and EJB 3.0
Hi,
Is it possible to create a portlet in JDev 10.1.2 that uses EJB 3.0 components ?
Thanks,Use Oracle JDeveloper 10.1.3.2 that has both EJB 3.0 and Portlet development support.
JDev 10.1.2 doesn't support JDK 5.0 out of the box so you'll probably have problems with the annotations of EJB 3.0. -
JDev 10.1.2 and Spring 1.2.3: Incredibly slow OC4J startup
I have JDev 10.1.2 which runs many non-Spring apps in the embedded OC4J without incident.
But after an app that uses Spring Framework 1.2.2 or 1.2.3 is added to a Workspace, attempting to run any application, spring-using or not, in that workspace results in an incredibly long startup time for OC4J, typically 160-220 seconds during which JDeveloper becomes unresponsive and the CPU use rises to 100%.
After JDeveloper becomes responsive again, here are the displayed contents of the OC4J server window:
[Starting OC4J using the following ports: HTTP=65001, RMI=65002, JMS=65003.]
/home/kt/jdevhome/system10.1.2.0.0.1811/oc4j-config>
/usr/java/j2sdk1.4.2_07/bin/java -server -classpath
/home/kt/lib/java/jdev1012/j2ee/home/oc4j.jar:/home/kt/lib/java/jdev1012/jdev/lib/jdev-oc4j.jar
-Xverify:none -Ddisable.checkForUpdate=true -Xrs -Doracle.j2ee.dont.use.memory.archive=true
-Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE
-Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config
/home/kt/jdevhome/system10.1.2.0.0.1811/oc4j-config/server.xml
[waiting for the server to complete its initialization...]
05/09/01 12:25:38 Auto-deploying SSAC (New server version detected)...
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 189824 ms.
Target URL -- http://172.17.50.60:65001/bafg/brs/index.jsp
05/09/01 12:25:38 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized
This problem occurs using JDev 10.1.2 on several workstations. One workstation is FC4, the others are WinXP. We are using j2sdk1.4.2_07 to compile/run on FC4 and the bundled 1.4.2_04 on Windows.
Once the OC4J is started, JDeveloper and applications appear to work fine with no noticable differences in speed. Also, once deployed to an Oracle App Server 10g (w/OC4J 10.1.2), there is no noticable difference in startup time for applications on that server.
Again, I would emphasize that the problem affects all applications in the workspace, not just the one that uses Spring. And if I remove the Spring application from the workspace, OC4J starts quickly again for the other applications. Also, running applications in a one workspace is not impacted by a Spring app in a different workspace.
Any ideas?Use Oracle JDeveloper 10.1.3.2 that has both EJB 3.0 and Portlet development support.
JDev 10.1.2 doesn't support JDK 5.0 out of the box so you'll probably have problems with the annotations of EJB 3.0. -
Can I import HTMLs from inside the project and use as portlet page ?
As you know, I am using Java Studio Creator 2 Update 1 for my current portal project. I have created JSR-168 JSF Portlet Project for my portlet development.
As I have some html pages ready for my development,
Can I import HTMLs from inside the project and use as portlet page for my project?
I did the followings steps:
1: In side the project - File -> Add Existing Item -> Web Page ( imported test.html page from my local folder)
2: Let it convert some of the tags for me ( so now it becomes - �test.jsp� )
3: Set it to initial view.
4. A default portlet page � newPortletPage.jsp is still there with no initial view.
Now after doing this, No Visual Designer and Properties window available to for that �test.jsp� page. Though it allowed me to �build� the project successfully.
When I build and run the portlet application, got the error message �Error occurred in portlet!� on Pluto Portal. Please advice.You do not open fcpproject files. You don't double click or anything else. The files have to be in the correct folder structure in the Final Cut Projects folder and the application opens them automatically. Can you post screen shots of the Final Cut Projects folder and its location.
-
Hi,
Does anyone knows if it is possible or adviseble to develop with JDev 10.1.3.0.1 to deploy the processes in OC4J BPEL 10.1.2.0.2?
If it is, is there any issues involved?
Tksin general you could develop bpel 10.1.2.02 compliant processes, but it would create a bunch of possible hazards you could run into - deployment structure, new services, workflow and so on .. add'ly you cannot deploy from jdev 10.1.3.1 to bpel 10.1.2.0.2 server -- all in all not really recommendable, and not really supported too :D
/clemens
SOA Product Management -
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' :) -
Design patterns in portlet development
Hello,
I am a student at the Technical University in Munich, Germany and I am working on a university project on design patterns for portlets.
The focus of my work is researching the best practices when developing a web portlet, especially which design patterns are the most suitable for portlets development.
For example, the MVC pattern is one of the most popular design patterns for portlets.
I am writing to you to ask which design patterns are used in the development of your portlets from the SAP Enterprise Portal.
- What design patterns do you use for your portlets?
- Do you use MVC among others?
- Do you have your own design patterns?
- Do you use any templates or guidelines for portlet development that involve design patterns?
I am looking forward to your answer. Any answer would help with the research, as experts interviews are part of my work in the project.
I appreciate any references you consider to be related to my search.
Thank you,
Julia Alexandrescu
Department of Informatics
Technical University Munich
Email: [email protected]Hi raaj,
I have a query related to this.
I am a beginner to portlets.
Say I have an existing struts application.What all do i need to modify or add to make a .portlet file out of it so as to make it deployable in Weblogic 8.1 SP3?
Is adding a portlet.xml enough?
if yes, what would the portlet.xml look like?
Do i need to add a separate class as well?
I couldnt get any sufficient answers from other forums.
Can you please help?
Thanks & Regards,
Nishant -
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" -
Portlets development: When to use the class that extends PortletBridge...
When I create some Portlet (.jspx based) JDeveloper generate some resources. One of those is a class (with the name that I´ve configured) that extends PortletBridge...
Ok. So, I want to know if I use JSF standards should I put my actions into this class or should I create another Managed bean to handle that? What to do with this generated class?
Thank you.So you want to create a portlet that uses JSF instead of JSP?
You can JDev do that for you. When you create a new portlet there is a step where you can specify the default page for the portlet mode (view, edit).
On the right hand side you can select ADF JSF (or something like that).
JDev will then create a class that extends the PortletBridge class and you don't have to do anything more. Just edit the jspx like it's a normal page. -
Consuming a Portlet developed With Web center
Hi,
Please suggest if a portlet developed using web center can be consumed in any kind of web application(irrespective of tehnology..say.. asp.net)
Thanks & regardsHI,
see
http://blogs.oracle.com/middleware/entry/calling_web_services_using_adf_11g
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html
http://www.devx.com/java/Article/35429/1954 -
Workshop IDE for WebLogic Platform - JSF Portlet Development
Hello,
I am trying to develop JSF based portlets using BEA Workshop for WebLogic Platform IDE. The capabilities of the IDE in terms of JSF is like a simple text editor. Since the IDE is eclipse based, I wanted to to use some Third Party Plugin for JSF development.
I evaluated the following:
1. Workshop Studio for JSF
2. MyEclipse PlugIn for JSF
Problem 1:
Workshop Studio for JSF is a separate product and cannot be installed as an plugin over the Workshop IDE.
Is this acheivable?
Problem 2:
I created a Portal application Workspace through Workshop for Platform and opened the same using Workshop Studio for JSF. It crashed saying some runtime exceptions.
Problem 3:
MyEclipse PlugIn for JSF doesnt integrate properly with Workshop IDE. The Faces navigational flow view is not working properly.
Questions:
1. What is BEA's recommendation for JSF development?
2. Can you guide me how other developers are using the IDE for JSF development?
Thanks and regards,
Pazhanikanthan. PHi Pazhanikanthan,
Unfortunately, in the current release the JSF features cannot be used to create JSF portlets.
Please check the following URL for additional information on JSF portlet creation
http://e-docs.bea.com/wlp/docs92/portlets/building.html#wp1062147
If you are planning on building JSF web applications, you can always evaluate and purchase a copy of Workshop for JSF or Workshop Studio.
if you are planning on building JSF based pportlets, you will need to sue the tooling provided by Workshop for WebLogic 9.2
Applications built in Workshop for WebLogic cannot be imported into Workshop Studio. On the other hand, you can always create a webapp in Workshop Studio,a nd then import it into Workshop for WebLogic as a component.
hope this helps.
cheers
Raj
If you have additional questions specific to portlet development, please post to the portal newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=2044 -
Portlet development with pure Ajax without the Plumtree Web Control
Has anybody successfully using pure Ajax for portlet development. We've tried to test a little ajax code sample out, and it worked outside of the portal but when we put in the portal it would not work. We are trying this approach because we are having problems with our Plumtree Web Control 2.2.
Please help.
The following is our code
Test.aspx
<script type="text/javascript" language="javascript"> var http_request = false; function makeRequest(url) { if (window.XMLHttpRequest) { // [url=http://www.sitepoint.com/print/%5C%22/glossary.php?q=M#term_31%5C%22]Mozilla[11], Safari,... http_request = new XMLHttpRequest(); } else if (window.ActiveXObject) { // IE http_request = new ActiveXObject("Microsoft.XMLHTTP"); } http_request.onreadystatechange = alertContents; http_request.open('GET', url, true); http_request.send(null); } function alertContents() { if (http_request.readyState == 4) { if (http_request.status == 200) { alert(http_request.responseText); } else { alert('There was a problem with the request.'); } } } </script> Make a request
test.htm file:
I'm a test.
When we run it outside the portal we get the alert message "I'm a test".
But wehn we run it inside the portal we get the message "'There was a problem with the request."Absolutely, here's some code:
function UpdateDealerInfo(d) { dealerNumber = d.split(':')[0];
document.getElementById('s_dealer').innerText = dealerName + ' (' + dealerNumber + ')'; var ajax = new ActiveXObject('Microsoft.XMLHTTP'); var urlASMX = "<pt:url pt:href='http://portletserver/webservice.asmx/WSServiceMethod' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>"; ajax.open ('POST', urlASMX, true)
ajax.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');
ajax.onreadystatechange = function () {
if (ajax.readyState == 4) { var strResponseXml = ajax.responseXML; var xmldoc = new ActiveXObject('MSXML.DOMDocument');
xmldoc.async = false; xmldoc.load (strResponseXml); // read an element from the xml document var demoStock = xmldoc.documentElement.selectSingleNode('//DemoStock').text;
// update the element in the portlet (aspx/html) document.getElementById('s_demo').innerText = demoStock
var body = 'dealerNumber=' + dealerNumber;
ajax.send (body); }
Maybe you are looking for
-
I tried updating my iphone 4 to 7.1.1 and it went straight into recovery mode.... I finally got my iphone out of recovery mode, but now it won't accept my Icloud info and states "An error occrured while trying to save the Icloud account?" What do I d
-
Reinstalling snow leopard after mountain lion
I am selling my older imac. I have wiped the drive and I want to reinstall Snow Leopard, the operating system it came with. The machine was once upgraded to Mountain Lion. I have the original Snow Leopard disc. I can't seem to reinstall Snow Leop
-
Appleworks cwk files will not open in pages or numbers
I use AppleWorks 6.2.9. Since my upgrade to 10.6.8 AppleWorks will not permit the settings in any document to be changed with first quitting AppleWorks, removing the plist, restarting AW, and opening the file a second time. This is annoying. So, I
-
Signatures in Mail have mail and web links...attachment???
I have several email signatures but all have a link for my email and web address. Why do the recipients get me the signatures as attachments and not how it appears on my composed email? MCi
-
Artifacts in graphics while playing games
I have this kind of artifacts in many different games. In ones there are as many as on screenshot, in other only couple of them and it's not so noticable. What can I do?