Need advice in designing an External library DC

Hello,
We've got about 10 jar files that we use in our developments that needs to be exposed via External library DC.
Each DC that we develop uses a different combination of these jar files.
I am wondering whether to create a seperate public part for each jar or create just one public part and add each jar to it as an entity.
I would be happy to hear your opinion and pros/cons for each method.
Roy

Hi Roy
I think we need to look at what you mean by 'efficiency' with this requirement first. I suppose you need to decrease the size of the classpath at three distinct points: compilation in the IDE, build time in the NWDI, and runtime on the application server.
At compile time (in your NWDS), having a single external library DC with multiple public parts will cut down on the classpath with which NWDS has to work in your referencing project - only the classes within the public parts of your external library DC will be accessible. (And God knows it's not the most efficient little IDE, so it needs all the help it can get.)
Having said that, if your external library DC contains code (which it can), you'll probably need to be rebuilding it fairly frequently, even if you don't change anything. In this case, you need to take into account the size of the external library DC itself - so splitting your libraries into separate DCs and setting up the graph of dependencies would be preferable.
However, in this instance, you need to remember that the NWDS (or, more correctly, the Web DynPro tools) is essentially broken with respect to its resolution of dependencies. You're constantly having to rebuild things in a certain order to get it to recognise your libraries, open and close the IDE in order for things to compile correctly, and so on. Creating a large dependency graph will likely only exacerbate this problem.
With respect to builds by the NWDI, before the assembly step, your classpath should be the same as at compile-time in the NWDS. When the assembly occurs, however, everything in your track is built - so it doesn't really matter where you put things. Everything is also going to be deployed to TEST and PROD anyway (which is what Snehal was alluding to).
Although I'm not certain of this, I assume that the situation at runtime is the same as at compiletime. I don't know if SAP has released in-depth information about the class-loading strategies employed by the Web DynPro runtime with respect to public parts, but I'd expect that the runtime and compile time classpaths would be consistent. (The class-loading strategies employed by the Web Application Server more generally would also suggest that this were the case.)
Obviously, the more complex you make your dependency structure (the more independent public parts you have, and even moreso, the more separate library DCs you have), the more complex you'll make the process whereby other developers will declare dependencies upon your DC, as they'll have to reference multiple public parts and DCs. However, using more conventional referencing methods, they would need to determine which JAR files they needed anyway.
Consequently, in the greater scheme of things, one questions how much real efficiency there is to be gained here. The more granular your dependencies, the more efficient your design will be. But this complicates things in practice in the NWDS, and whether it is worth the extra effort depends on how large your libraries are, and how many of them you have - i.e., how much you have to gain by optimising.

Similar Messages

  • Need advice on purchasing an external hard drive for video editing

    Hi,
    I looking for advice on which external hard drive to get. The main purpose for the hard drive will be storing video files on for use with Final Cut Pro. I have the 12 inch powerbook G4 so I plan to use the FireWire (400) port to connect the drive. I'm interested in getting comment from others who use their external hard drives for video editing.
    Thanks!

    Firstly your decision to use FireWire is a good one, as not only will it free up the USB it performs much better on sustained transfers.
    That said you're still limited by the FireWire interface, so opt for a drive with a big cache (16MB would be good) and fast spindle speed (7200rpm+).
    Some of the newer enclosures are compatible with SATA drives. While these are easier to install and theoretically will perform better, I'm not sure that the performance would justify the extra cost.
    Matt

  • Need advice about design approach for query editing tool with JSF

    Hi !
    I would like to propose in my application a way to allow end-user to create queries that could be executed on a some tables. I suppose that this kind of stuff is not new and would like to know if someone has to good design practice or example to do this with the JSF technology ?
    I think that two approaches is possible:
    1/ the user specifies the complete query from the start and get the final result when query is executed in the background
    2/ user specifies the query in a interactive way. It specifies one criteria and get the results of it, then on the results specifies another criteria and get new results, then specifies another criteria and so on.
    Also for information I use Hibernate as database framework.
    Some advice or start of approach will be very appreciated.
    Thanks !
    B.D.

    No-one could advice on this ?

  • Need advice on design & photography software

    I need to create table tents and product photo cards for a liquor brand marketing promotion. What application or software would be best for designing these?

    texacali wrote:
    I need to create table tents and product photo cards for a liquor brand marketing promotion. What application or software would be best for designing these?
    The best is whatever works for you.
    I'd do it in InDesign, but that's because I have it and know how to use it. It's expensive and not the easiest thing to learn. A real pro would perhaps suggest MultiAd Creator, but that's even tougher to master. If you have MS Office, you could do it in Powerpoint or even Word. If you have iWork, you could do it in Pages or Keynote. (Depending on what exactly should be on the cards, you could even do it with TextEdit and Preview.)
    There are alternatives, such as Swift Publisher from BeLight and iCalamus; or even Scribus, which is open-source. If you're not very experienced and you don't have Office or iWork, then I suggest trying Swift Publisher.

  • Need advice for a solid external harddrive system

    Background:
    I am a professional photographer and my data is well, my livelihood! So you would think I have an effective backup solution in place.Unfortunately, not so. The choices are overwhelming and I have not been able to decide what to buy.
    Currently I have an iMac G5, 2.16GHz, 1G memory (2 512K) that i need to upgrade to 3G. I have about 230G hardrive.
    Currently my iMac is running 10.4.8.I plan on doing a clean install of 10.5 once I have a backup of everything on my harddrive.
    I need an external harddrive. I want to have a backup of a backup so I think I should be getting a RAID 1 system. Is this correct? I would like 1TB (2 mirrored 500G if I understand correctly). My budget is about $600 or so.
    Please can you suggest a good harddrive for me? The Mybook from WD seems to fit the bill but I see it does not work with OS 10.4 . I did not see any OWC with a mirrored solution (RAID1?). I am so confused! Please help!!!
    Thanks!

    Take a look at what's available from macsales.com, their stuff is reliable, and they will have RAIDs to fit your requirements. Look at [this one|http://eshop.macsales.com/shop/firewire/usb/raid_1/Gmax] for instance.
    Hope this helps,

  • Need advice in regards to external class scripting!!

    Hello all,
    For my Flash class, my professor is making us create a four room "adventure game" created entirely in an external class with ActionScript.
    I know how to get things set up, but does anyone have any references or website suggestions that would help me create the mechanics for a multi-room adventure game?
    Much obliged,
    Jerry

    create a document class that instantiates each of the 4 room classes.

  • Need advice on purchasing an external hard drive

    Greetings, oh wise Apple users. It has been suggested that I purchase an external hard drive to store my iDVD projects on. Can anyone give me a checklist of what to look for? My Mac is a G4 flat panel with 800 MHz and 512 MB. I'm currently using OS X (10.2.8) but am upgrading to 10.4 soon. Many thanks in advance for your help.

    Firewire and an 'Oxford' chipset are a must for Macs with USB1.1 like yours. Here's some examples:http://eshop.macsales.com/shop/firewire/
    Personally I'd go for one with a built in USB and Firewire hub as I'm always running out of ports (like the mini stack V2).
    If you think an new Intel iMac or MacBook Pro could feature in your computer line up in the next year so, go for one with FW800.
    mrtotes

  • I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?

    I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?
    Is there like in a hard drive of which iTunes can read the media, which will not require me to add and delete media onto iTunes, because of a lack of space on my laptop?

    just get an ext HD, and point your itunes library to that drive so now you'll just keep all your media on this ext

  • My MacBook Pro hard drive is almost full and I wish to store my Aperture Library on an external drive, how do I do this and is the use of USB2 suitable or do I need to use a Firewire external hard drive?

    My MacBook Pro hard drive is almost full and I wish to store my Aperture Library on an external drive, how do I do this and is the use of USB2 suitable or do I need to use a Firewire external hard drive?

    You'll get better performance if you use a Firewire hard drive (especially if you buy a 7200 RPM drive). Firewire's IO speed is significantly faster than USB 2.  USB 2 has a theoretical max speed of 480 Mbps except that it has extremely high over-head.   The fastest speeds you can typically get are about 300 Mbps.   Firewire, on the other hand, has very little overhead.  The fastest speeds you can get are very nearly 800 Mbps.  You will typically be constrained by the maximum read/write speed of the drive, not the speed of the I/O on the Firewire bus.  Now if you had one of those nice shiny new Macs with the Thunderbolt I/O and a Thunderbolt drive (Light Peak) ... I think they alter space and time so that your data arrives before you know you want it. 
    Also... unless you want to buy a solid state drive (very expensive), try to keep your hard drives from becoming much more than about 60% full if you want great performance.  A nearly "full" hard drive is, on average, only about half as fast as the same hard drive when nearly empty.
    USB 2 will work perfectly fine... just not as fast.
    Also... it's much safer to move the entire Aperture library than to "relocate masters".  Your images must be managed.  You can Aperture manage them, or you can manage them.  But someone has to manage them.  If you "relocate" them so that they are no longer stored inside the Aperture library then you'll need to work out a system of how you decide to organize things and it's critically important that you don't start moving files around or deleting things without Aperture's knowledge.  If you do, you'll break the links to your masters and start having problems with missing masters.  If you have Aperture manage the library then you don't need to worry about any of that stuff.... it's safer.
    Do make backups (use the Aperture Vault or use some other backup program, but make sure you back up your work if you care about it.)  There are only two kinds of hard drives in the world:  (1) those that have failed and (2) those that are going to fail.  There are no exceptions to this rule.  Hard drives are cheap.  Backup software is built into Aperture and into your Mac.

  • I need to move the iTunes library to an External Hard Drive to free up space on iMac.  Need suggestions on type of External Hard Drive to use.  A Multimedia Hard Drive like LaCie LaCinema Classic HD Multimedia Hard Drive OR a Large Desktop Hard Drive?

    I need to move an iTunes library to an External Hard Drive to free up space on iMac.  I Need suggestions on type of External Hard Drive to use.  Should you use a Multimedia Hard Drive like LaCie LaCinema Classic HD Multimedia Hard Drive OR a standard Large Desktop Hard Drive like Western Digital/Seagate/LaCie?

    There is no benefit to the multi-media feature on the first drive you mentioned. If you are going to look at differences between certain drives, I'd look at the differences in reliability first.

  • I need to shrink down my iPhoto Library

    I need to shrink down my iPhoto Library -
    I'm currently working with iPhoto 09' on my supervisor's iMac running Mac OS X 10.6.8 (Snow Leopard). He's in desparate attempt to try and free space on his hard drive. Through Finder iPhoto reads over 340+ GB in size, but through iPhoto itself it reads half that at around 125+ GB since I had last checked. I've been researching online forums and I'm aware of 'show package contents' and how iPhoto will double up due to modified images, etc. Also, through every forum people have explained to not alter the structure of iPhoto as more than likely it will corrupt my library and make it non-useable.
    To add more details of my situation, I've been using GoodSync to sync his iPhoto library to an external hard drive periodically which for the most part has been working. The last sync I had conducted was actually taking additional hard drive space which I had to stop it from continuing. Contacting GoodSync support confirmed with me that this recent job was a two way sync, in which even though I had originally had set up one way alas it is a two way sync so I assume GoodSync has added iPhoto. I checked their suggestions and nothing panned out, so now I have this huge collection that I need to become more manageable again. Before this recent incident I freed up 140 GB of space on his HDD but was taken up by GoodSync. I'm trying to free this space up once again.
    I looked into applications such as Duplicate Annihilator which didn't do much but about 800MB of space which I got rid of. I've read about rebuidling the library, defragmenting the library, possible hidden photos or files that are taking space but l guess I'm looking for a more clearer path on what to do.
    Any advice would greatly be appreciated.
    AM -

    1 - It is absolutely critical that you never make any changes to the structure or content of the iPhoto library - it is a SQLite database and any changes will create problems
    2 - I have no idea what Good Sync is or how it works  --  However note that the iPhoto library must always be on a volume formatted Mac OS extended (journaled) so if you are "syncing" it to a volume with a different format you probably have a problem library on that volume
    3 - I have no idea how their two way syncing workd but in general that will destroy your library since it will make changes to the content and/or the structure of the library and the SQLite database will not have any idea what has been done
    4 - you can not "slim down" the iPhoto library except possibly showing package contents and removing the iPhone catche - it can get large and can be safely removed
    5 - the solution is to the the iPhoto library off the computer to a preperly formatted external drive -
    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • Need help moving masters to external drive

    Drag images from internal drive to external...
    Relocate Masters...
    Locate Referenced Files......
    I realize these options are available, but I'm wondering which way to do this. Out of 160 GB of images about 1/2 of them are imported into Aperture while the remaining 1/2 are on the Mac but not in Aperture. All images are on my internal drive and I use Aperture as referenced masters, not managed. I need to make space on my internal drive and need to move all images (those already imported and those not yet imported) to an external. Given my current set up (1/2 imported 1/2 not), which option is best for a clean move to the external w/o messing up Aperture?
    Thank you,
    Jerry

    Jerry -- sorry, this thread slipped by.  I haven't had the time recently to be attentive.
    jbshanks wrote:
    So, I still need a little help with this. If I have this folder structure on my internal drive and 1/2 of those images are imported into Aperture (but referenced), and I use the "Relocate" feature, how will they be moved? Will it take the folders to the external or just the images, leaving the folders on the internal drive?
    I'm afraid to experiment in case it messes things up. Any help is greatly appreciated.
    1.  Don't be afraid to experiment -- set up a practice Library and use it to experiment.  That's how all of us learned what we know.
    2.  Your situation is a little peculiar, and I'm going to recommend something I wouldn't otherwise.  First, backup your system and confirm your backup.  Then go ahead and use Finder to copy all the Finder folders and files in question, intact, to a new drive.  Then delete the ones on your system drive.  Then open Aperture and run "File➞Locate Referenced Files" to re-attach your Aperture Images to your moved files.  You may have to run "File➞Locate Referenced Files" more than once (but most likely not) in order to end up with no Images that have missing Originals.  (If you need to, search for posts on the board about using this command.)
    At that point, you have done what you set out to do: move all of your photo files to an external drive while retaining the connection between those that are Aperture Originals and their corresponding Images in Aperture.
    But you haven't addressed the very good point brought up by bjurasz, which is that you are going out of your way to maintain competing databases.  Aperture is a database of your Images.  It has _outstanding_ storage and retrieval capabilities.  Finder is a database of your files.  It doesn't do a tenth the job Aperture does.  Finder is a file manager.  Aperture is an image manager (that does good file management).  Aperture has _terrific_ tools for helping you instantly retrieve _any_ subset of your Images (e.g.: family, spouse, dog, students from 2010, science students from 2010, vacation photos, vacation photos w. spouse, etc.).  The key to this is simply tagging your Images (e.g.: grayscale 2010 vacation photos w. spouse and dog) so that you can retrieve them as needed.  Importantly, you are not confined to a flat folder structure and whatever information you can stuff into the file name, as you are with Finder.  (Yes, more or less -- Finder is actually much more sophisticated than many realize or use.)
    I suggest moving more fully into Aperture, learning what tags are available and deciding how to use them, designing an Aperture Library structure that meets your needs, and transitioning your Finder collection of photo files to an Aperture database of Images.
    Ask more questions -- might be best to start new threads as they come up.

  • Really need advice/help please

    I am importing VHS movies and I need advice on procedures, I am really stuck so any advice given will be very helpful.
    I have my VCR connected to a ADVC300 analog to digital convertor, which is hooked up to my macbook.
    I am using iMovie 08, but have the previous one installed iMovie HD 6.
    I have no problem importing the footage... it comes in as a DV file (which I believe I need in order to edit footage later on).
    My problem is:
    1) The size of the DV is HUGE. Is this the format that I need to edit to later put on DVD by converting to mp4?
    2) I am a total novice, so is iMovie the best for doing the import? I have Final Cut Express, but I am not sure how to use it.
    3) I also have QT Pro, but after I am done doing an import and transfer the DV file to my back up drive... I cant seem to get the import to pull up in iMovie again. Do you have to do the editing right away after the import or you loose the ability in iMovie?
    4) My HD space on my computer is almost full and I thought that I deleted the DV file off my computer after transfering it to a backup drive. I went into Movies, and iMovies and deleted it... but it must be stored somewhere else, because I have like 60 GB used still?
    Thank you SO MUCH!!!!

    1) The size of the DV is HUGE. Is this the format that I need to edit to later put on DVD by >converting to mp4?
    Yes, DV is huge. You really need an external drive. The hugeness of DV is not an issue for iDVD. iDVD will convert the DV or MP4 into MPEG2 for encoding on the DVD. If you get iMovie 09, you can send DV to iDVD. In iMovie 08, you share as an h.264 file and that goes to iDVD. In my experience, not much difference.
    2) I am a total novice, so is iMovie the best for doing the import? I have Final Cut Express, but I am >not sure how to use it.
    Yes, iMovie 08/9 is the best. You can easily edit in iMovie 08. However if you later want to edit in FCE, you can access these files from FCE. If you import into FCE, iMovie can't see them.
    3) I also have QT Pro, but after I am done doing an import and transfer the DV file to my back up >drive... I cant seem to get the import to pull up in iMovie again. Do you have to do the editing right >away after the import or you loose the ability in iMovie?
    In iMovie, click VIEW/EVENTS BY VOLUME. You should see your external drive in the Event Library list. You can drag your file from your internal drive to the external drive by dragging and dropping the icon for your event onto the icon for the external drive. If you do it this way, iMovie will still see it.
    4) My HD space on my computer is almost full and I thought that I deleted the DV file off my >computer after transfering it to a backup drive. I went into Movies, and iMovies and deleted it... but >it must be stored somewhere else, because I have like 60 GB used still?
    It might be in your trash. Try emptying your trash.

  • My external library 100 GB on a 2TB drive is taking a long time to open.

    Hey there,
    I recently moved my library to an external drive.  When I tried to load the external drive, it said it needed to repair and I let it happen overnight because it was taking a long time.
    Now it seems to just freeze when I try to load the external library.  Can someone let me know if there is something I can do to make this process speed up?  Should I move some of my projects to another library and keep it off-line?
    Thanks,
    Austin

    Could it possibly be due to videos stored in the aperture library?  I think one of the folders has multiple GB of video...  Just a thought.
    If Aperture is freezing on opening, this can be caused by corrupted or incompatible media, but it would not explain the original error message your reported - "permissions".
    When the repair finishes, try to launch Aperture with the Shift-key held down. This will defer the generation of previews. If media cannot beprocessed, Aperture will hang, when it tries to generate the previews for those images or videos. If you can get Aperture to launch after deferring the preview generation, you could open the Activity window (Window > Show Activity) and then selectively try to generate previews for your last imported images and videos  (Photos > update preview). The Activity window will show, what is currently processed, and perhaps you can spot, which of the files is causing the hang.

  • I have just upgraded my laptop from vista to windows 7, I have all my music on an external as the library is to large for hard disk. I have downloaded Itunes 11 but cannot  fathom a way of getting my new itunes to connect with my external library.

    Question:  I have upgraded my windows vista to windows 7, I have all of my itunes music stored onto an external due to the size of content, so in vista all of my music in itunes had a path to F (external library). But now I have upgrade to windows 7, I cannot get itunes to recognise my library from my external. I have tried to connect external and open itunes with shift key down with both suggestions but to no avail. please help, all I want is to keep my library on external not on hard drive. I have also gone to preferences/advanced and made sure the external drive is chosen. This seems so complicated and I thought it would have been easy...

    At a guess you followed the process in HT1364 - iTunes for Windows: Moving your iTunes Media folder which would have moved the media folder to a new path of your choice. This process leaves the library database files back in the original location of <User's Music>\iTunes. Often people assume that all they need is now on the external drive and wipe the internal drive, or discard their old computer, before backing up the all important iTunes folder. If you have a backup of your user's profile folder from before the upgrade the iTunes library folder should be in there somewhere. Restore it to <User's Music> and your original library should pop back into existence. The external drive would need to have the same drive letter that it had previously.
    A more effective way to relocate the library is to move the entire iTunes folder to the external drive, then hold down shift when starting iTunes and keep holding until asked to choose or create a library. You would then choose the file iTunes Library.itl in the iTunes folder on the external drive. If this is the way you moved the library before then that is how you should now reconnect to it. Changing the media folder in preferences doesn't change which .itl database file is opened, nor does double-clicking on an .itl file directly.
    If you no longer have the original .itl file then you will have to build a new library and import the media to it. If you need to do this I would recommend you create a new library at F:\iTunes, then move your existing media folders inside F:\iTunes\iTunes Media before importing. This will avoid the creation of duplicates and make sure the library is in the correct shape going forwards.
    If you have an iPod or iOS device my scripts ImportDevicePlaylists and SyncStats may well let you recover ratings, play counts & playlists from the device.
    When you've fixed up your libray you should consider getting a second external drive to backup to.
    tt2

Maybe you are looking for

  • An error with the 7.7 ODBC on the Linux

    Dear Gentlmen, I have some problems with a new version (7.7.06.09) of the MaxDB database. My application is a web application on the ExtJSApachePHPZendFrameWorkMaxDB platform. The MaxDB and other parts are installed on the  Fedora Core Linux  server.

  • Using an iMac in a Motorcaravan/RV

    I'm currently working on a self built recreational vehicle (Motorcaravan) and am seriously considering using a 20" iMac as an entertainment center while on the road. I have a few (quite technical) questions that I haven't been able to find any answer

  • IPod classic  staying locked

    Hi I have a strange problem with my iPod classic 120 GB from few days. It gets locked(or on hold you can say) on its own. Initially if it happened.I used toggle the hold button (turn on hold and turn off) and it used to work fine. Now even that doesn

  • If i was to buy a mac bookpro today, would it have OS X Lion on it?

    If i was to buy a mac bookpro today, would it have OS X Lion on it? Thanks for the help =)

  • Problem Install After Effects CC on OS X Mavericks 10.9

    I get an error try to update after effect CC manually on OS X Mavericks . According to this page: http://helpx.adobe.com/after-effects/kb/effects-launch-mac-os-109.html I have to download and instal an update manually. But when I try to install the p