Some subclassing array creation question

i)     Declare a class Customer which contains name, id , payment, and status. [5m]     
ii)     Create a class called Shop that contains a one dimensional arrays� reference of type Customer Mall which      stores up to 45 Customer information.     [2m]
Above are the question. I just want to know should the Shop class extends the Customer class or is it unecessary.

I dont think you should use the extends keyword.
Ask yourself which of these statements makes sense:
A Customer is-a Shop.. (I dont think so)
A Shop is-a Customer.. (That doesn't make sense either)
A Shop has-a Customer... (now that sounds right)
Given that I would have a instance variable of type Customer[] within the Shop class.
Use composition instead of inheritance.
I hope this helps..
J

Similar Messages

  • Site does not load after some minutes of creation or after restart the server

    Hello,
    I have been asked to create a test enviroment identical to the production enviroment. So, what I did was:
    Backed up the production web application's content database: Prod_WSS_ContentDB
    Created new test servers (domain controller, sql server and sharepoint 2013 server) in a new, completely isolated, network environment, without any connection with the production environment (specifically Azure)
    Created a new web application in test environment with a new content database.
    Dismounted the new content database with powershell: Dismount-spcontentdatabase Test_WSS_Content
    Copy the Prod_WSS_ContentDB database to the test sql server and restored it with Management Studio.
    Mount the Prod_WSS_ContentDB databe to the web application with powershell:
    Mount-spcontentdatabse Prod_WSS_ContentDB -WebApplication http://testsp/
    Then, when I type http://testsp in the browser it redirects me to http://testsp/SitePages/Home.aspx
    and the site loads exactly as the production environment.
    But, after some minutes, or if I restart the Sharepoint Server, when I navigate to
    http://sitesp I am redirected to http://testsp/SitePages/Home.aspx
    as expected, but the site does not load, the browser just show a complety blank page.
    The Central Administration site loads normally.
    Trying to fix it I found that if I dismount the content database Prod_WSS_ContentDB, then mount the test database Test_WSS_Content,
    then navigate to the site, dismount Test_WSS_Content and finally mount again Prod_WSS_ContentDB, the site loads normally, no blank page, but after some minutes or if I restart the same happens again.
    For the error event I receice in event viewer it seems that the problem is related to database. I have not found a solution for this error... How can I solve  this?
    The error is:
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          6/27/2014 2:44:22 PM
    Event ID:      5586
    Task Category: Database
    Level:         Error
    Keywords:      
    User:          UCETEST\spaccount
    Computer:      TESTSP01.ucetest.edu.do
    Description:
    Unknown SQL Exception -2146893055 occurred. Additional error information from SQL Server is included below.
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>5586</EventID>
        <Version>15</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-27T14:44:22.743159500Z" />
        <EventRecordID>4742</EventRecordID>
        <Correlation />
        <Execution ProcessID="1688" ThreadID="1692" />
        <Channel>Application</Channel>
        <Computer>TESTSP01.ucetest.edu.do</Computer>
        <Security UserID="S-1-5-21-2552298216-324766354-3392103171-1108" />
      </System>
      <EventData>
        <Data Name="int0">-2146893055</Data>
        <Data Name="string1">A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The handle specified is invalid)</Data>
      </EventData>
    </Event>
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

    Hi,
    According to your post, my understanding is that Site does not load after some minutes of creation or after restart the server.
    Please make sure you create a test environment for existing production site correctly.
    Here are some great articles for your reference:
    Moving content between SharePoint environments
    Copy SharePoint production data to a test environment
    Build a SharePoint 2010 Test/Development Farm
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support
    Hello Linda Li,
    I follwed that steps to create my test enviroment... and I have recreated it some times using that same steps, but the problem persits. After some minutes or after I restart the SharePoint server the site does not load.
    Melvintt
    MCTS, Windows Server 2008 R2: Network Infrastructure
    MCTS, Windows Server 2008 R2: Active Directory, Configuring

  • HT201272 I have recently picked up an Apple TV. When I go to the movies tab, there are less movies available there than there are in my i-Tunes account. I've done some looking around at questions from others, but haven't found an answer that works for me.

    I have recently picked up an Apple TV. When I go to the movies tab, there less movies available there than what is available in my i-Tunes library. I have 38 movies showing in my library but only 23 are showing in the Movies tab on the Apple TV. After researching this a little, there are only 23 movies showing under Purchased in the Quicklinks of my i-Tunes account. The majority of my collection are digital copy downloads that came from DVD purchases. Some of the missing movies were added in the past couple of months, the rest are a year-or-so old. I have done some looking around at questions from others, but I have not found an answer that will fix my situation. How do I update my library to get ALL of my movies to reflect that they were "Purchased"(as it says they were in their Properties)?

    Biggles Lamb wrote:
    Chill out guys, getting personal will never ever change another persons view, right or wrong, they are entitled to them .
    The pros and cons of to CC or not to CC have been done to death
    Its a fact the CC model will work for some, especially newbies and small businesses.
    The risks associated with the CC model have been well documented.
    For long term users of CS perpetuals its generally a large hike up in cost compared to the upgrade system.
    Then there are the....... Adobe can rot it hell...... group who will never subscribe
    To each their own, you do the math to suit your cashflow whatever that is and then make an informed decision
    To those on the CC model, I'd like to offer some practical advice.........do not allow automatic updates.........make regular backups............develop an exit strategy of alternatives for when you can no longer afford the subscription costs............never ever assume that the Adobe update is bug free
    Enjoy your cloud
    Col
    Thank you for that post, and the advice. I just happen to be one of those who it does work for. I've been around long enough to know that CC isn't going to work for everyone(the large publishing/radio/web company I work for isn't upgrading to CC because of the costs involved). But it does for me as I potentially venture out into the full-time freelancing world and away from the more structured big office environment. I can't make decisions based on what is best for anyone else, or what will hurt or help Adobe. Just what affects me, and that's all.
    Brent

  • Macbook pro starts up but i see picture of some files and a question mark

    So I was on my laptop today and it just outta nowhere froze , the song i was listening stopped and i couldn't change the page, i could move the trackpad but nothing else.
    so i clicked on the off button and turned it off.
    then i tried to turn it on again but while loading it just stayed blank and this picture of some files and a question mark on them appeared, i have no idea what's going on.
    I turned it off again and turned it back on and the little apple appeared and it was loading but then a sign appeared like one of prohibited (the one that's a circle and has a slash across it) and idk what to do! i'm so frustrated all my school files are there and idk why this happened in the first place.
    i turned it off and just put it to charge.
    lately i've been using it a lot and i had a few things on when it froze , so im just gonna leave it off for a while but what can i do?
    how do u solve this? has anyone had this happened to their macbook pro already? i bought it just last year idk why this is happening.

    The folder and question mark means it cannot find a valid OSX Boot Volume, you need to Boot from your original install DVD (hold c at start) and then run Disc Utility from the top menu bar and run both 'Repair Disc' and 'Repair Permissions'. If it still doesn't boot from the internal hard drive then you need to boot from that install DVD again and do an archive (re)install of the operating system. (Your User data will be saved that way)

  • Why do some graphics only have question marks on my iPad?

    Why do some graphics only have question marks on my iPad?

    On web pages and in the ap store.  In place of the graphic there's a little box with a question mark in it.
    I can't even connect to a web page right now.  I've got three bars on the wifi icon but safari just keeps trying until it says it can't connect to the server.  Same with the ap store, I've been trying all afternoon to download a new ap with no success.  It came right through on my iphone on the same wifi network.  Had the same problem on my home network.   I'm new to apple and I've only had the iphone and the ipad for a little over a week, but all this seems to have started after the most recent software update.
    Is this all related?

  • Automatic array creation

    Hi,
    I am trying to build an array automatically by use of boolean array. I use for loop in the VI but when the boolean array false it assigned "0" into the array. I do not want to assign "0", instead of, I want to pass this step and assign when the boolean array element true. How could I do it?
    Egemen
    Solved!
    Go to Solution.
    Attachments:
    automatic array creation.vi ‏9 KB
    array assign.png ‏26 KB

    Use the Build Array in the TRUE case!
    Also, create an array constant and wire that into the shift register in order to initialize it.
    If you are this lost, you really should go through the LabVIEW 101 tutorials.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Conditional Build Array.png ‏15 KB

  • My generic array creation problem.

    I'm getting a "generic array creation" error on lines 6 and 14. I've googled it and I'm still having a hard time. Most things I find on it are pretty complicated and as you can see mine's not, I'm in a beginners course. I'm basically writing a class with methods for dealing with a file of donors.
    Here's my code:
    public class DonorList <dlist>
        //Create empty list
        public DonorList()
            storage = new dlist [MAX];
            count = 0;
        //Capacity as specified
        public DonorList (int cap)
            MAX = cap;
            storage = new dlist [MAX];
            count = 0;
        public boolean isEmpty()
            return count == 0;
        public void clear()
            count = 0;
        //Returns number of elements
        public int size()
            return count;
        //Item at position k, position starts at zero
        public dlist get (int k)
            if (k >= 0 && k < count)
                return storage [k];
            return null;
        // e becomes item at position k
        public dlist set (int k, dlist e)
            dlist old = null;
            if (k > 0 && k < count)
                    old = storage [k];
                    storage [k] = e;
            return false;
        //Returns the position of e or -1 if not found.
        public int indexOf (dlist e)
            int k;
            for (k = 0; k < count; k++)
                if (e.equals(storage[k]))
                    return k;
            return -1;
        //Appends e at the end of the list. Returns false on failure.
        public boolean append (dlist e)
            if (count < MAX)
                storage [count] = e;
                count ++;
                return true;
            return false;
        //Adds e at position k. Returns false on failure.
        public boolean add (int k, dlist e)
            int j;
            if (count == MAX || k < 0 || k > count)
                return false;
            for ( j = count; j > k; j--)
                    storage [j] = storage [j-1];
                    storage [k] = e;
                    count ++;
                    return true;
            return false;
        private int MAX = 100;
        private dlist [] storage;
        private int count;
    }Any help as to why I am getting these errors is very much appreciated. Thanks.

    You cannot create an array of a generic, instead you need to create an array of the class the generic extends (in this case Object)
    You then have to cast the array to the generic type which will give you an unchecked warning which you can turn off with @SuppressWarning("unchecked") on the class.
    Generics and arrays don't always play nicely together and this is one case. ;-)

  • Copying arrays, performance questions

    Hello there
    The JDK offers several ways to copy arrays so I ran some experiments to try and find out which would be the fastest.
    I was measuring the time it takes to copy large arrays of integers. I wrote a program that allocates arrays of various sizes, and copy them several times using different methods. Then I measured the time each method took using the NetBeans profiler and calculated the frequencies.
    Here are the results I obtained (click for full size):  http://i.share.pho.to/dc40172a_l.png
    (what I call in-place copy is just iterating through the array with a for loop and copying the values one by one)
    I generated a graph from those values:  http://i.share.pho.to/049e0f73_l.png
    A zoom on the interesting part: http://i.share.pho.to/a9e9a6a4_l.png
    According to these results, clone() becomes faster at some point (not sure why). I've re-ran these experiments a few times and it seems to always happen somewhere between 725 and 750.
    Now here are my questions:
    - Is what I did a valid and reliable way to test performances, or are my results completely irrelevant? And if it's not, what would be a smarter way to do this?
    - Will clone be faster than arraycopy past 750 items on any PC or will these results be influences by other factors?
    - Is there a way to write a method that would copy the array with optimal performances using clone and arraycopy, such that the cost of using it would be insignificant compared to systematically using one method over the other?
    - Any idea why clone() can become faster for bigger arrays? I know arraycopy is a native method, I didn't try to look into what it does exactly but I can't imagine it's doing anything more complicating than copying elements from one location in the memory to another... How can another method be faster than that?
    (just reminding I'm copying primitives, not objects)
    Thanks!
    Message was edited by: xStardust! Added links, mr forum decided to take away my images

    yeh, everyone thinks that at some point. it relies,
    however, on you being perfect and knowing everything
    in advance, which you aren't, and don't (no offence,
    the same applies to all of us!). time and time again,
    people do this up-front and discover that what they
    thought would be a bottleneck, isn't. plus,
    the JVM is much smarter at optimizing code than you
    think: trust it. the best way to get good performance
    out of your code is to write simple, straightforward
    good OO code. JVMs are at a point now where they can
    optimize java to outperform equivalent C/C++ code
    (no, really) but since they're written by human
    beings, who have real deadlines and targets, the
    optimizations that make it into a release are the
    most common ones. just write your application, and
    then see how it performs. trust me on this
    have a read of
    [url=http://java.sun.com/developer/technicalArticles/I
    nterviews/goetz_qa.html]this for more info anda chance to see where I plagiarized that post from :-)
    Thanks for that link you gave me :)
    Was usefull to read.
    About time and money of programming, that is not really an issue for me atm since i'm doing this project for a company, but through school (it's like working but not for money).
    Of course it should not last entirely long but I got time to figure out alot of things.
    For my next project I will try to focus some more on building first, optimizing performance later (if it can be done with a good margin, since it seems the biggest bottlenecks are not the code but things outside the code).
    @promethuuzz
    The idea was to put collection objects (an object that handles the orm objects initialized) in the request and pass them along to the jsp (this is all done through a customized mvc model).
    So I wanted to see if this method was performance heavy so I won't end up writing the entire app and finding out halve of it is very performance heavy :)

  • Math / array / matrix-question

    Hallo everybody,
    first of all: it's not a indesignscripting-  but general math-javascriptquestion. please be patient
    I've got a first (matrixlike-)array (won't change)
    var containers = [
    'container11', 'container12', 'container13', 'container14', 'container15',
    'container21', 'container22', 'container23', 'container24', 'container25',
    'container31', 'container32', 'container33', 'container34', 'container35',
    'container41', 'container42', 'container43', 'container44', 'container45',
    'container51', 'container52', 'container53', 'container54', 'container55'
    and I've got a second array:
    ["container14", "container25", "container34", "container44", "container54"] //this array may contain 3 up to 8 items
    My aim is to check if a part of 5 to 3 items of the second array is part of or equal to a row or column of the matrix-like-array.
    For example: "container34", "container44", "container54" or "container11", "container12", "container13", "container14" (as part of second array) would be a result I#m looking for. Note: I only want to find the 'biggest charge'!
    Hope it's getting clear and one of the math-cracks will have a idea.
    Addittional: there's no MUST to work with arrays. I can also store the data to a object or mixture ... and may fill it with numbers instead of strings ...
    To get it visible:
    https://dl.dropboxusercontent.com/spa/3ftsuc9opmid3j4/Exports/fourWins/fourWins.html
    Items can be dragged and dropped. After every dropp the arrays have to be compared ... and I#m searching for a nice and elegant solution
    May be someone's interested
    Hans

    Hi Hans,
    Just a quick note although your question is solved.
    Provided that your matrix is 5×5 you could easily map any element to a single character in the set { A, B..., Z } (for example).
    Then your problem can be reduced to some pattern matching algorithm, that is, finding the longest part of the input string within a 'flat string' that just concatenates the rows and the columns of the search matrix in the form ROW1|ROW2...|COL1|COL2...|COL5
    And you can create RegExp on the fly to compute the solution(s) with almost no effort:
    const MX_ORDER = 5;
    const MIN_MATCH = 3; // We need at least 3 contiguous items
    var bestMatrixMatch = function F(/*str[]*/ROWS, /*str*/ND)
    // NB: No check is made on ROWS, so make sure you supply
    //     MX_ORDER strings, each being MX_ORDER-sized
        // Put in cache some subroutines
        F.RES_TO_STR ||(F.RES_TO_STR = function()
                return localize("'%1' found in %2", this.result, this.location);
        F.ROWS_TO_HS ||(F.ROWS_TO_HS = function(R, C,i,j)
                for( i=0,C=[] ; i < MX_ORDER ; ++i )
                for( C[i]='',j=0 ; j < MX_ORDER ; C[i]+=R[j++][i] );
                return R.concat(C).join('|');
        // Vars
        var haystack = F.ROWS_TO_HS(ROWS),
            candidates = ND &&
                haystack.match( new RegExp('['+ND+']{'+MIN_MATCH+',}','g') ),
            t, p;
        if( !candidates ) return null;
        // Sort the candidates by increasing size
        candidates.sort( function(x,y){return x.length-y.length} );
        // Grab the matches and keep the best
        while( t=candidates.pop() )
            if( 0 > ND.indexOf(t) ) continue;
            p = 1+~~(haystack.indexOf(t)/(1+MX_ORDER));
            return {
                result:   t,
                location: (p<=MX_ORDER)?('Row #'+p):('Col #'+(p-MX_ORDER)),
                toString: F.RES_TO_STR,
        return null;
    // =================
    // Sample code
    // =================
    var rows = [
        "ABCDE",
        "FGHIJ",
        "KLMNO",
        "PQRST",
        "UVWXY"
    var needle = "EKLMINSX";
    // get the result
    var result = bestMatrixMatch(rows, needle);
    alert(
        "Searching the longest part of '" + needle + "' in:\r\r" +
        ' '+rows.join('\r').split('').join(' ') +
        '\r\r===============\r\r' +
        (result || "No result.")
    @+
    Marc

  • Subclass - a beginer question - pls. Help

    Dear All,
    I have a very stupid question. I have a class which does nothing else than create a GUI with two JButtons, and JTextField. This form will be used several times in the application I need to develop.
    I would like to create one more class which is extending the previous class. In the second class I would like to register the ActionListeners for the GUI class and do the other operations.
    I tried to register the listeners for the JButtons in the main() method, but always got an error, can not be referenced from static context.
    What can be the solution? do I have to code the ActionListenres at the GUI class? and later overwrite them? Please help with some ideas.
    Thanks,
    Zsolt Putnoky

    When you extends the GUI class, the child class will contain the Buttons of the GUI class and also the ActionListeners.
    When you click in the button of the subclass, the ActionListeners of the GUI class will be Actioned.
    I mean, if what you want is a different behavior of you subclass button click, you should override the ActionListeners.
    Hope that I helped

  • Adding arrays - confusing question

    I am in the process of writing a java program where I have to add arrays. The question asks:
    This program asks you to assume that your computer has the very limited capability of being able to read and write only single-digit integers and to add together two integers consisting of one decimal digit each. Write a program that can read in two integers of up to 40 digits each, add these digits together, and display the result. Test your program using pairs of numbers of varying lengths. You must use arrays in this problem.
    I think I understand up to there is says"Write a program that can read in two integers of up to 40 digits each" from there I am lost.
    Can anyone help explain what is needed?
    This is what i have so far:
    import java.util.*;
    public class add
        public static void main(String[] args)
          Scanner in = new Scanner(System.in);
          int x = in.nextInt();
          int y = in.nextInt();
            int[] a = {x};
            int[] b = {y};
            int[] ab = new int[a.length + b.length];
            System.arraycopy(a, 0, ab, 0, a.length);
            System.arraycopy(b, 0, ab, a.length, b.length);
            System.out.println(Arrays.toString(ab));
    }

    Yeh, sorry about that didn't have the time to go ahead and drag some of the code over when I first found this forum, first thing I tried a quick compile and run just to see what problems I'd get and I got this runtime error of: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 7
         at java.lang.String.charAt(String.java:687)
         at Joseph_Ryan_P2.main(Joseph_Ryan_P2.java:36)
    I threw in some print statements to see how far it gets before the error occurs and it seems to be right before the for loop(see code below)
    In this program I'm reading in from a text file that will read two numbers from the same line that are seperated by a space and eventually add them, is the best way to do that by using a tokenizer or some sort of space delimiter? Or is there an easier way? If the tokenizer is best how would i go about that I haven't learned too much about them besides the fact that they exist so far.
    Thanks for any help you or suggestions you guys can give.
    //Joseph_Ryan_P2.java
    //Big Integer Program
    //Description:
    //     Design and implement a BigInteger class that can add and subtract integers with up to 25 digits. Your
    //     class should also include methods for input and output of the numbers.
    // Must Use Arrays
    import java.io.*;               //neccessary imported libraries
    import java.util.*;
    public class Joseph_Ryan_P2          
         public static void main(String[] args)          //the programs main method
              try
                   Scanner scan = new Scanner(new File("BigInts")); //Scanner to read in from plaintext file
              String numline = scan.next();
              int x=0;
              int [] big1 = new int [numline.length()];
              System.out.println(numline);
                   int [] big2 = new int [numline2.length()];
                   String numline2= scan.nextLine();
                   System.out.println(numline2);
              for(int i = numline.length() - 1; i >= 0; i++)
              char current = numline.charAt(i);
              int d = (int) current - (int) '0';
                   big1[i] = d;
              }//end for loop
              }//end try
              catch(FileNotFoundException exception)
    System.out.println("The file could not be found.");
    catch(IOException exception)
    System.out.println(exception);
    } //end catch statements
         }//end main
    }//end class

  • Quick RAID array setup question

    I had to upgrade one of the RAID arrays of one of my clients the other day. I had not setup the RIAD previously, but when I looked at how it was setup before it had 6 disc's in the array and one not part of the array.
    Now I assume who ever set it up before assumed that the 7th disc would be the redundant disc. After looking at the way it worked and doing some calculations from what info RAID admin provided me with I came to the conclusion that the way it was set up would be 6 disc's used as the array with one being a parity drive so if a drive failed that one would take over. On top of that they had another disc that was basically useless as it was not incorporated into the raid at all.
    The way I have set it up is that all 7 discs are part of the array so they have 6 disc's working with one fail over that would be the 7th meaning no disc's are wasted.
    Which way is correct is my question.

    I assume your predesessor left one disk as a hot spare.
    Whenever a disk from a raid set fails, the raid set will be rebuild with the hot spare disk. The bad disk can be swapped and will be the hot spare from then.
    Configuarions like this will give you the highest availability, but will cost you the most. Netto you will have the amount of 5 out of 7 disks. (1 for parity and 1 for hot spare).
    Note that in a raid5 set the parity is spread over all raid disks. There is not such a thing as a 'paritydisk'. The term paritydisk is hust for mathmatics purposes.
    Regards
    Donald

  • Some specific Disk Setup Questions

    Alright, I've read several articles, but I'm still slightly confused.  It's not too much, but just a simple matter of what difference an HDD and an SDD would make without any form of RAID.
    So, let's take the following:
    C: Samsung 256GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for OS and Programs
    D: 3TB Barracuda SATA 6Gb/s 7200RPM 64MB Cache Desktop Drive  OR   Samsung 1TB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for Source Media and Projects
    E: Samsung 128GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for Pagefile and Media Cache
    F: Samsung 128GB 850 PRO Series SATA III 6Gb/s Solid State Drive  OR   Samsung 256GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for Preview and Exports.*
    So, this is what I may be considering as a disk setup.  I don't have too much more money to spend than possibly what I have listed above, and I'm trying to determine what would be the best for After Effects and Premiere Pro, the two programs I'd main.
    *One thing to note is that I would NOT keep the exports on that disk.  I would move them over to something else I already have for storage.  So, it's basically a matter of how much space should I have on that drive for preview files.
    So, here're my questions:
    For the D: drive, what difference will the HDD I have listed make (remember, Ae and Pr would be READING from that drive) compared to the SDD?  See, I would prefer more space with the HDD, and like to spend less money, but if the other drives are all SSDs, will that HDD slow it all down?
    How big are preview files supposed to be?  I've had bad experiences with them, due to my lack of knowledge at the moment, but I don't know; just for 1080x1920 HD video, what's a general size the preview files should be per minute?  (I also use several layers, so that could affect the size as well.)
    If the preview files are generally fairly small when set up correctly (as in not a 40GB file per 3 minutes of 1080by1920 HD), could the E: and F: drives be run together in a RAID0?  Would that offer advantages over running them separately?  Or would the difference be negligible?
    If it's better to run the E: and F: drives separately, should I use the 128GB drive for Previews/Exports or the 256GB drive?  I know that if I did RAID0 I'd have to use the 128GB.

    Yes, it's true; I have no experience building systems at all.  However, I'm still unclear, entirely, on the whole HDD vs SSD thing.  Thank you for your information, but I'd still like to clarify some things.
    I'm mainly trying to understand more about the performance aspect of all this.
    Let's take the previously revised version and compare it to your suggested one.  I'll say what I think based upon what I believe to be correct, but I'm obviously missing some information here; that's where I want somebody to correct me.
    Version 1:
    C: Samsung 256GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for OS and Programs and possibly Pagefile
    D: Samsung 1TB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for Source Media and Projects
    E: Samsung 128GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for possibly Pagefile and Media Cache
    F: Samsung 256GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for Preview and Exports.*
    *Take note, I'm putting the exports on a separate drive I already own and deleting them from the drive I originally wrote them to.
    VS:
    Version 2:
    C: Samsung 256GB 850 PRO Series SATA III 6Gb/s Solid State Drive
    for OS and Programs and pagefile.
    D: HD RAID 0 array: 6x 1TB Barracuda 64MB cache RAID 0 array (x99 boards have LOTS of SATA ports)
    So, let me get this straight here.  Correct me if any of the following statements are wrong.  I'll also have some questions associated with them.
    Version 2 will be SIGNIFICANTLY slower than Version 1.  I'm assuming this because Version 2 is both an HDD and SATA instead of SSDs with SATA III.  However, I'm unsure of this since RAID 0 is being used in Version 2, unlike Version 1.
    Version 2 will be MUCH riskier than Version 1.  I'm assuming this because it's RAID 0, and if one of those six drives fails, all the data is lost.  (However, since the programs are on C:, they will stay safe, along with the operating system.)
    Version 2 is ALSO riskier due to the fact that I'm using HDDs instead of SSDs.  Or am I wrong, are SSDs riskier than HDDs?
    Under Version 2, I'll have 1TB total to put source media, projects media cache, preview files, and exports on, while keeping the pagefile, OS, and programs on C:. (even though it's six disks)
    This is what I'm understanding right now.  Please correct me if I'm wrong, or point out other suggestions.  One final thing, as well, that I'm also unsure of.
    Now, I used to use Premiere Elements 11.  When I would create preview files for, say, a 13 minute HD video, the preview files (in total) would be under 1GB or just a little more.  What about Premiere Pro CC makes the file sizes so different?

  • Need some info on general question

    Hello everybody!
    This question for those who already works as a Java professional. I just don't have a clear picture of how can you apply java programming language in real working environment, in theory I can imagine, but I need a solid understanding so that I would spend all the time moving in right direction. Do they use Java for writing some applications for some, let's say, financial institutions. I can write simple application which will connect to some RDBMS (SQLServer,Oracle, whatever you have) and perform extracting, changing, deleting information, but I can do all this stuff only on my user computer, I am just college student. How do you implement this in real environment, do you have first to install Java Runtime Environment on all user computers and install those java applications which will be working with database? What about middle-tier concept, what this all about? I happend to have interview in one company but I failed to answer on middle-tier topic. As I understand it's better to change some procedure in one place than changing apps on all user computers, how you deal whith this, this is so far not clear for me. I have never seen how users launch their apps in financial institutions (exe. files - popular question on this forum), how does this system works, or may be they use for this purpose different language like C++. What about internet, they say java was created whith internet in mind... Oh my god, I have so many questions on how you can use Java in real world, not just for fun. Hope somebody can explain it to me in plain English.
    Thanks in advance.

    Here is a real world example (its a project I've been working on for about a year).
    Its a 3-tier client server system. This means there are 3 parts of the system:
    1. SQL Server database on a remote server
    2. Middleware java application running on the server
    3. psion netBook clients (handheld devices) running a Java application
    The actual system itself is used for remotely capturing dental information on the netBooks. At the end of the day the user can dial-up to the server where the database resides and update the database with info captured on the netBook. The user can also download a group of patients from the server to the netBook client.
    The purpose of having a middle tier (or middleware), is so that any server-side changes will not impact on the client side, and vice versa (at least thats always been my understanding).
    To create this architecture I used the JDBC API (for database processing, middle tier), and the RMI API (for networking, middle tier and client tier). Alternatively I could have used CORBA instead of RMI.
    I beleive (although I'm no expert on this), that servlets can be used to create a similar kind of thing through a web interface (i.e. a database on the web server can be updated through a web page). Hopefully someone can confirm this for you.
    And of course there are applets, that are simply java appications running on a web browser.
    I would imagine that the majority of industry work done in Java is with client server apps either with servlets (web) or a backend on a server somewhere.
    If anyone would like to correct me please do...think I've got most of this right.

  • WD Java iView Creation Question/Issue - CE 7.1 EHP 1 Trial

    Hi all,
    Im posting this question here seeing as that the issue has arrised on an installation of the AS JAVA and EP shipped with CE 7.1 EHP1 Trial.
    When attempting to create an iView for a deployed custom WD Java app on the trial Portal I am taken straight to the iView template selection without being given the options for iView creation( ie. create from template, portal component or WD Java app). Is this by design ( WD Java iView creation has changed from previous Portal versions or is limited in Trial installation), is this an issue with the components shipped with the Trial or an issue on my installation only?
    Currently my only solution for deploying WD java content is to copy the actual application and paste it as Portal content which then creates a WD Proxy page with a single WD Proxy iView (that of the copy pasted WD app). This is fine for single app scenarios but becomes an issue with multiple apps on one page and drag and relate scenarios.
    Kind regards,
    Willem.

    Hi Williem
    Please check the SAP CE 7.1 EHP1 documentation for more information.
    [CE 7.1 documentation|http://help.sap.com/saphelp_nwce711/helpdata/en/44/d958673ef05f4de10000000a11466f/frameset.htm]
    [CE 7.1 iViews  |http://help.sap.com/saphelp_nwce711/helpdata/en/f5/eb51590e6a11d7b84900047582c9f7/frameset.htm]
    Hope this will helps you.
    Thanks
    Arun Jaiswal

Maybe you are looking for