13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

xivC<strong>on</strong>tentsChapter 1313.113.213.313.413.513.613.713.813.913.10Chapter 1414.114.214.314.414.514.614.714.814.914.10JUnit: Automating Unit Testing ...................................................What You Will Learn ...........................................................................JUnit: Why All the Fuss? ....................................................................Design Then Test Then Code ............................................................Installing and Running JUnit ...............................................................13.4.1 Downloading and Unzipping ..................................................13.4.2 Using JUnit .............................................................................Writing Test Cases .............................................................................13.5.1 JUnit Asserti<strong>on</strong>s .....................................................................13.5.2 Running a Test Case .............................................................Running Test Suites ...........................................................................Review ................................................................................................What You Still D<strong>on</strong>’t Know ..................................................................Resources ..........................................................................................Exercises ............................................................................................Storing the Data ............................................................................What You Will Learn ...........................................................................Follow the Objects ..............................................................................Of Persistence ....................................................................................Thinking of the Future, or Painting in Corners ....................................Oracle, PostgreSQL, MySQL .............................................................14.5.1 MySQL ...................................................................................14.5.2 PostgreSQL ...........................................................................14.5.3 Oracle ....................................................................................14.5.4 Selecti<strong>on</strong> Criteria ....................................................................Being Self-C<strong>on</strong>tained ..........................................................................Bey<strong>on</strong>d the Basics ..............................................................................Persistence Is Not the Whole Story ....................................................Setting Up PostgreSQL for BudgetPro ...............................................14.9.1 Installing PostgreSQL ............................................................14.9.2 Creating a postgres User .................................................14.9.3 Creating Our Database ..........................................................14.9.4 Straight JDBC ........................................................................Review ................................................................................................295295296296297299301303306308309312312313313315315316316316316317317318318318319322322322323324325325

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

Saved successfully!

Ooh no, something went wrong!