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

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.

  • Deploying Standard JSR 168 Portlets Without JDeveloper

    Is there a way to deploy standard JSR 168 portlets without using JDeveloper?

    Yes,
    You can use the Enterprise Manager web-app to do it, or you can do it from the command line on the server you want to deploy it to, or you can do what we do,
    which is use an ant task which uses the jar from jdeveloper to do the deployment.
    The tools dont care if it is a jsr 168 portlet or not, it just knows how to deploy an ear.
    Let me know if you would like to see the ant task.
    -sean
    ================================================
    Solutions Architect
    http://www.sagelogix.com

  • Creating Java Portlets without JDeveloper

    I am using Oracle AS 10g, and Portal. I have looked at the Portal Dev Guide (9.0.4), and have not found any information on how to create and deploy Java portlets without the use of JDeveloper. I was able to do this using earlier versions of Portal and JPDK.
    Does anyone know of any documentation that could help me with this? Thanks.

    I think this is the article you're looking for: Packaging and Deploying Your Providers.
    Peter

  • Writing a JSR168 portlet WITHOUT using Jdeveloper or "wizards"

    I have a JSR168 portlet that is built using Maven (http://maven.apache.org/ if you don't know what that is).
    It deploys and operates perfectly well into a portlet container such as Pluto (the standard, reference container from Apache).
    Pluto supplies a Maven plugin, that takes the vanilla web.xml and other configuration e.g. portlet.xml and adds the necessary configuration to run the portlet in the container. I believe there is an Ant plugin that does exactly the same thing.
    It adds the following conf to teh web.xml;
    <servlet>
    <servlet-name>my-portlet-name</servlet-name>
    <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
    <init-param>
    <param-name>portlet-name</param-name>
    <param-value>my-portlet-name</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>my-portlet-name</servlet-name>
    <url-pattern>/PlutoInvoker/my-portlet-name</url-pattern>
    </servlet-mapping>
    This is the "magic" that glues my portlet to the portlet container.
    What I wish to know, is how to make my JSR168 portlet deploy into Oracle Portal 10g without EVER using JDeveloper. What is the 'magic' I have to apply to my web.xml or portlet.xml or other configuration that will men I can deploy my portlet war into the app server and make it talk turkey with the portal container. I can cope with just having a customised web.xml that I have to copy into the WAR file if need be ... if I could find some guidance what should be in that file.
    It seems that every search I've done in google or though the doco we have here starts with "Start Jdeveloper and select XXX in the portlet wizard".
    I do not use Jdeveloper and nor will I. I will continue to build my Java code in a correct fashion, i.e. on the command line with my standard build tools that don't involve the IDE. Don't get me wrong, I use an IDE, but one should never be mandated. In my book, "wizards" are about the worst imaginable way to get any programming task completed.

    Hi Marcel
    With respect, it's patently obvious that we know how to develop a portlet without Jdeveloper, because if you read the message you would have been able to discern that this is the way we are accustomed to doing it, and it's faster, easier and more portable that way. I've been doing J2EE development since the first version of the spec and well before there was an Oracle implementation of it.
    You don't actually need an EAR file, as a WAR will suffice and the dcmctl command-line utility can supply everything else in its arguments (like, context-path and the like), and it allows each WAR artifact to be deployed in different times, i.e. when they are built on the integration server. I find EAR files usually too heavyweight especially as I rarely write EJBs, as opposed to using e.g. Spring.
    Using the web browser is not an option for automated deployment and acceptance testing from an integration build server.
    Configuring the portal side of things looks decidedly a different matter and I've not found anyway to do it from the command line, it demands the browser, which is a let-down.
    It's terribly disappointing the paucity of information about automation of deployment as opposed to the positively verdant amount of presentations, tutorials and documentation that assumes top-to-bottom Oracle tooling and environment and browser-based configuration. Even where it's actually possible Oracle doesn't seem to want to tell people about it or do as I believe they should, which is regard this form of deployment and configuration as the default way to teach developers how to use their products. None of this helps build and deploy to Oracle products using test-driven development, continuous integration, and automated acceptance testing, all of which are usually regarded as essential parts of a modern developers toolkit by the best minds in the business.
    So after we're left alone to discover how to do this by ourselves for a month you can forgive my disappointment at being lectured like I was some neophyte who doesn't know how to make a WAR file with textedit.

  • 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

  • How necessary is for an ORACLE developer to learn JDeveloper

    How necessary is for an ORACLE designer/developer to learn
    JDeveloper/SQLJ/JAVA to develope an enterprise level internet
    application?
    null

    Asad Iqbal (guest) wrote:
    : How necessary is for an ORACLE designer/developer to learn
    : JDeveloper/SQLJ/JAVA to develope an enterprise level internet
    : application?
    As you know, the business and programming community has
    adopted Java in an unprecedented manner.
    Java will be the lifeblood in the infrastructure of many
    future (enterprise level) applications and future platforms.
    So, I believe it is vital to understand Java!
    To develop an enterprise level application without Java,
    would be a difficult propositio to sell!
    Ofcourse, significant technical expertise in
    Designer and Developer, PL/SQL, etc
    will continue to be valued for many years to come.
    But this is just my personal opinion.
    null

  • Creating a portlet with JDeveloper

    Does anyone know of any documentation to help me create a portlet in JDeveloper 9.0.2.7.97 for deployment in production Oracle Portal 9.0.2.0.1 (I am assuming a OC4J of 9.0.2). All of the documentation that I find is IDE independent, but I need to know the right directory structure for JDeveloper. Thanks, Scott

    Chapter 5 in the Oracle Application Server Portal Developer's Guide [PDF] covers portlet creation in JDeveloper:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/DOCTEAM/902DOC/904_DOC_BUILDING_PORTLETS/B13922_01.PDF
    You can download container and plugin from WSRP and JSR 168 Standards page on OTN:
    http://www.oracle.com/technology/products/ias/portal/standards.html
    Note that the addin for jdev 9.0.5.x covers both JSR168 and JPDK portlets.
    You don't have to download the JSR168 container if you just want to build JPDK portlets.

  • What are the requirements to deploy Portlets from Jdeveloper 10.1.3.2

    Hi all,
    I'm new in version Jdeveloper 10.1.3.2
    plz which version of Application Server (infrastructure and middle-tier)
    or web-center are required to deploy portlet from jdeveloper 10.1.3.2
    can you send me links about these requirments
    thanks

    I had already applied all of this before trying to deploy.
    The error seems to be a versioning error in the jsf-impl.jar file as the ApplicationAssociate class is found there. I have changed the JDK and J2EE to 1.4.2 and 1.3 respectively, rebuilt everything, updated all the settings to the right versions for 10.1.2 but it still keeps failing on the deploy.

  • How to debug jsr 168 portlet in jdeveloper 10.1.3.4

    Does anyone know how to locally debug a jsr 168 portlet in jdeveloper 10.1.3.4.
    When I click on run it asked for a start page so I supply the view.jsp page.
    The following error occurs on the page:
    500 Internal Server Error
    java.lang.NullPointerException     at helloworld.html._view._jspService(_view.java:61)     [helloworld/html/view.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    This is the first jsr 168 portlet I have tried.
    Previously we have been created portlets using the Oracle PDK. Those portlets are easy to debug because the wizard creates an index.jsp page for the start page.
    If anyone can provide some insight to my issue it would be greatly appreciated.
    Thanks,

    Is this a portlet you built from scratch using the JSR 168 APIs, or is this a JSF Portlet using the JSF Portlet Bridge. If the latter, you can debug your JSF application. If the former, you can do remote debugging (let me know if you need information on this).
    Hope this helps,
    Peter

  • [Error running JSP portlet in JDeveloper

    I'm writing a JSP portlet with JDeveloper 9.0.3.
    The "index.jsp" works OK, and I can see the registration URL for my new provider.
    I deploy the application to Oracle9iAS 9.0.2.0.1 Application Server succesfully throught DCM servlet, register the new provier and I can run the portlet succesfully.
    But if I try to run the "pasa_parametroShowPage.jsp" inside the Jdeveloper, I get an HTTP 500 Error :
    java.lang.NullPointerException
         void htdocs.pasa__parametro._pasa__parametroShowPage._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [htdocs/pasa_parametro/pasa_parametroShowPage.jsp]
              pasa_parametroShowPage.jsp:12
    Line 12 is:
    Hello <%= pReq.getUser().getName() %>
    Thanks in advance.

    In order to successfully run, "pasa_parametroShowPage.jsp" must be called in a portal context - JDeveloper does not do this.
    Therefore, when called from JDeveloper, the PortletRenderRequest object is not present, hance the null pointer exception.
    You shouldn't attempt to run this JSP directly from with in jdev. You'll notice that if you point a browser directly at that JSP, you will get the same null pointer exception.
    If you need to debug this JSP in jdev, you can use a portal instance **or** the test harness (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/TESTSUITE/PDKTEST/PDKTEST.ZIP)
    to fire http requests at JDeveloper's embedded OC4J.

  • Differences between Oracle Developer an ORacle JDeveloper

    Hi,
    I am doing a work and i need to know the differences between Oracle Developer and Oracle JDeveloper, if someone can help me it would be very aprreciated.
    thx

    Aton wrote:
    I am doing a work and i need to know the differences between Oracle Developer and Oracle JDeveloper, if someone can help me it would be very aprreciated.1) There is no such thing as 'Oracle Developer'. However, there are
    - Oracle SQLDeveloper
    - Oracle Developer Suite
    2) Assuming Oracle Developer Suite:
    - Oracle Dev Suite is used to create Oracle Forms, Oracle Reports, Oracle Discoverer worksheets, and Entity Relationship Diagrams
    - Oracle JDeveloper is used to create any kind of Java object (including Java 2 & 3 tier forms) and ALL objects that support those Java objects (XML, UML, database, SOAP, etc) BUT NOT the stuff in Dev Suite.
    Both are very powerful. Expect to take at least 15 minutes* to learn either.
    /Hans
    * (plus 4 to 9 months)

  • Crystal Developer XI without Sap integration kits cant see released Queries

    Hi All!
    When I'm used MS Excel, I can see released SAP BW Queries via SAP OLE DB access. But when I'm used Crystal Developer XI (without Sap integration kits), I can’t see released SAP BW Queries via SAP OLE DB access.
    What's a problem here?
    WBR Artem

    Hi,
    you missing the SAP integration Kit. To conenct to SAP BW you need the SAP Integration Kit installed.
    ingo

  • Registering portlets in JDeveloper

    Hello:
    I see plenty of documentation on OracleAS Portal off http://download-west.oracle.com/docs/cd/B14099_14/portal.htm . However, I cannot register my portlets there because I am behind a firewall. So I register my portlets within JDeveloper. Now how do I use this “portal” to view my portlets? Is this covered in any documentation?
    Thanks
    Eric

    Hi
    Is this a wrong forum for XML with JDeveloper?

  • Create LifeRay portlet in JDeveloper 11g

    Hi...
    I want to create LifeRay JSF portlets using JDeveloper 11g is there any plugin or any tutorial which guides in this process?
    Thanks
    Feras

    Well, in JDeveloper 11g, you can install the Webcenter design-time extension via help->check for updates (Oracle Webcenter Framework and Services Design Time)
    Once you've installed that, you can create JSR-168 portlets using JDeveloper as documented [url http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_java_intro.htm#CEGDCAEE]here.
    Nothing specific for LifeRay, though. If you have specific questions, you would probably have better luck on the Webcenter forum.
    John

Maybe you are looking for

  • Greyed out tabs in .mac sys prefs

    First off I am a noob to the support site, i appreciate your patience. My work laptop (12 in powerbook G4, osx 10.4.11) is unable to sync with my mobile me (.mac) account. When I go to .mac system preferences the sync and advanced tabs do not work. W

  • Internet explorer keeps causing runtime error?

    Hi everytime I try to download adobe reader 8.1.2 internet explorer keeps causing runtime error. I'm running vista home basic. Does anyone have any ideas on a solution?

  • Restricting comments but enabling data extraction in forms

    Hello, I am trying to create a form in Acrobat XI Pro with 1) form fields enabled for data extraction 2) signature required 3) comments, edits, and mark-up disabled, 4) extended for use in Adobe Reader. I can not figure out how to achieve all of thes

  • Media player not working

    When playing music the media player will stop working. When I open up the application again I get an error that says unable to connect to media player please try again. I have to restart the player each time (very annoying). Any suggestions?

  • Can we activate the Sales Area Tab for Prospect?

    Hi all My client requirement that When ever we creating a Sold to party subscreen sales area will be activated, for the same can we activate sales area tab for Prospect is it possible? Help to implement this. Regards sathish