Java PDK

Hi All,
Where can I download the latest version of Java PDK.
Also, where can I download any samples/documentation on Visual Composer and Web Dynpro.
Thanks

Hi,
You can get the PDK by clicking https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/84e5f758-0501-0010-07a7-a89474be25e3">here</a> [original link is broken] [original link is broken] is the Visual Composer page on SDN.
<a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Here</a> is is the WebDynpro page and <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">here</a> is the Web Dynpro Sample Applications and Tutorials page.
That should be enough to get you started
I hope this helps you,
Patrick.

Similar Messages

  • How to know the logout url in Java PDK

    Is there any method that can give us the logout url of SSO using java PDK?
    Thanks in advance,
    Tony Cruz

    Thank you for the replies. But what i really want to do is a login portlet that can show me a link to logout, and i want to use this portlet in all projects that my company is in, so the code of this portlet must be 100% dinamic, this means that i do not have to know the database schema/passwords, where database is, etc, i thought there was some method in the JPDK that was able to give the link to logout (this is possible for login) but until now i cannot find it. There is a solution for this using a PL/SQL procedure called wwsec_app_priv.logout that lies in the portal schema, this procedure works but i'm not able to redirect the browser to the url i want after logout (in the documentation they say its possible and that there is a parameter called p_done_url that can do this, but in the procedure signature this parameter its not implemented) so right now i'm stucked in this one, and im not sure if i can use the 100% dynamic approach with good results.
    Thanks

  • Web Service to do Java PDK .setProperty() and .store()

    I had posted this in the EP Content Development group, but received no response. Sorry for the cross post but this is relatively urgent for me.
    I am working on a Portal Component in the PDK for .NET which will take values selected from a CheckBoxGroup, concatenate it to a string and write that to a single Personalization preference.
    However, the PDK for .NET does not support writing Personalization preferences to the PCD. Thus, I have determined the solution to be:
    Make a Portal Service that takes a value and writes it to the Personalization of an iView. Basically it needs to simply do a:
    IPortalComponentProfile profile =
    request.getComponentContext().getProfile;
    profile.setProperty("selectedVal", myData);
    profile.store();
    Then this will be converted to a Web Service. However, how will the Web Service know what iView its writing Personalization for?
    I've searched and searched and come up with little clues here and there that I've somewhat pieced together but no concrete solutions. Please help. Thanks! --Shibli

    Hi,
    I took a look at the portal javadoc and there is another getComponentContext method that gets a string, urn, perhaps that will help.
    Take a look <a href="https://media.sdn.sap.com/javadocs/NW04/SP12/runtime/com/sapportals/portal/prt/component/IPortalComponentRequest.html#getComponentContext(java.lang.String)">here.</a>
    Regards,
    Tsachi

  • Where to find EP5.0 SP.5.0 Java PDK ?

    Hi,
    We could not find the java role file(.epa)for EP5,SP5 in SAP site .It seems they might have stopped support for that version.If anybody has that file, Kindly give us the link.
    Kind regards.
    Syam.

    Hi Dieter,
    Yes I did a typing mistake. I meant to say EP5.
    By the way you were right. I went through some of the related links and concluded that you were right. PDK6 will not be supported by EP5.
    I guess the reason is since the .par file which I was talking about, is meant to be run with PRT (Portal Run Time) of EP6 version. So EP5 will not support it.
    Thanks for information and making me read documents related to PDK
    Hi Shyam,
    Well dear, thanks for rewarding points!! I guess you need the PDK 5 for your EP5. But I wonder why are you going for EP5. I personally feel that you must update your portal to EP6. There are various add-ons in EP6 than that of EP5.
    Regards
    Pravesh

  • Localization in Java PDK

    Hi,
    I have a PDK for Java portal application.i need to localize it for different languages like German,French etc depending on  the language user selects from a given dropdown in this portal application.
    I checked the getResourceBundle method.It does not take any parameter and returns the resource bundle depending upon the locale of the logged in user.
    Is there anyway to achieve Localization based on user selection from the dropdown in the application. ?
    Warm Regards
    Saurabh

    Hi Maxime.
    To take your Resource Bundle from Java classes follow next steps:
    - Register in faces-config.xml your supported and default locale. Remember that you have to have a bundle file with a suffix yourPortalBundlePackage.PortalBundle_[locale] that you registered.
    <locale-config>
      <default-locale>es</default-locale>
      <supported-locale>en</supported-locale>
      <supported-locale>en</supported-locale>
      <supported-locale>es_ES</supported-locale>
    </locale-config>- Register a var pointing your Resource Bundle: For example:
    <resource-bundle>
      <base-name>com.merchan.portal.PortalBundle</base-name>
       <var>portalBundle</var>
    </resource-bundle>- Now from Java Code you can access to your bundles with next util method:
    public static String getStringFromBundle(String key, String varName) {
          FacesContext ctx = JSFUtils.getFacesContext();
          ResourceBundle rb = ctx.getApplication().getResourceBundle(ctx, varName);
          return rb.getString(key);
    // USE
    JSFUtils.getStringFromBundle("HOME","portalBundle"); // If you have a JSFUtils and ADFUtils register this static method there. These classes are very usefulRegards.

  • Java PDK Bugs and Issues

    Here are some bugs and issues I've run across using the JPDK that I thought other
    developers should be aware of. The following information comes from using JPDK
    1.1 with Oracle Portal Version 3.0.6.3.3 Early Adopter on Windows 2000.
    1) Do not use a colon character (':') in the String value returned by the method getTitle( Locale l ) in the class Portlet. Registering the provider will appear to succeed, but when you view the Portlet Repository you will get the following error message:
    An Unhandled Exception has occurred. ORA-06502: PL/SQL: numeric or value error:
    character to number conversion error
    Your provider and its portlets will not appear in the Portlet Repository when this error occurs.
    Perhaps other characters will cause this error as well.
    2) The Provider class method initSession() is supposed to propagate the array of returned Cookies back to the browser. The Cookies are never propagated to the browser. This is a huge road-block for our application and we need to have this problem fixed as there is no workaround.
    3) There is a limit to the number of portlets you can have per provider. I initially wrote a provider class that managed 19 portlet classes. However, after registering the provider only 17 portlet classes were loaded by the provider and/or displayed by the Portlet Repository. I had to create a second provider to manage additional portlets. The second provider worked out fine for me because I have 5 portlets that are for "administrator" users only. Moving these portlets left 14 portlets for the first provider to manage.
    Note: I don't know if this error occurs using the provider.xml method of implementing a provider and its portlets. My provider and portlets are implemented directly using the Java class API's.
    4) Sometimes I will receive the error "Meta data missing for portlet ID=<number>" when a portlet is rendered for the first time. This error does not occur often but when the error happens two conditions are met:
    a) The portlet is being rendered for the first time
    b) The HTTP and Web Assistant NT services have recently been started.
    This error is obviously caused by some timeout but increasing the timeout values
    for both the provider and the portlet has no effect. This error may be restricted to the NT platform.
    The following notes are not bugs but issues to be aware of:
    1) Make sure you have the "sessiontimeout" parameter defined when declaring the initArgs of a servlet in the zone.properties file and you intend to register your provider with a "Login Frequency" of "Once per User Session". For example:
    servlet.urlservlet.initArgs=debuglevel=1,sessiontimeout=1800000
    If you leave off the session timeout, Oracle Portal will call your provider's initSession() method for every request constantly generating new a session ID.
    2) Currently there is no means to check whether a ProviderUser has administrative
    privileges. This feature would be extremely helpful for restricting which portlets a user has access to when the provider's getPortlets() method is called.
    3) Currently there is no Java API for storing user and global preferences in the
    Oracle database. The JPDK provides a PersonalizationManager class but the method
    of storing the preferences needs to be implemented by the developer.
    The default Personalization Manager persists user preferences as a file
    to disk. However, this method opens up security holes and hinders scaleability.
    We got around the security and scalability issues by using Oracle's JDBC
    driver to persist user and global preferences to custom tables in the underlying Oracle database.
    I would appreciate hearing from anyone who has run across the cookie propagation issue and has any further insights.
    Thanks...
    Dave White
    null

    David,
    Thank you for your feedback on the JPDK. The information you provide helps us understand how customers are using 9iAS
    Portal and its development kits. I apologize for the delay in getting back with you. Since you are using the Early Adopters
    release, we wanted to test a few of the bugs and issues on the production release of 9iAS Portal.
    1) Using a colon character (:) in the String value returned by the method getTitle(Locale l) returned the ORA-06502 error is a
    known issue. This issue actually occurs within 9iAS Portal and should be resolved in the first maintenance release scheduled
    for 9iAS Portal.
    Waiting on reply from Nilay on #1
    2) The Provider class method initSession() not propagating the array of returned cookies back to the browser is an issue that we are currently working on. This bug has been fixed for most cases in the first maintenance release. A 100% fix of this issue is still being worked on.
    3) The limit to the number of portlets you can have per provider was an issue in the Early Adopter release, but is no longer an issue with 9iAS Portal production. Upgrade to the production release and you should no longer see this problem.
    4) The error "Meta data missing for portlet ID=<number>". I have not seen or heard about others receiving this same message. For this error, can you upgrade to the production version and let me know if you still receive this error message. At that time we can check for differences within the configuration.
    Not bug, but issues......
    1) You have made a good point with the sessiontimeout parameter. The JPDK uses servlet 2.0 APIs which does not provide access to the sessiontimeout. Currently, you will need to specify the sessiontimeout parameter in the zone.properties file.
    2) This is true. Currently there is no means to check whether a ProviderUser has administrative privileges. This is on our features list for future enhancements.
    3) This is also true. The DefaultPortletPersonalizationManager was created as a default runtime for developers not used to writing portlet code. It allows developers to write portlet code without concentrating on the underlying framework. Once a developer becomes more experienced with the JPDK and portlet environment, we encourage them to create their own
    customization manager. This includes changing how the portlet repository is stored or changing how the user customization is
    handled and where it is stored. You have no limitations as long as you follow the guidelines of the PortletPersonalizationManager interface.
    I hope this information helped. Again, we appreciate and welcome this type of feedback, it helps us not only locate bugs and issues, but also helps prioritize our enhancement list.
    Sue

  • Can you install the Java PDK in the portal that runs on Unix?

    Our Netweaver Portal (EP6 sp20) is running on a Unix box.
    Can I not install Portal Development Kit (PDK) - 60.14.0 ????
    It says in the installation guide:
    "The PDK is like the SAP NetWeaver Developer Studio released and supported for Windows platforms only."
    I thought Business Packages were Platform Independent ???

    yes you can, at your own risk

  • How can I use LogOutComponent programatically in a Java iView?

    Hi,
    Can someone point me to the jar file(s) that I need to reference in my portal application project (Java PDK) to use LogOutComponent? Which ones do I need and where can I get them
    I got the class file 'com.sap.portal.navigation.masthead_core.jar' from the Portal server but am not sure if this file is the only one that I need to use to incorporate LogOutComponent in my code.
    Also, can somebody tell me that how can I call this component from my AbstractPortal Component to call logout programatically? I am not using JSPs and would ideally not like to redirect the response to the URL of this component but rather use the object in my Java code. Sample code to help with this would be appreciated.
    Thank you,
    - Vik.

    Hi there,
    To log a user out of the Portal I decided to go the route of: UMFactory.getAuthenticator().logout(req, res)
    Code is below.
    Thanks for your replies,
    - Vik.
    <code>
    IAuthentication Authen = UMFactory.getAuthenticator();
    HttpServletRequest req = request.getServletRequest();
    HttpServletResponse res = request.getServletResponse(true);
    //logoff user from Portal
    Authen.logout(req, res);
    </code>

  • What is PDK & how to use it in NWDS 7.0.07

    Hi All,
    I was using NWDS for webdynpro development for a pretty long time.
    I am working on some portal development and came across PDK.
    What is PDK and its usage with Portal application development.
    if its a plugin where to down load it and how to use it in NWDS 7.0.07.
    Thanks & Regards,
    blsaiue.

    Hi uday,
    thanks for that.
    sorry but this doco explains the difference between .NET & JAVA PDK only which need to be installed on SAP Netweaver.
    Can you tell me what should I do on my NWDS to work on PDK.
    my NWDS is 7.0.07
    and netweaver is 2004s sp 15
    Regards,
    blsaiue

  • Passing Parameters between Java Portlets

    i hava java portlet and it does a search... the search result appears within the portlet region.... but i want to be able to click on the search button and take it to another portal page and have a portlet that contains the result of the porltet... how is that acheivable...

    Well i've done this with java pdk portlets, but I guess the principle is the same everywhere.
    Where are 2 types of parameters, qualified and unqualified ones. In your case you have to
    use unqualified ones, so that your other portlet can read a parameter which is set by your search portlet.
    Also add <passAllUrlParams>true</passAllUrlParams> to your provider.xml, inside a portlet tagof the result portlet, so yo are able to read unqualified params aswell.
    Othee options are using sessions or a persistant datastore, eg database

  • Why use JPDK rather than Pl/SQL PDK

    Hi All,
    currently I have deployed all my portlets using the Pl/SQL PDK which is very good, but slow to create portlets in that it takes time to create each portlet.
    what are the advans / disadvans to using the Java PDK to create portlets ?
    I perfer to wqork at the PDK level rather than the portal application level as I have found the PDK portlets much more portable / scalable when installoing on different servers.
    Any information on the JPDK would be very helpful.
    thanks Darragh

    Hello,
    Thanks for your answer, it's very helpful. I'm still looking for a strategy to link the VO and the EO though. I thought about registering the EO in the VO as normally, but not use it in the query (obviously) then override the ViewRow and do some funky stuff in the various 'set' methods to do something like:
    setAttributeInternal(index, value);
    // somehow push the value in the EOHowever, programatically pushing the value in the EO from the VO seems trivial so far, but I'm not sure how good the result will be. I'll test it to see how well it works, but if there's any documentation about that subject that you know of, it would be appreciated.
    Thanks,
    ~ Simon

  • Need help in post-installation steps of the PDK

    Hello,
    I have installed Java PDK 6.9 instead of 6.2.
    At the post-installation steps I need to:
    <i>The example iViews in the Portal Development Kit connect to a SAP System with the system alias PDK_R3_BACKEND.
    To run these examples you must define a system object for a test SAP System in your system landscape and assign the following aliases:
    1. PDK_R3_BACKEND Reference to a R/3 system of your custom landscape.
    2. PDKDummySystem Reference to provided system OBN-3. PDKDummySystem.
    WebDynpro Reference to provided system WebDynpro.</i>
    My question is: When I create this System, which type template should it be and which configuration besides the above aliases should it have?
    Roy

    Hey Aviad,
    Yes I did, in my case I've installed PDK SP 9 over SP2 which is prohibited. If this is your case as well do the following:
    1) From the Undeployment tab of the SDM select the com.sap.pct.pdk..
    components.
    2) Using the Archive remover tool which can be accessed from
    System Administration > Support > Portal Runtime > Administration
    Console > Archive Remover --> Remove the portal applications with prefixcom.sap.pct.pdk...
    3) Navigate to Content Administration > Portal content > Content
    Provided by SAP > Platform Add-Ons > Developer Content
    and remove all the contents below this folder.
    4) Restart the server
    After this you can deploy the SP9 business package using the SDM.
    Hope it helps,
    Roy

  • PDK or WebDynpro for complex UI creation and re-engineering

    Hi all,
        For our requirement, we need to create complex UI design and post customization (registration, create order based on different conditions and validations and so many things).
        Please help me to take proper decision to choose development technology that suits for our requirement.(Webdynpo, PDK(java),PDK(.net), Flex.)
    Thanks
    Deviprasad.

    Maybe you use the CAF for the project? You shall then be able to use any technology you want to use or are comfortable with and then integrate the different objects as part of a process.
    Sameer

  • Java applications on EP server

    Hi EP Experts,
    I would like to know following things.
    1. How do I migrate Java applications on Portal server? (one way using JAVA PDK)
    2. What are the different problems that are faced during migration of Java code to EP server
    3. Do we need to import specific libraries that are used specific for Java applications and are not available with WAS/EP?
    If any one has similar migration experience please share the problems that are faced and if possible solutions you got for any.
    Thank you,
    Chintamani Chitnis

    Hi,
    Check this document
    http://help.sap.com/saphelp_erp2004/helpdata/en/88/bdfc3f48ecc742e10000000a1550b0/frameset.htm
    Regards,
    Ganesh N

  • PDK-URL Services Sample

    When I tried to install the PDK-URL Services Sample, Everything went fine. I am able to test the test page. When I tried to register the provider I am getting the following error.
    An error occurred when attempting to call the providers register function.
    (WWC-43134)
    The following error occurred during the call to Web provider:
    java.lang.NoSuchMethodError: oracle.portal.provider.v1.http.DefaultProvider:
    method getDebugLevel()I not found
    at oracle.portal.provider.v1.http.URLProvider.register(URLProvider.java:658)
    at
    oracle.portal.provider.v1.http.ServletProviderResponse$SoapWriter.marshalRegiste
    rProvider(ServletProviderResponse.java:640)
    at
    oracle.portal.provider.v1.http.ServletProviderResponse$SoapWriter.access$1(Servl
    etProviderResponse.java:635)
    at
    oracle.portal.provider.v1.http.ServletProviderResponse.registerProvider(ServletP
    roviderResponse.java:116)
    at
    oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.
    java:632)
    at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:435)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    (WWC-43147)
    Does anyone else encounterd this error ?
    We are using portal 3.0.9.8.2 on Sun Solaris.
    Thanks in advance.
    Sanjay

    I have been trying to Install the Java-PDK, URLServices and Exchange Portlets on HP-UX and I haven't succeeded in getting the PDK samples to work.
    The error I am getting when I go to http://xxx.com/servlet/sample is:
    javax.servlet.ServletException: HttpProvider.startProvider: Unable to initialize new provider instance: oracle.portal.utils.xml.v1.NodeHandlerException: XML processing error: unable to create object of type oracle.portal.sample.devguide.samplerenderer.SampleRenderer due to the following exception: java.lang.ClassNotFoundException: oracle.portal.sample.devguide.samplerenderer.SampleRenderer
    I have followed all the instructions, read all the discussion forums and still could not get it to work.
    Since you mentioned that you were using HP/UX , can you please give me some pointers to on how to get this to work and also let me know the various versions of products used.
    The specifics of what I am looking for is:
    1. Java-XDK version used (ie xmlparserv2.jar)
    2. Java Servet Engine Version (ie ojsp.jar)
    3. samples.jar version (file size), provider.jar version (file size), urlservices.jar (file size)
    4. Java JDK version used.
    5. The jserv.conf, jserv.properties, zone.properties, relevant provider.xml files
    6. Any other information which will help.
    Thanks

Maybe you are looking for

  • One interface for vpnc?

    Haven't been able to find a solution to just this question I have, but maybe I don't know how to phrase the question. In my laptop, I have a wireless and an ethernet interface. In one work location, I have to be connected to the wired network for mos

  • Apple TV - Nothing displaying "Mode not supported"

    Hi, My Apple TV arrived today. I connected it all up using a HDMI-HDMI cable. I selected the HDMI channel on my TV (Samsung LE32R74BDX) but all i am getting is "No Signal"/"Mode Not Supported". I've tried the Menu and + to change the video settings b

  • How to get select option on OVS help.

    HI all, can we have select-option on OVS help screen? if yes how to declare the select option. do we need wds_select_options component? can any explane step by step how to achive this? OVS is working fine without range. I went through so mant post bu

  • Lightroom CC import error

    I've just updated lightroom within CC. when I tried to import pictures, it opened Lightroom 5, so I have since deleted 5. Now however when I insert an SD card, I get a message that says 'E:\application not found'. I have - 1. ensured that lightroom 6

  • How can I handle function pointer in Java?

    Is there any class/methods which can be used to implement function pointers in java.? If yes pliz, help me to get in.