Newbie question - Portlet development in Portal using JDeveloper

Hello.
I've tried to develop a portlet using Oracle JDeveloper, then using it in an Oracle Portal-provided web page.
I'm so really confused... I don't know where to start!
Let'say the portlet is a very simple Hello World static html or jsp page.
What could I do in order to use it in Portal?
Have I to use jpdk? How?
Or have I to deploy it in the Application Server home OC4J as a web application?
Or have I to deploy it in the OC4J_Portal as a web application?
Or....
If this helps, here is my platform:
I'm using Oracle Application Server 10g Portal as middle-tier. It is correlated to an OID/Infrastructure istance wich provides Single SignOn for the applications, based upon an Oracle 9i database, in which runs Oracle Workflow; my needs are to use a Workflow based Java applications in the Oracle Portal as portlets.
Don't worry: by now, I'm interested in just knowing how to run in the Portal a simple Hello World portlet built with JDeveloper...
Please, help me.
Thank you in advance.
- Umberto

Hi Umberto,
Did you have a chance to take a look at the Portal Developer's Guide?
The Building Java Portlets chapter walks you through the steps you need to take.
Good luck,
Peter

Similar Messages

  • Developing Portable WebServices using Jdeveloper

    I am currently using Jdeveloper 10.1.3.2 and I have developed WebServices from my existing WSDL files and deployed the WebServices in OC4J. Everything is working fine now. I noticed that Jdeveloper has created some OC4J specific files like oracle-webservice.xml. Now I want this working WebService Application to be deployed to another Application Server. I am sure it would fail.
    My Question is,
    1) How can I devlop Web Services using Jdeveloper which can be deployed in any App Server?
    2) Will Jdev 11g with JAX-WS will be helpful?
    3) Is there any tutorial for developing portable webservices which can be deployed across any App Server.

    Hi Frank
    Thanks for your response.
    So If I remove my oracle-webservices.xml and deploy my Project, Will it work in any App Server.
    Also where can I put the contents in oracle-webservices.xml file like
    <oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
    <webservice-description name="''''''''">
    <port-component name="''''''''">
    <operations>
    </operations>
    </port-component>
    </port-component>
    </webservice-description>
    </oracle-webservices>
    Thanks

  • How to develop plSQL Packages using jDeveloper

    Working in one schema with multiple packages and having multiple programmers all working at the same time with in the schema and packages. How do you all work on maybe the same package at the same time and not walk on each other(save code over each other and lose updates)? In other words programmer A opens A_WEBFORMS.WF_HR.SICKVACREQ; then programmer B also opens A_WEBFORMS.WF_HR.NOTARY. Both are in same schema, same package, but different procedures with in package. Both update the package by using ctrl-s. This causes them both to lose code or just get mixed up when programmer A saves and the part that programmer B is working on changes.
    Help? Is it the way you setup the Oracle DB?, or is it the total environment?, or is it the way you use Jdeveloper????

    If you develop directly against the database into the same schema, you have the risk off bumping into somebody else. The more developers work on the same project the more the need to work with an external tool to develop your code (and tables, views, etc). In the past it would be Oracle Designer, recently JDeveloper is getting more and more suitable for the job.
    If you are using JDeveloper you should use offline database objects and put them under version control. During the development process, version control will offer the abillity to merge different versions of a single object the programmers are working on. When generating to the database you synchronize the database with your code in jdeveloper, when an other user generates his version over yours, at least you will not lose your version of the object, since you still have it as an offline database object. Anyway, let users generate to their own database schema, so they will not influence other users code. Certain revisions can then be generated from time to time to the actual database schema from the version controlled offline database objects.
    Just my two cents ...

  • 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.

  • Best portlet development (IDE & portal)?

    Hi;
    What�s the best system for developing a portlet (portal, IDE, JSF/?, etc)? My requirements are:
    1. I have to create a portlet that runs on any portal. We will test on WebLogic, WebSphere, & JBoss at a minimum.
    2. It does need to support WSRP � and we will test it working via that on Microsoft�s portal.
    3. There is no legacy code.
    4. It can require java 1.5.
    ??? � thanks - dave

    Hi Umberto,
    Did you have a chance to take a look at the Portal Developer's Guide?
    The Building Java Portlets chapter walks you through the steps you need to take.
    Good luck,
    Peter

  • JNDI Newbe questions  : Connecting to MQSeries queue using JMS

    Hi.
    I'm trying to make a connection to a MQseries cueue using JMS and as I understand it I have to look some things up in a JNDI server.
    Right now I'm using the IBM Websphere test environment inluded in Visual Age for Java but later this aplication will be deployed on a Webphere 3.5 server.
    Question 1 : (code grabbed from an example)
    queueConnectionFactory = (QueueConnectionFactory)           jndiContext.lookup("QueueConnectionFactory");
    queue = (Queue) jndiContext.lookup(queueName);
    When i run an lookup on from my initial context I take it that it tries to search through the JNDI directory which lives within my Websphere Test environment. Ofcourse it doesn't find anything called "QueueConnectionFactory" so: What am I looking for here?
    I guess I want to find the MQseries server here right? Firstly I don't know what that one is called (is there a generic name?!) and second i suspect that the MQ server is not registrated in my local JNDI server...
    which lead me to Question 2 :
    Do I register a remote server in my JNDI directory OR do I try to connect to the real JNDI directry (that might have information on the MQ service) ?

    You are looking for the queue manager name in this case. You need a queue manager name and a queue name in you code, you also need define a queue manager and a queue in MQSeries. Then in your WebSphere Test Environment (Or run MQSeries command when you deploy this application, refer to its document) to define the relation between these two pairs of managers and queues. You may actually go to read these two articals and you'll feel much better to do this:
    http://www.developer.ibm.com/library/articles/programmer/farrell1.html
    http://www.developer.ibm.com/library/articles/programmer/farrell2.html
    Hope its helpful. Don't forget my 'dollars' if you feel this info is good for you.
    PC

  • Newbie question - SUN development

    New to Solaris - current-hp-junkie.
    I read somewhere something about Solaris 10 setup for development purposes to make compiling etc easier/quicker/workable. Can someone remember something like this and what and where I can find it again please?
    Thanks

    Hi Umberto,
    Did you have a chance to take a look at the Portal Developer's Guide?
    The Building Java Portlets chapter walks you through the steps you need to take.
    Good luck,
    Peter

  • Newbie question: how to compile servlet using tomcat?? Thank you

    How to set classpath? How to compile servlet.java?

    jsp is also converted into a servlet .java nd then into a class file
    this is index.jsp
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
      </head>
      <body>
      </body>
    </html>this is _index.java
    /*@lineinfo:filename=/index.jsp*/
      /*@lineinfo:generated-code*/
    import oracle.jsp.runtime.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public class _index extends com.orionserver.http.OrionHttpJspPage {
      public final String _globalsClassName = null;
      // ** Begin Declarations
      // ** End Declarations
      public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
        response.setContentType( "text/html;charset=windows-1252");
        /* set up the intrinsic variables using the pageContext goober:
        ** session = HttpSession
        ** application = ServletContext
        ** out = JspWriter
        ** page = this
        ** config = ServletConfig
        ** all session/app beans declared in globals.jsa
        PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
        // Note: this is not emitted if the session directive == false
        HttpSession session = pageContext.getSession();
        if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
          pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
          JspFactory.getDefaultFactory().releasePageContext(pageContext);
          return;
        int __jsp_tag_starteval;
        ServletContext application = pageContext.getServletContext();
        JspWriter out = pageContext.getOut();
        _index page = this;
        ServletConfig config = pageContext.getServletConfig();
        try {
          // global beans
          // end global beans
          out.write(__oracle_jsp_text[0]);
        catch( Throwable e) {
          try {
            if (out != null) out.clear();
          catch( Exception clearException) {
          pageContext.handlePageException( e);
        finally {
          OracleJspRuntime.extraHandlePCFinally(pageContext,false);
          JspFactory.getDefaultFactory().releasePageContext(pageContext);
      private static final char __oracle_jsp_text[][]=new char[1][];
      static {
        try {
        __oracle_jsp_text[0] =
        "\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">\n    <title>untitled</title>\n  </head>\n  <body>\n  </body>\n</html>\n".toCharArray();
        catch (Throwable th) {
          System.err.println(th);
    }as you can see.. my IDE converts it into a java class so it can be conpiled to a class file.. by the way i use Oracle Jdeveloper 10g for this pupose of showing you what is happening to your jsp

  • Deploying ADF/JDeveloper portlets in WebSphere Portal

    I'd like to use ADF/JDeveloper to build my application, but my customer is already heavily invested on a WebSphere Portal deployment platform.  The JDeveloper/ADF documentation has extensive information on creating portlets in various ways, but they all seem focused exclusively on deploying in an Oracle platform.  I have tried both the "Standards-Based" as well as the "JSF Portlet Bridge".  I have tried to deploy the portlets in WebSphere Portal using both the generated WAR file, as well as by registering the WSRP producer.  None work.
    With the WAR file, WebSphere Portal seems to import the WAR file just fine, and I can add a portlet to a page, but the portlet always shows as "unavaiable"
    With the WSRP producer, I can get something to show in the page, but the functionality within the portlet doesn't seem to work.
    I've searched extensively, but cannot locate any documentation or use cases for deploying portlets from JDeveloper into WebSphere Portal.  Does anyone have any thoughts?

    Dvohra21, again, I apreciate the effort, but I think you're missing the fundamental question.
    You've given me two types of articles/links.  Some are generic WebSphere Portal documentation about deploying a portlet from a WAR file.  Others are Oracle articles about who to generate portlets in JDeveloper, with examples deploying in Oracle/WebLogic servers.   Unfortunately I don't have a problem with either of those.
    I CAN deploy a portlet WAR file in WebSphere Portal, and sucessfully add it to a Portal page.  I have done that with multiple WAR files generated from Rational Application Developer.
    I CAN produce a WAR file from JDeveloper, following the instructions in the same resources you included, plus a few others.
    The problem is, the WAR file from JDeveloper, does not successfully run on WebSphere Portal.  I create a simple Hello World portlet in JDeveloper, and I can generate a WAR file from it, and seemingly deploy to WebSphere Portal.   However when I add it to a Portal page, it always displays only a blank box with the text "This portlet is unavailable".  This is in the same exact portal page, where the portlet created with Rational Application Developer shows up just fine right along side it.
    Bottomline is, although there is a great deal of information an demos about generating portlets from JDeveloper within an Oracle environment, I could not find a SINGLE ONE, that goes through an end to end scenario where it is deployed in WebSphere Portal.  Nothing in this forum, nothing in Oracle docs, and nothing I can find on a Google search.

  • Designing Portal using WLPS 3.1

    Hello,
    This might be very baseic question for some of you, but i am
    struggling to get things at the right place.
    My question is, I have a n application already developed and running using
    Oracle database, now I want to use the same database and develop a Portal
    using the WLPS portal framework. How can I do that. How can I use the tag
    libraries to my advantage. Just for your information the application that
    is already running is developed using EJBs and JSPs'.
    Any suggestions are welcome
    Regards
    Anshuman Nanda
    Global Software Resources
    [email protected]

    Hello Anshuman,
    I can give you a few general suggestions. Perhaps some other people can
    add to this.
    My question is, I have a n application already developed and running using
    Oracle database, now I want to use the same database and develop a Portal
    using the WLPS portal framework. How can I do that.See "Changing from Cloudscape to Oracle" at
    http://edocs.beasys.com/wlcs310/install/database.htm#1027634 . Basically, all
    you have to do is run some of our SQL scripts that create the WLPS schema for
    your Oracle user.
    How can I use the tag
    libraries to my advantage.I would recommend doing the WLPS tour at
    http://edocs.beasys.com/wlcs310/p13ntour/index.htm and the tour of the JSP
    templates at http://edocs.beasys.com/wlcs310/cstour/index.htm . If you want
    to see the tags in action I would strongly recommend studying the JSP pages
    used for the Acem exampleportal. You can see the source code at
    <wlcs-install-dir>/server/public_html/portals/repository.
    Just for your information the application that
    is already running is developed using EJBs and JSPs'.Some of the advantages that you will get by using WLPS include user/group
    management and user/group/session/request properties that can be used in rules
    to select customized content from a content management system.
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

  • Building multilingual portal using WebCenter

    Hi,
    Can anyone point me to a good documentation on building multilingual portal using WebCenter? I found one for Spaces but I am developing custom portal using ADF resources. Thanks!

    Hi.
    WebCenter Portal Applications is an ADF application basically. You have to build your own multilingual solution based on:
    - Labels in Resource Bundle configured in your WebCenter Portal Application.
    - For Web Content showed in Content Presenter you have to define a WebCenter Content solution. It can be a "language" metadata to filter CMIS Queries.
    - Locale can be managed in different ways:
    - Session bean: Language should be associated to the session.
    - User LDAP preferred language: Solution based in user preference language like Spaces.
    - Browser locale: Set browser locale to your pages to set the language.
    My recommendation steps to follow in order:
    - First think in a WebCenter Content Solution for your contents and web assets.
    - Second Think "how to store your labels" internally in Resource Bundle or Override Resource Bundle that can be changed at Runtime because are stored in MDS. Or you can create an UCM View to manage literals and access them from an app bean in WebCenter Portal.
    - Think in your Java Bean that stores user "locale" and implement and strategy like Spaces. "Browser, preference or session language".
    Be careful in your "change locale" bean because SiteResources labels are cached. What's the meaning of this? You have to create an ADF Listener who "clean" in prepareModel phase SiteResources Cache.
    It's a common issue, follow A-TEAM Blog: https://blogs.oracle.com/ATEAM_WEBCENTER/entry/navigation_model_locale_dynamic_run
    Another blog Entry of A-TEAM Blog for multilanguage contents: https://blogs.oracle.com/ATEAM_WEBCENTER/entry/internationalize_webcenter_portal_content_presenter
    Regards.
    Edited by: Daniel Merchán on 17-ago-2012 7:09

  • Iphone application using jdeveloper

    Hi All
    I'm new to this forum,
    i want to know , can i develop iphone application using jdeveloper and ADF. i wnt some tutorials regarding this to get started.pls help me.

    You can do logging and debugging on iOS - see this blog entry for details and a video:
    https://blogs.oracle.com/mobile/entry/debugging_adf_mobile_apps_on
    You can set memory specs for the JVM in the cvm.properties file that you can find under the META-INF directory in your Application Resources

  • Links needed for portal development on oracle10g appserver using Jdevelope

    hi,
    i'm relatively new to portals so wud like to hav sum knowledge of doing basing request & response stuff using jsp's as my UI while developing portlets using Jdeveloper.
    If anyone could come up with tutorials about portal development on Jdeveloper.
    i'm using oracle 10g AS app server(release 10.1.4) with oracle jdeveloper( version 10.1.2.0.0 build 1811).
    wud like inputs on wsrp & jsr-168 compliant portlets

    Hi,
    You could try starting with the Portal Developers Guide - http://download-west.oracle.com/docs/cd/B14099_19/portal.1014/b14135/toc.htm
    You should also find alot of useful info on the Portal Development page on OTN - http://www.oracle.com/technology/products/ias/portal/portlet_development_10g1014.html
    Cheers,
    Mick.

  • Developing Struts Portlet  using JDeveloper

    Hi...
    Can any one explain how to develop struts portlet using Jdeveloper? What are the steps involved in developing Struts Portlet.
    Thanks,
    Siree.

    Try googling for "struts portlet in JDeveloper" and you'll get this for example:
    http://docs.huihoo.com/oracle/docs/B14099_19/portal.1012/b14134/pdg_java_adv.htm#CHDFAHEC

Maybe you are looking for