sapjarfinder.com
 Advanced SearchAdvanced Search
Please enter a class name or namespace like "com.sap." to search for the jar files containing the class. No wildcards needed!
Home Home | News News

Help / Contents


Who we are

This is a non-commercial service provided and maintained by SAP Netweaver developers for SAP Netweaver developers. We maintain and develop this service in our free time in order to make SAP Netweaver development as easy as possible. This service always was, currently is and will always be free to use and we hope you find it as useful as we do.

to top

What is it for?

At some point every Netweaver java programmer ends up wasting valuable development time sorting out classpath problems. When faced with a ClassNotFoundException or NoClassDefFoundError it can take a lot of time googling, searching or event posting messages to the SAP Developer Network in order to locate the correct jar libraries. Fortunately SapJarFinder now eases your Netweaver Development. Our database contains information about more than 150.000 Class Names and Namespaces used within SAP Netweaver Systems and is updated regularly. This site is inspired by Jarfinder (www.jarfinder.com). If you are trying to resolve any classpath problems in an Open Source context (e.g. you are looking for any libraries provided by Apache or others) you should use Jarfinder.

to top

How do I use it?

The SapJarFinder Search Engine is very easy to use - just enter the class name or namespace you are looking for and invoke your search request by a simple click on the Search Button. SapJarFinder will return a list of all jar files that contain a class matching your Search String. You can evene only enter parts of the class name or namespace as a search string and SapJarFinder will return all classes that match the given string (only if Search Mode all is used). Sometimes it might happen that your Search returns too many results. In this case a limited result list will be returned indicating that your search returned to many results and that you should refine your search using the advanced search options as shown in -Figure 1-.


-Figure 1-

In that case you can use the Advanced search options by clicking on the Advanced Search Link next to the Search Input field and the binocular image as shown in -Figure 2-.


-Figure 2-

A click on the Advanced Search Link will open the Advanced Search Dialog that can be used to refine your search (-Figure 3-).


-Figure 3-

The following Search Options are available:

Search Mode:
  • exact matches only

  • Your search will only return the results that exactly match the given Search String.

    Example:
    If you are searching for the namespace com.sap.security.api.ISearchResult or the class ISearchResult your Search will only return a result if you provide either the complete and exact namespace or class name.

  • all matches (default)

  • Your search will return a list of results of which either the namespace or the class name partly match the given Search String.
    Example:
    You are searching for the namespace com.sap.security.api.ISearchResult or the class ISearchResult. If you use the Search String SearchRes our Search Engine will return more than 240 results and the namespace com.sap.security.api.ISearchResult will be one of your results. Using the same Search String in exact Search Mode will return 0 entries.
Search For:
  • class name or namespace (default)

  • This is the default Setting to define the Search Target. You should use this setting if you are searching for a given classname or namespace.

  • JAR-file

  • You should use this setting if you are searching for a particular JAR-File and you want to now which classes or packages are contained in this JAR-File.
Search Restrictions:
  • ignore entries without Javadocs

  • This is useful if you want to restrict your Search to obtain all classes that have a SAP Java API Documentation. Your search will return a list of only those entries and the result entry will contain a direct link to the SAP Java API Documentation (-Figure 4-)


    -Figure 4-

    In all other cases you will just see an indication that no javadoc is available (-Figure 5-)


    -Figure 5-

    A click on the link will open the SAP Java API Documentation in a new window.

  • ignore entries without Code Samples

  • It is possible to contribute Code Snippets for all namespaces/classes stored in our database. The Code Snippets are either provided by sapjarfinder.com or have been contributed by any user of our site. You can use this Search Restriction in order to only find all results for which we have Code Samples stored in our database. The Availability of Code samples for classes is indicated by a small symbol in the search result as shown in -Figure 6-.


    -Figure 6-

    The number in bracktes indicates how many Code Samples are stored for the Class. If there are no Code Samples for a class name you will just see an indication that no codesamples are available as shown in -Figure 7-


    -Figure 7-

Our Search Engine is enhanced to ease your search as much as possible. For this purpose our Search Field supports Auto Completion. While typing any search string the Auto Completer will automatically provide a list of namespaces or class names that match the current string in the search field. (Auto Completion currently always returns a list of Class Names or Namespaces even if you selected to search for JAR-Files in the Advanced Search Dialog so please do not be confused). The Auto Completer will always return a list of matching Class Names as long as your Search String does not contain any dot. As soon as you use a dot the Auto Completer assumes that you are searching for a namespace or package name and therefore returns a list of matching namespaces instead (see -Figure 8-).


-Figure 8-

to top

Wildcards

There is no need to use any wildcards in your Search Strings. Every search term will automatically include a wildcard at either beginning or end. Example: searching for "Sec" will automatically search for "*Sec*" (only when in Search Mode "all matches").

to top

What is included?

The site aims to contain information about all JAR-Files shipped with the various components of the SAP Netweaver product family (SPS 13). Since we have no complete installation of all system components there might be some lack of information.

We are constantly expanding our database. If there seems to be an important jar file that we do not currently index please tell us about it using our contact form and the reason "Missing Namespace or JAR-File".

to top

Reporting missing JAR-Files

If you found any JAR-Files in your Netweaver System that are not currently indexed in our database we kindly ask you to inform us using our contact form and the reason "Missing Namespace or JAR-File". Please send us the following details:
  • Name of the JAR-File (e.g. com.sap.security.api.jar)
  • Engine Path = Complete Pathname where the file is located (e.g. j2ee\cluster\server0\bin\ext\com.sap.security.api.sda\com.sap.security.api.jar)
  • Engine Version (e.g. NW2004s SPS13)
  • System Component the JAR-File belongs to (e.g. SAP Exchange Infrastructure)

We will soon provide a component in our Download section that can be used to parse a given JAR-File in order to create a list in a format that is suitable to be directly imported to our database. This will ease the process of submitting information about missing JAR-Files.

to top

Site improvement

We are constantly improving our site. If you would like to help make this service better there is a number of ways in which you can help. Firstly please tell us about missing JAR-Files we do not currently index. We want our database to be as comprehensive as possible. Secondly tell all your friends, business partners, colleagues and all Netweaver developers you know about us. Most people that have discovered our service find it useful and come back again and again while finding us for the first time might be a little harder. If you have any ideas on how we can improve our site please contact us using our contact form and the reason "Suggestion for improvement". Finally please link to us.

to top

Code Contribution

Besides Class Resolution this service aims to provide additional information and features that are useful for Netweaver developers. Our feature list includes Code Contribution. It is possible to provide Code Snippets for all the classes stored in our database. From the result list of your search it is possible to directly access all Code Samples available for a given Class. It is even possible to link a single Code Snippet to more than one Class or namespace (Code Class Associaton). Code Snippets can be provided by every user of our site. Please note that a submitted Code Snippet has to be approved by sapjarfinder.com before it will be visible and accessable on our site. Please use the Code Contribution Wizard to contribute as much Code Snippets as you like. The more Code Snippets we have the more useful our site will be.

Howto contribute Code

The Code Contribution Wizard

The upper part of the Code Contribution Wizard is displayed in -Figure 9-. Here you provide general information about yourself and information about your Code Snippet.


-Figure 9 / The Code Contribution Wizard (upper part)-

The general information about yourself includes your E-Mail address, your Firstname and Lastname and if you have a SAP Developer Network account you can optionally provide your SAP Business Card ID so we can directly link to your SAP SDN Business Card (see section 'Howto determine your SAP Business Card ID' for information on howto determine the ID from your SAP SDN Account). Your E-Mail Address is used to keep you informed about the status of your Code Contribution and to contact you if any questions occur. The E-Mail Address will not be visible to any visitor of our site or the appropriate contribution. All a visitor can see is your Firstname, Lastname, and your SAP Business Card ID if provided (see -Figure 10- for a sample list of Code Contributions).


-Figure 10 / Sample List of Code Contributions-

To ease the process of multiple Code Contributions the general information for a given user can be loaded dynamically by simply providing the e-mail address that has been provided in previous Code Contributions. A click on the magnifier (see -Figure 11- will the automatically load the corresponding information (Lastname, Firstname, SAP Business Card ID).


-Figure 11 / Magnifier to load general information about Code Contributor-

After providing general information about the Code Contributor the actual information about the Code Snippet has to be provided. This information contains a short description that describes the purpose of your Code and the Code Snippet itself (see -Figure 9-).

Every Code Contribution has to be linked to at least one Class/Package/Namespace stored in our database (Code Class Association). In order to create these associations you use the Class Associations part of the Code Contribution Wizard as shown in -Figure 12-. The Code Class Associations represent the imports of SAP Netweaver packages used in your Code Snippet.


-Figure 12 / The Code Contribution Wizard (Code Class Associations)-

To ease the process the Code Class Associations form field serves as a search field that supports auto completion just like the sapjarfinder main search engine (see -Figure 13-).


-Figure 13 / The Code Contribution Wizard (Code Class Associations / Auto Completion)-

Search for the appropriate class by providing the full qualified package name in the search field and choose the appropriate match from the auto completion list. A click on 'Add Association with this Class' will add the Association to the list of Associated classes as shown in -Figure 14-.


-Figure 14 / The Code Contribution Wizard (Code Class Associations / Associated Classes)-

You should repeat this step for all desired classes/packages that should be associated with the given Code Snippet. If you want to remove an association simply select the according package in the list of Associated Classes and click 'Remove Association with selected Class'. The easiest way to add all Class Associations is to simply copy and paste all SAP specific imports from your SAP Netweaver Developer Studio.

Finally accept the terms of use and click the 'Preview' Button to proceed (see -Figure 15-). If there are any errors in your contribution you will see the following error message while the appropriate fields are tagged as shown in -Figure 16-.


-Figure 15 / The Code Contribution Wizard (Accept Terms of use and proceed to Preview-

 


-Figure 16 / The Code Contribution Wizard (Errors in Contribution)-

The Preview (see -Figure 17-) will display your Contribution in the way all vistors will see it as soon as it is approved by sapjarfinder.com


-Figure 16 / The Code Contribution Wizard (Preview)-

A click on the 'Back' Button will lead you to the previous page in order to make corrections. If everything is correct a click on the 'Confirm' Button will confirm your contribution (you will see the message 'Your contribution has been committed!') and it is ready to be approved by sapjarfinder.com

to top

Howto determine your SAP Business Card ID

  • Launch the SAP Developer Network Website (https://www.sdn.sap.com/irj/sdn)
  • Login
  • Choose 'My profile' > 'Update profile' from the top of the page or use the following link instead while logged in: https://www.sdn.sap.com/irj/sdn/updateprofile



    You reach the My Profile Page:



  • Choose 'Business Card' from the menu on the left side
  • Your Business Card appears and your Browsers's address bar contains the link to your Business Card that includes the ID (.../sdn/bc?u=<ID>)
  • Copy & Paste this ID and use it when contributing Code in the sapjarfinder.com Code Contribution Wizard

to top

Terms of Use

Click terms of use here for terms of use

to top

SapJarFinder WebService

SapJarFinder offers a WebService (see WebService description under http://sapjarfinder.com/ws/sjfws.php?wsdl) Interface that currently implements and offers the following operations:
  • contributeCode: This operation is a full representation of our Code Contribution Wizard. You can use it to contribute Code via WebService.

    Input Parameters:

    • EMail (xsd:string): The valid E-Mail Address of the Contributor (e.g. peter.parker@spider.com => NOT VISIBLE TO USERS)
    • Firstname (xsd:string): The firstname of the Contributor visible to all users when accessing the Conribution
    • Lastname (xsd:string): The lastname of the Contributor visible to all users when accessing the Conribution
    • SapSDNBCid (xsd:string): The optional SAP SDN Business Card ID to link to the Contributor's SDN Business Card
    • CodeDescription (xsd:string): A short description of the Code to incidate its (e.g. Accessing the Portal PCD)
    • CodeSnippet (xsd:string): This is the actual Code Snippet (String has to be Base64 encoded). You can use our Form-based Base64-tool to encode your Snippets appropriately
    • CodeClassAssociations (tns:ClassList): A list of full namespaces that should be associated with your Code Contribution

    EMail, Firstname, Lastname, CodeDescription, CodeSnippet and CodeClassAssociations (at least one) are obligatory, SapSDNBCid is optional.


    Output Parameters:

    • rc (xsd:int): The result Code of the Contribution request. (Value is always 1 if contribution succeeded!)

    In case of success the WebService will return a message (tns:contributeCodeResponse) containing just a return parameter rc of type xsd:int. In case of success the value is always 1.
    In case of errors the WebService will always return a SOAP-Fault response containing faultcode (indicates if error is caused by either client or server), faultactor (currently always empty), faultstring (a general error message) and detail (a more detailled error message).

    Click here to display a Sample SOAP Request for this operation.
    Click here to display Sample SOAP Responses for this operation.

  • getNameSpaceByClassName: This operation receives a ClassName (e.g. IPortalComponentResponse) as input parameter and returns a full list of information about all matching namespaces. This operation supports exact search for Class name or namespace only:

    Input Parameters:

    • ClassName (xsd:string): The Class Name to search for (e.g. IPortalComponentResponse)

    Output Parameters:

    • return (tns:ClassResolution): Will return a message (tns:getNameSpacesByClassNameResponse) of type tns:ClassResolution containing NWVersion (The Netweaver Version), ClassName (the Search String used as input parameter), Results (number of matches), NameSpaces (A list of all matching Namespaces of type tns:ClassListDetail (Array of type tns:ClassInfoDetail[]) containing detailled information about the matching NameSpace (NameSpace,JARFile,PathToJARFile,APIDoc,CodeSamples,JDocPrefix,SharingReference))

    In case of success the WebService will return a message (tns:getNameSpacesByClassNameResponse) of type tns:ClassResulotion.
    In case of errors the WebService will always return a SOAP-Fault response containing faultcode (indicates if error is caused by either client or server), faultactor (currently always empty), faultstring (a general error message) and detail (a more detailled error message).

    Click here to display a Sample SOAP Request for this operation.
    Click here to display Sample SOAP Responses for this operation.

  • getNews: This operation can be used to receive the latest SapJarFinder News. The operation optionally receives a startDate (format YYYY-MM-DD) to fetch only news starting from the given startDate. If the input parameter startDate is ommitted (null) the WebService will return a list of all available and active news including newsdate,newsheadline and newstext.

    Input Parameters:

    • startDate (xsd:string): The optional startDate in format YYYY-MM-DD to fetch news starting from the given Date only (e.g. 2008-09-15).

    Output Parameters:

    • return (tns:ClassResolution): Will return a message (tns:getNewsResponse) of type tns:News containing LastUpdate (Last News Update Date), Items (the number of News Items returned), News (A list of News of type tns:NewsList (Array of Type tns:NewsItem[]) containing the actual News (NewsDate, NewsHeadline,NewsText))

    In case of success the WebService will return a message (tns:getNewsResponse) of type tns:News.
    In case of errors the WebService will always return a SOAP-Fault response containing faultcode (indicates if error is caused by either client or server), faultactor (currently always empty), faultstring (a general error message) and detail (a more detailled error message).

    Click here to display Sample SOAP Requests for this operation.
    Click here to display Sample SOAP Responses for this operation.

  • Search: This operation is a full featured representation of our SapJarFinder Search Engine. It receives SearchAPIQueryParameters of type tns:SearchAPIQueryParameters as input and returns a full list of information about all matching namespaces just like operation getNameSpacesByClassName.

    Input Parameters:

    • SearchAPIQueryParameters (tns:SearchAPIQueryParameters): A complex type representing the Search Query Parameters (SearchString,SearchMode (one of exact or all),SearchFor (one of classornamespace or jarfile),SearchRestrictions (type tns:SearchRestrictions) to define SearchRestrictions (ignoreEntriesWithoutJavaDoc of type xsd:int (allowed values are: 0=do not restrict on classes with Java Doc, 1=restrict on classes with JavaDoc) and ignoreEntriesWithoutCodeSamples of type xsd:int (allowed values are: 0=do not restrict on classes with Code Samples, 1=restrict on classes with Code Samples).

    Output Parameters:

    • return (tns:ClassResolution): Will return a message (tns:SearchResponse) of type tns:ClassResolution just like operation getNameSpacesByClassName.

    In case of success the WebService will return a message (tns:SearchResponse) of type tns:ClassResolution.
    In case of errors the WebService will always return a SOAP-Fault response containing faultcode (indicates if error is caused by either client or server), faultactor (currently always empty), faultstring (a general error message) and detail (a more detailled error message).

    Click here to display a Sample SOAP Request for this operation.
    Click here to display Sample SOAP Responses for this operation.

Documentation of Return Messages and Parameters:
  • tns:ClassResolution (returned in getNameSpacesByClassNameResponse and SearchResponse): <xsd:complexType name="ClassResolution"> <xsd:all> <xsd:element name="NWVersion" type="xsd:string"/> <xsd:element name="ClassName" type="xsd:string"/> <xsd:element name="Results" type="xsd:int"/> <xsd:element name="NameSpaces" type="tns:ClassListDetail"/> </xsd:all> </xsd:complexType>
    • NWVersion: Will contain the Netweaver Version of the stored entry (e.g.: NW2004s_SPS13)
    • ClassName: Will contain the ClassName passed as input parameter to the Service (e.g.: IPortalComponentResponse)
    • Results: Will contain the number of resulrs (NameSpaces) returned by the Service (e.g.: 1)
    • NameSpaces: Will contain an Array of Type tns:ClassInfoDetail[])
    <xsd:complexType name="ClassListDetail"> <xsd:complexContent> <xsd:restriction base="SOAP-ENC:Array"> <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:ClassInfoDetail[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="ClassInfoDetail"> <xsd:all> <xsd:element name="NameSpace" type="xsd:string"/> <xsd:element name="JARFile" type="xsd:string"/> <xsd:element name="PathToJARFile" type="xsd:string"/> <xsd:element name="APIDoc" type="xsd:int"/> <xsd:element name="CodeSamples" type="xsd:int"/> <xsd:element name="JDocPrefix" type="xsd:string"/> <xsd:element name="SharingReference" type="xsd:string"/> </xsd:all> </xsd:complexType>
    • NameSpace: The full namespace of the matching entry (e.g. com.sapportals.portal.prt.component.IPortalComponentResponse)
    • JARFile: The name of the JARFile that contains the matching namespace (e.g. prtapi.jar)
    • PathToJARFile: The filepath to that jarfile on your engine host (e.g. j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\lib\prtapi.jar)
    • APIDoc: An indication if API Documentation is available for this match (0=not available, 1=available)
    • CodeSamples: The amount of Code Samples available for this match
    • JDocPrefix: The SAP JDocPrefix used to link to the SAP Javadoc Pages for this match
    • SharingReference: The Sharing Reference to be used within your Code for runtime usage of the given match (if available)


  • tns:News (returned in getNewsResponse): <xsd:complexType name="News"> <xsd:all> <xsd:element name="LastUpdate" type="xsd:string"/> <xsd:element name="Items" type="xsd:int"/> <xsd:element name="News" type="tns:NewsList"/> </xsd:all> </xsd:complexType>
    • LastUpdate: The last Update Date of our News (e.g.: 2008-06-25 15:07:03)
    • Items: The amount of Newsitems returned by this service (e.g.: 10)
    • News: Will contain an Array of Type tns:NewsItem[])
    <xsd:complexType name="NewsList"> <xsd:complexContent> <xsd:restriction base="SOAP-ENC:Array"> <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:NewsItem[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="NewsItem"> <xsd:all> <xsd:element name="NewsDate" type="xsd:string"/> <xsd:element name="NewsHeadLine" type="xsd:string"/> <xsd:element name="NewsText" type="xsd:string"/> </xsd:all> </xsd:complexType>
    • NewsDate: The NewsDate of the News Entry (e.g. 2008-09-12 15:09:29)
    • NewsHeadLine: The URL Encoded NewsHeadLine of the News Entry (e.g. Added+Bookmarking+functionality)
    • NewsText: The URL Encoded NewsText of the News Entry
Feel free to use the WebService to implement your own Services.

to top

SapJarFinder Opensearch Browser Search Plugin

The SapJarFinder OpenSearch Browser Search Plugin is an OpenSearch compliant Search Plugin. It supports Firefox 2+ and IE7.
The Search Plugin supports Autodetection so you can easily install it from your Browser Bar (if not yet installed you will recognize that the DropDown Icon of your Browser Search Bar (e.g. Firefox) glows when accessing the sapjarfinder webpage at http://sapjarfinder.com indicating that a Search Plugin has been detected on this page. A click on the arrow will open the list of available/installed search plugins and offer the installation of the Sapjarfinder Search Plugin (see -Figure 18-).


-Figure 18 / The SapJarFinder Browser Search Plugin Auto Detection in Firefox 2+-

After the installation the new Search Plugin will appear in the list as shown in -Figure 19-

-Figure 19 / The Sapjarfinder Browser Search Bar containing the SapJarFinder Search Plugin-

You can optionally install the Search Plugin manually from our Download Section (see -Figure 20-).
-Figure 20 / The Sapjarfinder Browser Search Plugin in the Download Section-

A click on install will perform the installation showing a message dialog as displayed in -Figure 21- (The dialog looks slightly different in IE7):

-Figure 21 / The Sapjarfinder Browser Search Plugin (Manual Installation)-

If the Plugin has already been installed you will see the message shown in -Figure 22- (the message dialog looks slightly different in IE7)

-Figure 22 / The Sapjarfinder Browser Search Plugin is already installed-

Using the Search Plugin you can directly search for namespaces and classes from the Browser Toolbar without having to launch the sapjarfinder.com website. The Plugin uses Default Search Mode ("all") and returns a list of all matching namespaces.

to top

SapJarFinder Eclipse/NWDS Plugin

The SapJarFinder Eclipse/NWDS Plugin is a Plugin Extension for the SAP Netweaver Devloper Studio. It has been tested and developed with NWDS 7.0.09 which is based on Eclipse 2.1.2. The Plugin currently provides the following functionality:
  • Fetch the latest sapjarfinder.com News directly from NWDS
  • Search for Classes/Namespaces/JAR-Files directly from NWDS
  • Easy Code Contribution directly from NWDS
You can download the Plugin from our Download Section (see -Figure 23-).


-Figure 23 / The Sapjarfinder Browser Search Plugin in the Download Section-

Howto install the SapJarFinder Eclipse/NWDS Plugin

First of all Download the Packaged Plugin from our Download Section (see -Figure 23-). The downloaded file "SjfSearchPlugin.zip" contains the following folder structure:

eclipse > plugins > com.sapjarfinder.eclipse.SjfSearchPlugin_1.0.0

  • Copy the ZIP-File to the installation directory of your NWDS IDE (e.g. "C:\Program Files\SAP\IDE\IDE70") and unpack the ZIP File.
    After unpacking the downloaded ZIP-File the Plugin Folder "com.sapjarfinder.eclipse.SjfSearchPlugin_1.0.0" should reside in your NWDS plugins Folder
  • Restart your NWDS
  • Installation complete
Proceed to section "Howto use the Eclipse/NWDS Plugin" to use the plugin and verify its successfull installation.

Howto use the SapJarFinder Eclipse/NWDS Plugin

After installing the Plugin as described in section "Howto install the SapJarFinder Eclipse/NWDS Plugin" you should be able to use the Plugin.
Procceed as follows to activate the SapJarFinder Plugin in your NWDS Perspective:
  • Call Window > Customize Perspective
  • Expand the Other Node in the Available Items Window
  • Activate the SapJarFinder/Search Item by checking the checkbox as shown in -Figure 24-


    -Figure 24 / Activate the SapJarFinder Plugin Item in the Customize Perspective Dialog-

  • After confirmation your Menu Bar should contain the SapJarFinder/Search Plugin Item as shown in -Figure 25-


    -Figure 25 / The SapJarFinder Plugin Menu-

Plugin Functionality

Get News

In order to fetch the latest SapJarFinder News select the Menu Item "Get News" from the SapJarFinder/Search Menu (see -Figure 25-).
This will open a Window that lists the latest SapJarFinder News in a table.
In order to read the News Text of a News Item simply click on the News-Date in the first column of the News Item table (see -Figure 26-).


-Figure 26 / Get News-

The bottom of the page contains a message that displays the status of the initial News Update. In case of success the displayed message should be:
"News Update succeeded: Update returned X News items.". Just in case the Update fails try using the "Update News" Button on the right side to retry the Update.

Code Contribution Wizard

The Code Contribution Wizard enables you to commit Code Samples to sapjarfinder.com directly from NWDS. This dramatically eases the Code Contribution Process.
It is a complete representation of the Code Contribution Wizard on the Web which is described here. The Wizard can be started in several ways:
  • Select the Menu Item "Launch Code Contribution Wizard" from the SapJarFinder/Search Menu (see -Figure 25-).
  • Select File > New > Other
  • Select SapJarfinder > SapJarfinder Code Contribution and click Next as shown in -Figure 27-


    -Figure 27 / Launch "New Code Contribution Wizard"-

  • The recommended way is to start the Wizard from the Context Menu of an Editor that edits a .java file:
    In your current Editor select the desired Code for Contribution and click the right mouse button.
    From the context menu choose "Contribute Selection to SapJarFinder" as shown in -Figure 28-


    -Figure 28 / Launch "Code Contribution Wizard" from Editor/Context Menu-

Code Contribution Wizard / General Info Page

The General Info Page (see -Figure 29-) asks for general information about the Code Contributor (EMail,Firstname,Lastname,SAP SDN Business Card ID (optional)) and the actual Code Information consisting of Code Description (short description that describes the purpose of your Code) and Code Snippet (the Code that represents the described functionality).


-Figure 29 / Code Contribution Wizard / General Info Page-

After providing all required information you will be able to procceed to the next page.

NOTE:
In order to ease the Code Contribution Process you can store the general code contribution information (EMail,Firstname,Lastname,SAP SDN Business Card ID) in the SapJarFinder Plugin Preferences. The appropriate fields will then be automatically filled using the values stored in the preferences.
Please do also note that when starting the Code Contribution Wizard in the recommended way (from Editor Context Menu) the selected Code will automatically appear as Code Snippet in the Code Snippet textfield of the General Information Page.

SapJarFinder Plugin Preferences

  • Open the SapJarFinder Preferences by selecting Window > Preferences
  • In the list select SapJarFinder Preferences (see -Figure 30-)


    -Figure 30 / SapJarFinder Plugin Preferences-

  • Define the Preferences used for Code Contribution and click Apply followd by OK to store them
  • Launch the Code Contribution Wizard and the Code Contributor Information will be filled from Preferences

Code Contribution Wizard / Code Class Association Page

The Code Class Association Page is used to define the Class/Namespace Associations for your Code Snippet. Each provided Code Snippet has to be associated with at least one namespace.
In order to add associations with a class type the classname (we recommend to use the full namespace) in the Namspace textfield at the top of the page.
When typing is finished the Wizard will automatically load all matching namespaces from sapjarfinder.com and display them in the first table.
Select the according match and click the "Add Association with this Class" Button to add an association with the given namspace (see -Figure 31-).


-Figure 31 / Code Contribution Wizard / Code Class Associations-

To remove an association select the according namespace in the list of associated classes and click the "Remove the Association with this Class" Button to remove the association.

NOTE:
Be as precise as possible when providing a namespace (we recommend to use the full namespace and not just the classname) to avoid search failure because of too many results.
If a query returns too many result the Namespace Auto Loader will return the message: "Search failed, message is: Too many results. Please refine your search!"
In case of success you will see the message: "Search succeeded: Query returned X results." and the matching results are displayed in the list of found matches.

You will be able to procced to the next page (Preview Page) when at least one Code Class Association has been added.

Code Contribution Wizard / Preview Page

The Preview Page is only used to preview your contribution before actually committing it to sapjarfinder.com.
Verify your contribution and use the "Commit Contribution" Button to finally commit the Contribution. After successfully committing your contribution you should see the message "Your Contribution has been successfully committed!" or an appropriate error message if something went wrong (see -Figure 32-).


-Figure 32 / Code Contribution Wizard / Preview Page-

NOTE:
You will receive a confirmation email about your contribution saying that your contribution will be available/visible on sapjarfinder.com as soon as it is approved by an administrator.

Class Resolver Search

You can use the SapJarFinder NWDS Plugin to search for Classes/Namespaces/JARFiles just like you can when using our sapjarfinder.com webpage (see section "How do I use it").
In order to open the Class Resolver Search Window select the Menu Item "Open Search Window" from the SapJarFinder/Search Menu (see -Figure 25-).
This will open the Search Dialog (see -Figure 33-).



-Figure 33 / Class Resolver Search Window-

The Search Engine works just like the Web based Search Engine on sapjarfinder.com. For further details on howto use the options refer to section "How do I use it" on this help page.
Finally click the Search button at the bottom of the page to receive all resulting matches for your query.
Select one of the matches in the list of found matches to see the corresponding JAR-File and Location for the given class (see -Figure 33-).
In case of success you should see the message: "Search succeeded: Query returned X results."
In case of failure you will see an appropriate error message like: "Search failed, message is: Too many results. Please refine your search!"

NOTE:
Especially the Search functionality in this plugin will be extended in the near future. If you have any ideas or wishes for improvement feel free to contact us using our contact form and the Reason "Suggestion for improvement".

to top



Database Statistics Our database currently contains 159583 classes and 3 Code Samples.
This website is a non-commercial service for SAP Netweaver developers. Copyright © 2008 sapjarfinder.com

contact at sapjarfinder dot com
This is the incredible version R01-03


contact us Contact Us - terms of use Terms Of Use - help / howto contribute Help / Howto Contribute - Downloads Downloads