Anyone using Java Portlet Tools?

Is anyone using the Java Portlet Tools to develop portlets?
You can read about it here:
http://dev2dev.bea.com/pub/a/2006/05/java-portlet-tools.html
I was told by BEA that this is unsupported but I don't think thats going to be a problem.
If you are not using this then how do you build portlets in java without resorting to scriptlet code?

Thanks for the reply Chris.
It looks like the portlet tools does 3 things:
1 - filters content like the DotNet WCC http module to make existing apps behave when run inside the portal
2 - drops a bean in the request automatically for you so that you can access portlet functionality on the jsp with JSTL and no scriptlet code
3 - gives you some custom tags to read and write session prefs and publish and subscribe to events without javascript
Items 2 and 3 are very desirable to me for new portlet development.
So who is using this toolkit and are you using it with JSF or Struts or just straight JSP?

Similar Messages

  • Anyone used free CASE tools?

    hi guys,
    I was just wondering which CASE tools someone here has used and was good to use, basically I must be able to save the diagram as a picture so that I can copy and paste it to Word document, if someone has done something similar, please let me know what too you used, and only free ones please, I know a lotof you probably used advanced case tools that probably cost a lot of money but I dont work for a company and just need a free one only, thanks.
    AU

    im going to use UMLet. Seems simple and not
    overcomplicated. Anyone used it before?Yes.
    is it good?
    |                                                                              |
    |                  Please, nobody answer this question.                        |
    |                                                                              |
    |    The individual posting it has, for months, done nothing but brag, lie,    |
    |       threaten, insult, and otherwise sow discontent at these forums.        |
    |                                                                              |
    | When people give him help despite his past bad behavior, he is unwilling or  |
    | unable to use it as intended, and instead merely whines to have his answers  |
    |                   handed to him on a silver platter.                         |
    |                                                                              |
    | He spends one minute sucking up, making nice when he needs help, and then    |
    | when he gets bored or frustrated, lashes out with more childish rantings.    |
    |                                                                              |
    |                   He deserves no help whatsoever.                            |
    |                                                                              |
    ------------------------------------------------------------------------------

  • Is there anyone using Java Methods interface of IREP in his application

    Hello everyone,
    Are you using Java Methods interface of IREP in your application?
    Nowadays I am trying to using Java Methods in my application. But I'm puzzled how to get the interface jar files that the Java Methods would import. It seems that Oracle doesn't provide such interface jar files for all Java Methods shipped in IREP. How do you do with this?
    If you have some experience about using Java Methods in application, hope to hear your voice. Thanks in advance.

    Hi friend,
    Thanks for you update.
    I'm referring to Java Methods that can be called directly by applications not Java Service Interface. These are two different kinds of IREP interfaces. In Oracle Integration Repository User's Guide, there aren't much guidance about how to use Java Methods.
    I appreciate you can help me further.

  • Java Portlet Tools

    .

    I downloaded the JPT tools and sample applications and, using the instructions found in the InstallGuide.html file, I tried to convert the JSF Cardemo application into a portlet, but it doesn't work properly.
    The Cardemo application loads fine as a portlet and I can even navigate to a secondary-level page by clicking on one of the four language links/buttons, but that's as far as I can navigate. When I click a button on the secondary-level page, nothing happens.
    I'm using a 5.0.2 Portal installation running on Tomcat 4.1.27LE and I verified that I installed all the JPT components and configured them correctly. The Cardemo application works perfectly as a standalone (i.e., not a portlet) java web application.
    After restarting the application server, Tomcat, and looking at PTSpy, I've noticed that the jsxml component isn't loaded and the older versions of other JS components are loaded rather than the ones I replaced them with according to the installation instructions. How can I register the new versions and load the JSXML component, too?
    Any help would be greatly appreciated.
    Regards,
    -Jose

  • Sample Applications for Java Portlet Tools

    .

    Hello,
    You can find some 7.3 info here: http://help.sap.com/saphelp_nw73/helpdata/en/ca/6fbd35746dbd2de10000009b38f889/frameset.htm
    The examples @ http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproforJavaDemo+Kit should be fine even thought not 7.3 specific.
    WD API: http://help.sap.com/javadocs/NW73/SPS01/CE/wdr/com.sap.wdr/index.html
    Cheers,
    Trevor

  • Hi! I'm using Java Cannery tool and I've problems... Anybody uses this tool or other similar? Anybody can help me? Write me, please. Thanks.

     

    Here's some info about publishing...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    Choosing hosting ....
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html
    Uploading via FTP...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html
    ... and the publishing workflow...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Website-Publishing-Wo rkflow.html

  • Creating a web provider for java portlets

    Hi all,
    i'm using
    - Oracle Database Server 8i (Rel3 - 8.1.7.1.1)
    - Oracle 9i Application Server (Rel2 - 1.0.2.2.2)
    - Oracle Portal 3.0.9.8.2
    I'm trying to crate a web provider in order to use java portlets, but there's a problem with:
    "An unexpected error occurred: ORA-29531: no method getPortletList in class oracle/webdb/provider/web/HttpProviderDispatcher"
    Does anyone know why?
    I've searched for the class mentioned above but I can't find it..
    thanks for the reply,
    Alessio ([email protected])

    The problem is probably caused by prohttp.jar becoming invalid or corrupt inside the database. The file is found in <IAS_HOME>/portal/lib (or jlib). Use the following command to reload.
    loadjava -resolve <portal user>/<portal pass> <file path>/prohttp.jar

  • Deploying  Jave portlet on Oracle Application Server 10g

    I have installed Oracle 10g Application server, donwloaded and installed JDevleoper 9.0.5.1 and the latest Java Portal Development and as well as the JDeveloper portlet-addin. Now, I followed the instructions from the http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/BUILD.JSR168.PORTLETS.USING.JAVA.PORTLET.WIZARD.9IJDEVELOPER.HTML
    On using JDeveloper addin wizrd to create a java portlet and so far so good. However, I am stuff on the last bit on deployment. It document says "# Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
    http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
    Now use this URL to register your portlet with OracleAS Portal.
    But when i deploy my application (just a test thing), from the deployment tab I get:
    ---- Deployment started. ---- 22-Mar-2005 14:11:27
    Target platform is Oracle Application Server 10g (hotseatConnection).
    Wrote WAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.war
    Wrote EAR file to C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear
    Invoking DCM servlet client...
    C:\Java\j2sdk1.4.2_03\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Java\JDeveloper9.0.5.1\jdev\lib\oc4j_remote_deploy.jar http://194.83.41.114:1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /u01/app/oracle/product/10.1.0/oraMid_904 C:\work\oracle\MyProject\MyPortlet\deploy\hotseat.ear hotseat UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = c253297271317c3f930003c405ea91ff598582f0be0
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=c253297271317c3f930003c405ea91ff598582f0be0
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 1 minute, 45 seconds
    ---- Deployment finished. ---- 22-Mar-2005 14:13:12
    My question is, HOW DO I ACCESS the deployed application, since it didn't specify the URL where it's deployed????
    Many thanks
    P/S
    I have tried:
    http://{myserver}:8888/{my-portlet}/portlets?WSDL but that doesn't work

    Hi FormsEleven,
    When you say you can do this or you have done for demo then considering following directory structure if I have two forms having common form names how it will be resolved?
    Or how the url to access these forms will be?
    As shown in the following structure consider we have Form1 in sub directory1 as well as in sub-directory2 then how the link to access these forms will be?
    - Hosting Directory (formsweb.cfg entry)
      - Sub Directory1
          - Form1
          - Form2 
      - Sub Directory2
          - Form1
          - Form4
      - Sub Directory3
          - Form5
          - Form6

  • "java.lang.UnsatisfiedLinkError" happen when I use java.exe in command line

    When I use Eclipse 3.01 to run the program it has any problem.But If I use the command line "java -classpath D:\Java_prj\Java\NativeMethod\out com.bruce.nativemethod.HelloNative",a error message will appear below:
    java.lang.UnsatisfiedLinkError: no ./out/com/bruce/nativemethod/ in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:832)
         at com.bruce.nativemethod.HelloNative.<clinit>(HelloNative.java:21)My HelloNative.dll and HelloNative.class has all been putted in D:\Java_prj\Java\NativeMethod\out\com\bruce\nativemethod.
    My all source code is here:
    //HelloNative.java
    package com.bruce.nativemethod;
    import java.util.*;
    public class HelloNative{
         public static native void greeting();
         //Load the library
         static {
              System.loadLibrary("./out/com/bruce/nativemethod/HelloNative");
              //System.loadLibrary("HelloNative");
         public static void main(String args[]) {
              HelloNative.greeting();
    //HelloNative.c
    #include "HelloNative.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_com_bruce_nativemethod_HelloNative_greeting(JNIEnv* env,
        jclass cl)
        printf("Hello world!\n");
    //HelloNative.h
    //Generated by javah.exe
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class HelloNative */
    #ifndef _Included_HelloNative
    #define _Included_HelloNative
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     HelloNative
    * Method:    greeting
    * Signature: ()V
    JNIEXPORT void JNICALL Java_HelloNative_greeting
      (JNIEnv *, jclass);
    #ifdef __cplusplus
    #endif
    #endifI thinked the code is not problem.But why I can't not run it use java.exe tool in command line?

    Thanks everybody! My problem has been solved.The path "./out/com/bruce/nativemethod/HelloNative" is right because it can run in Eclipse 3.01.I don't agree use the absolute path.If do so,it may not use in another machine. The problem is when I use the "java -classpath D:\Java_prj\Java\NativeMethod com.bruce.nativemethod.HelloNative" in the command line windows,I have putted it the C:\ directory to excute.laterly,I putted the command in the D:\Java_prj\Java\NativeMethod,the result "Hello world!" is appear.

  • How can i digital sign a file using JAVA?

    and how can i verify the digitially signed file was not altered by anyone using JAVA?
    please provide me with the simpliest way to do this.
    thanks a lot.

    I have no idea but you might want to take a look at :
    http://java.sun.com/j2se/1.5.0/docs/guide/security/index.html
    hth

  • Java Portlet Hide and Seek

    Using Java Portlet and JSR 168, is it possible to programmatically hide and
    / or show the portlet?

    Sorry about the previous post, as I was editing, the darn thing posted before I
    was ready. Here is what I intended.
    "Carl" <[email protected]> wrote:
    Using Java Portlet and JSR 168, is it possible to programmatically hide
    and
    / or show the portlet?
    One way to do this is to create two portal pages that contain all of the portlets
    on your original page, except that the second page does not contain the portlet
    that you want to "hide"
    You can then forward to the second page when you want to hide the portlet and
    forward back to the first page when you want to show the portlet. If you want
    it to be transparent, you can put both of these pages in the same book, but set
    the hidden property on the pages to true so the page tabs do not show up. Here
    is some code to forward between pages:
    * Forwards to a different portal page
    * @jpf:action
    public Forward goToNewPage()
    String targetPage = "portal_page_2";
    return new Forward(PageFlowUtils.getResultPageURI(getRequest(), targetPage));

  • BC4J Java portlet anyone?

    Hi,
    Has anyone managed to write a BC4J Java portlet? Or for that matter a UIX Java portlet? I have found some info on writing a Struts based Java portlet but nothing on either BC4J or UIX.
    Thanks,
    Steve

    I have converted a three page bc4j jsp application to three portlets in 902618 version of the portal. But i was feeling lazy to remember all the steps i had to go through..but then i found these steps in Oracle9i Application Server Developer's Guide.
    chapter 9 - Running in a Portal Framework
    Looks like they have got most of the steps if you want to turn your application into portlets.
    Here is a cut and paste for you..
    --------------------xx------------------------
    You need to add some calls to the JPDK API to make your application run in a portal environment.
    Update the links where you want to display another page within the portlet. If the file that contains the URL is an HTML page, you have to change it to a JSP page because you need to determine the URL dynamically.
    See Section 9.4, "Update the Links Between Pages Within a Portlet".
    Invoke the include method instead of forward. You have to use include because the portal needs to add data from other portlets. If you use forward, the portal does not have a chance to gather data from the other portlets.
    See Section 9.5, "Use include instead of the forward Method".
    Use the portletParameter method in the HttpPortletRendererUtil class to ensure that request parameters have unique names. This ensures that applications on the portal page read only their parameters and not parameters for other applications. This also enables applications to use the same parameter name; the method prefixes parameter names with a unique string for each application.
    See Section 9.6, "Protect Parameter Names".
    Make all URL paths absolute paths using the absoluteLink or the htmlFormActionLink method in the HttpPortalRendererUtil class, depending on the HTML tag.
    See Section 9.7, "Make All Paths Absolute".
    ---------------------xx---------------------------
    This might give you a starting point.

  • Using SSO username/password in java portlet for Database Connection

    Hi all,
    We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4
    At present we are picking the database username and password and connect string in properties and our
    java class is reading the properties file and connecting to database to fetch the records.
    Our idea is to not to pick the username/password and connect string from the properties file or
    not to configure the datasource in data_source.xml.
    Our Requirement is who ever login to the Portal(SSO) our java class should pick the sso username/password and
    connect to database to fetch the record(s).
    Because our database users are one to one mapped to sso user(s) of portal.
    We request anyone to guide us how can we do it or suggest any suitable solution for our requirement.
    Thanks
    Dan Tey

    I think this is a no-go, since you cannot retrieve a cleartext password from the OID if I'm correct.

  • Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could

    Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could not complete your request because of a program error". Have thought about re-installing  it but I have lost my serial number.  I'm living in Ireland and trying to get to talk to someone in tech support is a complete joke. Any ideas what to do ? Thanks

    Ianp69549740 have you tried reinstalling Photoshop CS5.1?  If so do you receive any specific errors?  What operating system are you using?

  • Using cookies in a JAVA portlet

    I made a Cookie using JAVA. It is made before user enter in the Oracle Portal (index.html call the java action) to get the
    user Country.
    Now I can take this cookie by PL-SQL, but I need to get it by JAVA too.
    When I call directly my portlet action the java code get the cookie ([http://portal_middle_tier_host:port/testeSession/testeSessionViewAction.do?countryId=BR]), but when I put this portlet on a page, this page can't get the cookies.
    this is de JAVA code to get the cookies.
    Cookie acheiCookie = null;
    Cookie[] meusCookies = request.getCookies();
    if(meusCookies != null){
         for (int i = 0; i < meusCookies.length; i++) {
         if (meusCookies.getName().equals("PORTAL_USER_COUNTRY_COOKIE")){
              acheiCookie = meusCookies[i];
         if (acheiCookie == null){ 
         out.println("There aren't your cookie");
         else{   
         out.println("PAIS: " + acheiCookie.getValue());
    }else{
         out.println("Thre aren't cookies in request");
    Why cna't I get the cookies when I call my portlet in a page and when I caal directly it's works?
    Edited by: user10609895 on Nov 25, 2008 10:36 AM

    Hi,
    1) Create the java dc.
    2) In the public part of this java dc create new public part. Include the package tree of the classes in this. e.g if your classes are in packages with root package as com. Include com in public part and as package tree.
    Now build the dc. (Must. Hope you are not missing this)
    3) Go to dc where you want to use the dc. And add the previous dc as used dc.
    Now build both dc's. (Must. Hope you are not missing this)
    Now access the classes in your using dc.
    Regards.
    Ashwani Kr Sharma

Maybe you are looking for

  • System error 988 whlie loading the LabView eun-time engine (C:\Program file\....\\lvrt.dll)

    I am trying to use NI devices with Lazarus (there is no pascal section, so I post here). When I try to run my application: DAQmxBaseCreateTask('TaskHandle', TaskHandle); DAQmxBaseCreateAIVoltageChan(taskHandle,'Dev1/ai0','',DAQmx_Val_Cfg_Default,-10.

  • [MESSAGE.GENERAL] How can take the actual error text for ABAP proxy error?

    Hi... I'm a ABAPer. I got to create outbound abap proxy for synchronous server proxy and described below. My problem is program can not catch the actual error message when occurred error during send data to XI. The return message is just 'MESSAGE.GEN

  • How can i output signals to DAQ6009?

    Hi friends,       I am doing a project using LabVIEW... I am using DAQ6009 as the interface... The DAQ succesfully read the input signals which was properly processsed by the LabVIEW pgm... But I cannot output this processed signals through DAQ to th

  • Creative Suite compatibility

    What is the earliest version of Adobe Creative Suite that is compatible with icloud and Lion OSX 10.7.5? I have CS2 and its usless  now. What CS version can I  to upgrade to without having to jump to CS5 or 6 $$$$$

  • Problem facing while installing Solman7.0

    Hi ! We are installing Solamn with Oracle 10g+Solaris 5.10.. We have installed Solman & installed database too. but on running SAPInst PostDB installation, we are getting following errors : An error occured while processing service SAP solution manag