13.07.2015 Views

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

to end-users to take responsibility <strong>for</strong> their experience with yourprogram.2.10 Database ExercisesWe're going to shift gears now into a portion of the problem setdesigned to teach you more about the RDBMS and SQL. See yoursupplement if you're using an RDBMS other than Oracle.To facilitate turning in your problem set, keep a text file transcript ofrelevant parts of your database session athttp://yourhostname.com/basics/db-exercises.txt.DB Exercise 1: SQL*Loader• Use a standard text editor to create a plain text filecontaining five lines, each line to contain your favorite stocksymbol, an integer number of shares owned, and a dateacquired (in the <strong>for</strong>m MM/DD/YYYY). Separate the fields oneach line with tabs.• create an Oracle table to hold these data:create table my_stocks (symbolvarchar(20) not null,n_shares integer not null,date_acquired date not null);• use the sqlldr shell command on Unix to invoke SQL*Loaderto slurp up your tab-separated file into the my_stocks tableDepending on how resourceful you are with skimmingdocumentation, this exercise can take 15 minutes or a lifetime. Thebook Oracle: The Complete Reference, discussed in the Moresection of this chapter is very helpful. You can also read aboutSQL*Loader in the official Oracle docs at http://otn.oracle.com/,typically in the Utilities book.DB Exercise 2: Copying Data from One Table to AnotherThis exercise exists because we found that, when faced with the taskof moving data from one table to another, programmers weredragging the data across SQL*Net from Oracle into their Web server,manipulating it in a Web script, then pushing it back into Oracle over• About the Application• About the Project• Sign-Offs• Assets DevelopedWe recommend you go through this <strong>for</strong>mally with your team at leastonce a week. You can also use it to structure introductory and updatemeetings with your client, though the worksheet is primarily <strong>for</strong> yourteam.About the OrganizationTo contribute to discussions about scope and which features arecritical, you need to understand what the client's organization is tryingto accomplish as a whole. It helps to know a bit not just aboutpurpose, but about size, resources, and trends in the organization's<strong>for</strong>tunes.It also helps to understand your client personally, and to understandhis/her place and influence in the organization. How much can be<strong>for</strong>ced through? What must be proven be<strong>for</strong>e the application will getsupport from higher management?Organization NameOrganization Purpose (does what? <strong>for</strong> whom?)Organization Size (#people? annual budget?)Organizational Per<strong>for</strong>mance (revenue/ profit/budget trend, actual vs. plan)Sponsor's Name, Title, and OrganizationalRole/ Level (person whose budget is paying <strong>for</strong>this, or who is accountable <strong>for</strong> business resultsthe application supports)Client's Name, Title, and Organizational Role/Level (person responsible <strong>for</strong> what getsdelivered)Business Goals Served by Application (doingexactly what "better, more, faster, cheaper",quantifiably how much?)Client Clout (leader, has say, follower?)42307

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!