Where should I store objects in my design

Hello guys,
I have a system that needs to store various kinds of information such as users, publications, meetings etc. I have various objects describing that sort of information but I am having a hard time choosing where to store the objects inside the design.
Quick overview of the system: I have a SystemAdmin who registers users. I have a RegisteredUser who makes publications and meetings. I have Publications and Meetings.
Where should I store the objects created by all these classes? Where should I store the "RegisteredUser" or the "Publication"? Should I use a "super" class with a bunch of collection objects or is it a bad design?
I would like to avoid using a DBMS, but if you think it would get messy otherwise, I can give it a go. Thanks

If you want to do this right, you should definitely be starting your design using a DBMS. Once that's done, you can look at EJB 3 or Spring as a persistance layer to your exterprise java app.
In today's world, it is smart to decouple your data, storage, and application layers. The buzz word being DECOUPLE

Similar Messages

  • Where should i store all my pics

    Hi Guys, I am new to apple and am importing 18,000 photos. Where should i store them. I will use Aperture 3 for editing. Should i put all pics in Aperture and use there library or should i store my pics on the Hard Drive and then import to aperture as need be. If i do this, do i need to then export photos after editing back to sub folders on hard drive. ANy thoughts??

    domlis wrote:
    I am new to apple and am importing 18,000 photos. Where should i store them. Should i put all pics in Aperture and use there library or should i store my pics on the Hard Drive and then import to aperture as need be.
    Read up on and use a *Referenced-Masters Library.* Put originals ("Masters") on external hard drive(s) and separately back them up. Then (very important) when you go to import into Aperture select +"store files in their current location"+ on the right hand side of the import window. If you do not select "store files in their current location" Aperture will default to putting the Masters in the +Aperture Library+ (which would then be called a +Managed-Masters Library+ ) instead of just referencing them, and sooner or later your iMac's internal hard drive will become overfilled and you will need to reconfigure to a Referenced-Masters Library.
    Do this a few times with test images to be sure you fully understand the process before you go after the 18k images. Aperture will treat each import batch as a Project so best will be to break your 18k images into individual Projects (e.g. "Mary Jones Wedding" or "20091219," etc.) to import them.
    If i do this, do i need to then export photos after editing back to sub folders on hard drive.
    Unlike Photoshop, Aperture is a non-destructive editor. The Masters themselves are never actually changed. Aperture instead stores your edits in the Aperture Library. You only export when you need edited images for some usage (like delivery of copies of edited images to a client).
    HTH.
    -Allen

  • Where should i store application configurations?

    Hello all,
    i have a little problem. I read a lot of posts in this forum with the same problem, but no anser was satisfiable for me. Where should i store application configurations? For example, where can i store error descriptions (text) for errors with a special id. There is no way to do it in the webconatiner, because the ejb's should log their errors. File I/O operations are forbidden by the specification, so the use of ResourceBundles with propertie files should be forbidden, too, isn't it? Is there another way than storing the error description in a database?
    I hope you can unstand my question and someone have a solution for my problem.
    thanks & regards
    Ren� G.

    You can use an entity bean with your configuration.

  • Where should I store the image file?

    I registered a schema, created a table, then inserted a XML file which contains following lines
    <material>
    <matimage imagtype="image/gif" uri="image2.gif">
    </matimage>
    </material>
    My question is where should I store this image2.gif so it can be displayed when my application retrieve this XML file?
    Thanks,

    In the XML DB repository.. See dbms_xdb.createResource().

  • Where should I store the collatoral files that are associated with photos stored in lightroom?

    Where should I store the collatoral files that are associated with photos stored in lightroom? Items such as pdf files, word documents, etc. How should I connect them to each other so I can find both the photo and the related data?

    Lightroom itself will not help you with pdf, word, etc.
    However, there is a plugin you can use called AnyFile which will allow you to manage these documents in Lightroom (by assigning keywords and other metadata) so that you can search for all documents (photos, pdf, word, music, powerpoint, etc.) with given metadata.
    Because you do this via metadata, it doesn't matter where you put these files. Put them anywhere you want.

  • Was gonna by myself 160gb ipod for christmas...not gonna now...backing up music today... what mp3 players out there are good besides apple and where should i store my music now?

    was gonna by myself 160gb ipod for christmas...not gonna now...backing up music today... what mp3 players out there are good besides apple and where should i store my music now?

    Content acquired with an Apple ID is permanently tied to that ID.
    There is no reason to create a new Apple ID, frankly that will just create more issues.
    It is possible to load content from multiple Apple ID's onto a single device.  If the content is in the computer that the device syncs with, simply select the content and sync it.

  • Where should I store the rendered files?

    (My Color projects are in "Documents")
    Where should I store the rendered files?
    On my external HD with my FCP media? Or on my Hard Disk is fine ?
    Can I calculate that 1 Go of DV NTSC = 1 Go of rendered file in 10 bits?
    Many thanks

    this came up as a topic at a recent FCPUG seminar.
    Since the dawn of time, it is recommended practice to keep your media off the application drive.
    The more disks you have spinning, the better the chance that you will get the data throughput rates that will support the demands of your media. Whether that's a RAID or a JBOD, its up to you how you value your time and assets.
    I keep things as 'external' as possible, mostly because clients are anxious to get the material back, but I'd have to keep moving stuff around just to maintain the space. And I still have to get merciless with all the temporary FCP render stuff.
    jPo

  • Where should I store video files on Mac?

    Where should I file video files on my new Mac?

    Are these projects you've worked on in iPhoto or iMovie? Then they're stored in their libraries by default.
    If they're just videos you've copied to your computer, you can store them in your User folder (little house icon) > make a new folder and name it Videos; or User folder > Documents > new folder Videos. Be aware that those are space hoggers and you need to have an absolute ,ini,u, of 10 - 15 GB of empty space on your hard drive at all times - more is much, much better. So, an external drive with all your videos might be a good solution - you can just drag & drop them there.

  • Where should I store the password to SSL keystore?

    Hi experts.
    I implement JRF-WS client that will be secured using SSL.
    I set the proper Java System properties:
    javax.net.ssl.trustStore=<path to truststore>
    javax.net.ssl.trustStorePassword=<password to truststore>
    How should I store the password for keystore in client application?
    What is the right approach? (right = that fits Oracle security standard)
    And how should I distribute the truststore-truststorepassword pair?
    Thanks.

    Where does the client reside?
    If i understand correctly, its outside the container.
    Yes, outside the container
    If u r looking to store the certificate in the jks keystore and passing the password from JAVA_OPTIONS trustStorePassword, then my friend I am afraid u will have to pass it in clear text.
    Are there any other options to store server certificate on JSE client apart from JavaKeystore?
    Thanks.

  • Where should I store my bash scripts?

    Hi!
    In which directory should I store securely my own bash (and Ruby, Python) scripts? Some of them contain passwords too, for example which uploads files to an FTP server. Is it secure to store them in /usr/local/bin? What chmod setting should I apply on them? 755?

    WonderWoofy wrote:
    karol wrote:
    I think the most often location I came across are
    export PATH="$PATH:/usr/local/bin/"
    or
    export PATH="${PATH}:${HOME}/bin"
    @karol, this will effectively make your PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/local/bin" as the /usr/local directory is already set up to override anything in /usr/bin anyway.
    % grep PATH /etc/profile
    PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
    Good point. I was looking over some old notes when this thread came up and it didn't occur to me check the facts first.
    Typically me ;P

  • Q: where should I store my iPhoto library?

    Hi,
    What is the best place to store the iPhoto library?
    I have the following hardware to choose from in my house:
    Macbook Pro 750 GB
    TimeCapsule 2TB (for now not used with TimeMachine)
    Synology NAS 3TB
    And I also have a "unlimited" storage area hosted by a Norwegian provider of Internet based backup services.
    My current library is approximate 500GB and installed at the Macbook Pro. After some good advise in the support community,it now shares nicely with my wife's Macbook. Problem is that in the not so distant future, the library will fill up all the remaining capacity for storage on my Macbook Pro. Will anyone point me in the direction of how to deal with this? I tried copying the iPhoto library to my TimeCapsule. It did not work - all other "large"files I have tried (13GB) can be copied without problem to the TimeCapsule, but not the iPhoto library, here the transfer repeatedly practically stopped at 500MB++.
    I realize my question might be slightly off-topic to the iPhoto forum, it has I believe a side toward TimeCapsule (but I did not receive a practical feedback in the TimeCapsule forum).
    Also, perhaps the answer to my question is not to use iPhoto at all, but instead use some other Mac application? I have  not invested much in defining metadata, so a conversion to another photo application is not so hard as it perhaps could be otherwise.
    PS: What can I do to delete a i-photo library? I tried to delete the (partial) copy of the iPhoto library on my TimeCapsule, but this did not work. I attempted the delete logged in as the same user as when I attempted the copy, but even so, I suspect that I do not have the necessary permissions. What do you think could be the problem and the solution?
    Best regards

    As TimeCapsule is designed for TimeMachine usage - the disk within the TimeCapsule should be Mac Os Extended (journaled), right? Delvin I have browsed several threads and I have the impression that you advise against using TimeCapsule for any other storage than TimeMachine. Would this apply even if the time capsule were not used for time machine purposes? Why in such case? It is so tempting to try making (other) use of the large disk connected with SATA II to the wireless device.
    I also understand that you advise against updating the iPhoto library via wireless connections (because drop-outs can damage the library). For the sake of good order, these are not citations, just what I think I remember, I am sorry if I have understood and remembered it wrong. 
    The advise then, is it to connect a correctly formatted USB disk to my TimeCapsule and use this for my iPhoto library? Is it really too risky to insert pictures to the library from my macbook pro/the sofa via wireless? It seems awkward to move myself and my macbook pro near an cable to do something as simple as emptying my digital camera.
    Best regards,

  • Where should I store my files?

    I just bought my first Mac, a Mac mini. I also have two pc's that I use less and less. I have been storing all of my videos, mp3's, etc.  on a 1 tb NAS (dns-321). I was hoping to maintain that system, but it seems from my reading that some Mac programs, (iTunes, iPhoto) almost require the files to be on the Mac mini to work well. It seems I can't point iPhoto to look to my NAS for all of my photos.  Is that generally true? I am having difficulties figuring out what where to store my files and then back them up properly. Plug the nas into the mini and then buy a time capsule to back up both? Put a 1tb extra drive in the mini, move all of my files to that and somehow use the nas as a backup device? Ugh! Thanks!

    I'm not familiar with iPhoto so I can't help there.
    But iTunes libraries don't have to reside on an internal
    drive.  I personally have all my iTunes library along
    with my other multimedia material residing on a 2 TB USB
    drive attached to an Airport Extreme Base Station (Apples
    wireless router).  I also have a second 2 TB drive attached
    to it as well for backup.
    Now I do know that some NAS drives can be problematic.
    You can post in the iTunes forum for more direct help on that.
    You may also post in the iPhoto forum as well.

  • Where should i store the PDF booklet with an album in itunes?

    I ripped a CD with iTunes and would like to store the booklet as a PDF with it.
    I know how to assign the cover art as JPG to the tracks / album, but I cannot find a way to store the PDF booklet with it.
    (I guess, I could store a number of JPG's with the album, one JPG per page of the booklet, but that seems not to be the right way to me.)
    Nay kind of insights and/or suggestions will be appreciated.
    Best regards,
    Gabriel.

    Lightroom itself will not help you with pdf, word, etc.
    However, there is a plugin you can use called AnyFile which will allow you to manage these documents in Lightroom (by assigning keywords and other metadata) so that you can search for all documents (photos, pdf, word, music, powerpoint, etc.) with given metadata.
    Because you do this via metadata, it doesn't matter where you put these files. Put them anywhere you want.

  • Where should I store my personal video's?

    Good afternoon,
    I have recently invested in a MacBook Pro Retina display and I am immensely pleased with the display. I have enjoyed categorising my pictures in iPhoto but want to know what is the best programme for storing my personal videos?
    Thanks in advance,
    Sean

    there is no "images" folder in that location, should i create it?
    Yes. There isn't one there because you haven't used any custom icons.
    i know the stuff in the root is sytem settings but im never sure
    where to look for stuff, there seems to be no pattern and some
    things seem to be duplicated. cubase only used to look at plugins
    ones in the root. why are plugins classed as system settings it
    doesnt make sense? there wil only ever be one user of my
    machine, me, it would be simpler for my tiny mind if everything
    was in one place.
    It's quite simple. If you want plugins to be available for all users, put them in the system location. if you want different sets of plugins for different users, then use the user locations.
    If you are only the single user on your machine, then it doesn't really matter where there go. If you want to keep them tidy then move them into one or other loaction and always use that from now on.

  • Where should I store my cds?

    I want to put quite a few cds on my ipod. However, being concered with disc space and clogging it up on my computer I was told to get an external hard drive. Then someone told me that it would be very very slow to save the cds to the external drive and then move them to the ipod. Would it be better to just start with saving them to my computer and Itunes then moving them to an external drive when it gets full? Or would it be better to start by saving them to the external drive? I don't know how to proceed.
    Thanks so much.
    Leah

    I'm no expert, but I would say, put them on iTunes first. I don't know how many cds you have, but I put at least 15 on mine and I still have plenty of space. You also don't have to put whole cds on if you don't like all the songs.
    When the cd first comes up all of the songs will be listed and will have a blue box with a check mark. Any songs that you don't want, just click the box and they will uncheck. They won't be downloaded.
    Also, if you want them on your iPod, but not the computer, you can delete them after you put them on the iPod. I haven't done it, though, so I can't offer results.
    Hope this helps!
    Gateway   Windows XP  

Maybe you are looking for