Database for packages and jars

Java heaviliy relies on the package concept and the idea that people use their web domain inversely as a structure for the packages is good. I find, however, the task of finding the right jar file for the package I need sometimes a bit cumbersome. Going into J2EE and other stuff you end up with many jar files on your computer.
I have had the idea of putting together a database listing the contents of all my jar files, even designed a script that creeps into the depth of all the subdirectories to look for jar files and query their contents. Keeping such a database in shape is, however, not an easy task. I was wondering whether such a database exists already.

In a sense, this is what maven does
maven.apache.org

Similar Messages

  • Q&A database for MM and PP

    Hi Experts,
    I am looking for the ASAP Q&A database for MM and PP modules. Can anyone send me the documentation please?
    Fotso

    Hello,
    Refer the below link for your reference.
    http://dev.fyicenter.com/Interview-Questions/SAP-1/What_is_SAP_.html
    http://www.esnips.com/web/ndpanchal-SAPMaterials/
    http://www.geekinterview.com/Interview-Questions/SAP-R-3/Modules
    http://www.sap-img.com/materials/common-sap-mm-questions.htm
    http://www.sap-img.com/mm015.htm
    http://www.sap-img.com/materials/sap-mm-self-test-questions.htm.
    http://www.daypo.net/test-sap-mm.html
    Regards,
    Sarthak

  • Can we have a common database for TARGER and CATALOG in RMAN?

    Hi,
    Can we have a common database for TARGER and CATALOG in RMAN?
    I am trying to duplicate a auxilary database using rman. In this situation can i have common db for target and catalog?
    Please suggest.
    Thanks
    Naveen.

    You just won't use a CATALOG database.
    Check Creating a Duplicate Database with RMAN for the full process.

  • Naming convention for packages and classes

    Hi all,
    Is there any naming conventions for packages and classes which uses a design pattern ?. If yes what are the conventions used for business delegate,session facade, service locator,DAO and any other patterns.
    rgds
    Anto Paul

    Hi,
    that is a good question and one we have considered also. We dont yet cover the naming conventions for classes based on patterns but maybe will in the future. Currently, in the blueprints apps we tend to do some things like naminga class
    -AccountDAO etc for DAOs
    -For servicelocator we have a class called ServiceLocator viewable at https://adventurebuilder.dev.java.net/source/browse/adventurebuilder/ws/components/servicelocator/src/java/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java?rev=1.4&content-type=text/vnd.viewcvs-markup
    -for session facade, its a bit trickier since the name is so long and we cant add "SessionFacade" to the end of each facade class. I think in general we put "Facade" in the name, usually near the end
    -For Business Delegat, again it seems too long to add to each class name. So in the past we have added
    a "BD" to the names of the delegates. Some examples are at http://java.sun.com/blueprints/patterns/BusinessDelegate.html
    -For transfer objects we usually add a TO to the end of the name. Some examples at http://java.sun.com/blueprints/patterns/TransferObject.html
    Seems like something we could get a bit more consistent about.
    hope that helps,
    Sean

  • What are best practice for packaging and deploying j2EE apps to iAS?

    We've been running a set of J2EE applications on a pair of iAS SP1b for about a year and it has been quite stable.
    Recently however we have had a number of LDAP issues, particularly when registering and unregistering applications (registering ear files sometimes fails 1st time but may work 2nd time). Also We've noticed very occasionally that old versions of classes sometimes find their way onto our machines.
    What is considered to be best practice in terms of packaging and deployment, specifically:
    1) Packaging - using the deployTool that comes with iAS6 SP1b to package is a big manual task, especially when you have 200+ jsp files. Are people out there using this or are they scripting it with a build tool such as Ant?
    2) Deploying an existing application to multiple iAS's. Are you guys unregistering old application then reregistering new application? Are you shutting down iAS whilst doing the deployment?
    3) Deploying ear files can take 5 to 10 mins, is this normal?
    4) In a clustered scenario where HTTPSession is shared what are the consequences of doing deployments to data stored in session?
    thanks in asvance for your replies
    Owen

    You may want to consider upgrading your application server environment to a newer service pack. There are numerous enhancements involving the deployment tool and run time layout of your application that make clear where you're application is loading its files from.
    If you've at a long running application server environment, with lots of deployments under your belt, you might start to notice slow downs in deployment and kjs start time. Generally this is due to garbage collecting in your iAS registry.
    You can do several things to resolve this. The most complete solution is to reinstall the application server. This will guarantee a clean ldap registry. Of course you've got to restablish your configurations and redeploy your applications. When done, backup your application server install space with the application server and directory server off. You can use this backup to return to a known configuation at some future time.
    For the second method: <B>BE CAREFUL - BACKUP FIRST</B>
    There is a more exhaustive solution that involves examining your deployed components to determine the active GUIDS. You then search the NameTrans section of the registry searching for Applogic Servlet *, and Bean * entries that represent your previously deployed components but are represented in the set of deployed GUIDs. Record these older GUIDs, remove them from ClassImp and ClassDef. Finally remove the older entries from NameTrans.
    Best practices for deployment depend on your particular environmental needs. Many people utilize ANT as a build tool. In later versions of the application server, complete ANT scripts are included that address compiling, assembly and deployment. Ant 1.4 includes iAS specific targets and general J2EE targets. There are iAS specific targets that can be utilized with the 1.3 version. Specialized build targets are not required however to deploy to iAS.
    Newer versions of the deployment tool allow you to specify that JSPs are not to be registered automatically. This can be significant if deployment times lag. Registered JSP's however benefit more fully from the services that iAS offers.
    2) In general it is better to undeploy then redeploy. However, if you know that you're not changing GUIDs, recreating an existing application with new GUIDs, or removing registered components, you may avoid the undeploy phase.
    If you shut down the KJS processes during deployment you can eliminate some addition workload on the LDAP server which really gets pounded during deployment. This is because the KJS processes detect changes and do registry loads to repopulate their caches. This can happen many times during a deployment and does not provide any benefit.
    3) Deploying can be a lengthy process. There have been improvements in that performance from service pack to service pack but unfortunately you wont see dramatic drops in deployment times.
    One thing you can do to reduce deployment times is to understand the type of deployment. If you have not manipulated your deployment descriptors in any way, then there is no need to deploy. Simply drop your newer bits in to the run time space of the application server. In later service packs this means exploding the package (ear,war, or jar) in to the appropriate subdirectory of the APPS directory.
    4) If you've changed the classes of objects that have been placed in HTTPSession, you may find that you can no longer utilize those objects. For that reason, it is suggested that objects placed in session be kept as simple as possible in order to minimize this effect. In general however, is not a good idea to change a web application during the life span of a session.

  • Can I use one contacts database for phone and email?

    I have a gmail contacts list for email.  I also have a phone number database imported from a non-apple cell phone to my iPhone 5c.  I find that I'm using the iphone more and more for both phone and email, but I also use my PC for email.
    I exported my 300+ gmail contacts using google to a CSV file, cleaned it up, and imported it back to my PC.  Of course, it doesn't have the 200+ phone numbers that are in my phone number listing now on my iPhone.
    I like working with spreadsheets because of the many utilities to sort, cut/paste, etc.  If I take my gmail database, ultimately add phone numbers, and sync in iTunes will it be accessed whenever I want to make a call and also when I want to send an email?  I'm hesitant to sync with the new gmail "email only" database for fear of losing all of the many phone numbers in my iPhone. Can I keep my phone numbers temporarily while I edit my master contacts database - maybe by having separate databases on my iPhone for email and phone?  I hope to eventually keep a master PC database of all data on all entries and change/reimport as needed.
    Thanks for letting me know if this will work, or if there are any cautions that I should heed.

    Yes.

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • Confused about beans, packages, and jars

    Hello,
    I've created a package that contains three public classes, Animation, Animator, and AnimatedPanel. I won't explain what they do, since it's rather irrelevant; It is important to note that AnimatedPanel extends JLabel. The package is com.buchuki.animations
    What I want to do is place the AnimatedPanel onto a JPanel, in Forte. To do this, it appears that I have to make the AnimatedPanel a bean. (or do it using extra code, but that defeats the purpose of using an IDE). I understand the basics of beans, but not much more. I've searched these forums and skimmed the Java Bean tutorial, but haven't found anything helpful. (at least, not completely helpful! ;)
    The problem is, I want to make a bean out of the class com/buchuki/animations/AnimatedPanel.class, but not out of the other two classes in that package. However, I will want to use those other two classes to interact with the AnimatedPanel class in the application I am using. (I'll import com.buchuki.animations.*;)
    From what I've read, it appears that you have to run the jar command from the parent directory of the package (ie: in animations/com/buchuki/animations, I run the jar command from animations/). But that would include all files in com, would it not? I guess I don't know what to do at all, but how do I make a bean out of AnimatedPanel and yet keep the bean as a part of the package that uses the "helper" classes? Is it a semi-advanced entry in the manifest file?
    Thanks,
    Dusty

    Ok, I've figured out a few things in my research, but it's still not working. I guess that the Java-Bean: True applies to only one package, and not to the jar archive as I first thought.
    However, I'm still a little unsure how I can include the package in the jar archive as a part of my program; is it that I should use the extension mechanism mentioned in the jar tutorial?
    And at any rate, even with a manifest file like this:
    Name: com/buchuki/animations/AnimatedPanel.class
    Java-Bean: True
    and archiving with:
    jar cfm mainfest.txt animations.jar com
    This creates the archive, but when I try to add new Java Bean in forte, it says that the archive is not a valid bean. What am I missing? Did I mess up the package thing, the compilation... what?
    Thanks again,
    Dusty

  • Best Practices for Packaging and Deploying Server-Specific Configurations

    We have some server-specific properties that vary for each server. We'd
    like to have these properties collected together in their own properties
    file (either .properties or .xml is fine).
    What is the best-practices way to package and deploy an application (as an
    ear file), where each server needs some specific properties?
    We'd kind of like to have the server-specific properties file be stored
    external to the ear on the server itself, so that the production folks can
    configure each server's properties at the server. But it appears that an
    application can't access a file external to the ear, or at least we can't
    figure out the magic to do it. If there is a way to do this, please let me
    know how.
    Or do we have to build a unique ear for each server? This is possible, of
    course, but we'd prefer to build one deployment package (ear), and then
    ship that off to each server that is already configured for its specific
    environment. We have some audit requirements where we need to ensure that
    an ear that has been tested by QA is the very same ear that has been
    deployed, but if we have to build one for each server, this is not
    possible.
    Any help or pointers would be most appreciated. If this is an old issue,
    my apologies, would you please point me to any previous material to read?
    I didn't see anything after searching through this group's archives.
    Thanks much in advance,
    Paul
    Paul Hodgetts -- Principal Consultant
    Agile Logic -- www.agilelogic.com
    Consulting, Coaching, Training -- On-Site & Out-Sourced Development
    Java, J2EE, C++, OOA/D -- Agile Methods/XP/Scrum, Use Cases, UI/IA

    The one draw back to this is you have to go all the way back to ant and the
    build system to make changes. You really want these env variables to be
    late binding.
    cheers
    mbg
    "Sai S Prasad" <[email protected]> wrote in message
    news:[email protected]...
    >
    Paul,
    I have a similar situation in our project and I don't create ear filesspecific
    to the environment. I do the following:
    1) Create .properties file for every environment with the same attributename
    but different values in it. For example, I have phoneix.properties.NT,phoenix.properties.DEV,
    phoenix.properties.QA, phoenix.properties.PROD.
    2) Use Ant to compile, package and deploy the ear file
    I have a .bat file in NT and .sh for Solaris that in turn calls theant.bat or
    ant.sh respectively. For the wrapper batch file or shell script, you canpass
    the name of the environment. The wrapper batch file will copy theappropriate
    properties file to "phonenix.properties". In the ant build.xml, I alwaysrefer
    to phonenix.properties which is available all the time depending on theenvironment.
    >
    It works great and I can't think of any other flexible way. Hope thathelps.
    >
    Paul Hodgetts <[email protected]> wrote:
    We have some server-specific properties that vary for each server. We'd
    like to have these properties collected together in their own properties
    file (either .properties or .xml is fine).
    What is the best-practices way to package and deploy an application (as
    an
    ear file), where each server needs some specific properties?
    We'd kind of like to have the server-specific properties file be stored
    external to the ear on the server itself, so that the production folks
    can
    configure each server's properties at the server. But it appears that
    an
    application can't access a file external to the ear, or at least we can't
    figure out the magic to do it. If there is a way to do this, please
    let me
    know how.
    Or do we have to build a unique ear for each server? This is possible,
    of
    course, but we'd prefer to build one deployment package (ear), and then
    ship that off to each server that is already configured for its specific
    environment. We have some audit requirements where we need to ensure
    that
    an ear that has been tested by QA is the very same ear that has been
    deployed, but if we have to build one for each server, this is not
    possible.
    Any help or pointers would be most appreciated. If this is an old issue,
    my apologies, would you please point me to any previous material to read?
    I didn't see anything after searching through this group's archives.
    Thanks much in advance,
    Paul
    Paul Hodgetts -- Principal Consultant
    Agile Logic -- www.agilelogic.com
    Consulting, Coaching, Training -- On-Site & Out-Sourced Development
    Java, J2EE, C++, OOA/D -- Agile Methods/XP/Scrum, Use Cases, UI/IA

  • Informix Database for CVP and IPCC reporting, other suggested product

    Hi All;
    Currently we have in the site Informix Database to be used for CVP and IPCC reporting, but is there other recommended product than it to be more rich in the features and able to use it to generate reports for CVP and IPCC?
    From the other side: Any one suggest a front end tool (web based tool) that can be used to generate reports from the Informix DB?
    Regards
    Bilal

    For more complex data needs Cisco has a range of options that using the VIM family of products, particularly the new CUIC/VIM Datamart solution which might be of interest. http://www.exony.com/category/tags/cuic

  • How to use packages and jar files for applet?

    Hi!
    My applet takes a class say a.class.
    Now this class depends on other classes that are packaged
    in a directory and put separately.
    I want to put this applet on the web.
    So how do I manage the .class files in he package.
    I have tried using jar file format.But I was not able to get it working.
    Can someone please help me?
    Thanks

    Use Archive instead of codebase:
    <APPLET CODE="MyApplet.class" ARCHIVE="MyApplet.jar" WIDTH=400 HEIGHT=300></APPLET>

  • Problems with package and jar

    Hi guys,
    I am trying to create a package, jar so that I can reuse it later.
    - This is my package
    /* START OF CODE */
    package com.me.MyClass;
    public class MyClass {
    public void myMethod() {
    /* END OF CODE */
    - I compile it using
    % javac -d c:\jdk1.3\jre\classes MyClass.java
    - Then I jar it
    %jar cf c:\jdk1.3\jre\classes\MyPackage.jar c:\jdk1.3\jre\classes\*.*
    - I set the classpath to
    c:\jdk1.3\jre\classes\MyPackage.jar
    - Then I import it
    I set the classpath in the environment variables (i run win2k)
    c:\jdk1.3\jre\classes\MyPackage.jar
    - But when i compile, i get the following error
    MyProgram.java:4: cannot resolve symbol
    symbol : class MyClass
    location: package me
    import com.me.MyClass;
    ^
    Thanks for helping!

    This should start out in
    c:\jdk1.3\jre\classes\com\me\MyClass.class
    assuming the folder "com" is the only one in
    "classes"
    you can just cd \jdk1.3\jre\classes
    then
    jar cf MyPackage.jar *
    you need the nested folders in there com\me\
    after you make it you can put it in jre\lib\ext
    and use it from there without resetting you path

  • Compatible Oracle Database ---for Nw2004 and Nw2004s

    I want to install Nw2004 system and then upgrade teh system to NW2004s for a POC.
    Please let me know the compatible oracle version as database
    Regards
    Balaji

    Hello,
    I recommend you to take a look at the "Product Availability Matrix":
    http://service.ap.com/pam
    It will give you the most current information.
    For example, NW2004s has kernel 700 and it only supports <b>Oracle 10g</b> ( that means that the information from Ben is <u>not totally correct</u> )
    NW2004 supports <b>Oracle 10g and 9i</b>
    Regards
    Fidel

  • Migrating Backend Database for BW and ECC with HANA

    Hi Guys,
    I have been going through the blogs and its fantastic information but i couldnt find anything related to " how to migrate BW or ECC backend database with HANA DB. As per my information the HANA has its own DB which is called "IMDB", so if we have oracle or SQL server at the back end for BW or ECC , how can we migrate to HANA.
    Plus are there any tools that are available for migration.
    Thanks In Advance.
    Sheikh Hassan Ayub

    First, let's be clear:
    1/ Accordingly to announced SAP plans the ramp-up (restricted shipment) of BW-on-HANA installations will start on the 7th of November 2011.
    2/ There are no firm plans for ECC-on-HANA availability yet - so this is out of scope for current discussion.
    "IMDB" is the name from the past. Now HANA's database is called "HANA database" but you will still find references to "SAP In-memory DB" in documentation etc.
    Migration of BW from let's say Oracle to HANA db will be following standard OS/DB migration process - similar to the way you would migrate Oracle DB to DB2: export of the source and then import to the target server. Exactly the same tools.
    Regards,
    -Vitaliy

  • Spreadsheet/Database for video and audio footage in archive mode

    I'm looking for templates that can address my needs.
    I have 2 years of footage related to a project and I'm looking to have it centralised and have metadata attached to it that will allow me to cross reference footage, for example, when someone in an interview talks about losing weight and to be able to pull up clips that relate to that.
    I got a feeling that an Excel spreadsheet is the way...
    Thank you and look forward to hearing back from you.

    Check out the CatDV software for asset management - http://www.squarebox.com/legacy/catdv.html
    Thanks
    Jeff Pulera
    Safe Harbor Computers

Maybe you are looking for