Video is locked.

Unlock the full course today

Join today to access over 15,000 courses taught by industry experts or purchase this course individually.

Learning Java by Example

Final refactoring of classes

From the course: Learning Java by Example

Start my 1-month free trial
  • Course details

    Do you learn best by doing? Why not learn Java that way? Learn Java Concepts by Example is a Java cookbook that pairs four Java programming challenges with step-by-step solutions. Julian Robichaux shows how to create command-line applications to search text and access a relational database, a GUI app to display and resize images, and a Java API to access third-party webpage content. By practicing these examples, you'll learn concepts such as regular expressions, arrays, JDBC, JAR files, Swing, Java math, lambdas, and RESTful programming—all within the context of real-world applications.

    Instructor

    • Click here to view Julian Robichaux’s instructor page

      Julian Robichaux

      • Julian Robichaux is a software engineer focused on Eclipse and Java.

        Julian has been a professional programmer in the private sector since the early nineties. His programming career began with BBS software and Clipper-compliant databases, soon moving to the Lotus Notes/Domino platform, followed by writing software and applications for IBM technologies and systems in general. Along the way, Julian has developed websites, and even written a few iPhone apps.

        While he currently works on the MarvelClient product for panagenda, Julian has worked on consulting and development projects for a number of Fortune 500 companies around the US. He is also a frequent speaker at conferences about IBM collaboration systems in the US and Europe. Find him on Twitter @jrobichaux or LinkedIn.

    Skills covered in this course

  • Welcome

    - [Instructor] We're in the home stretch with our API. We've written the code, written some tests, and since we have some tests, we even have some initial examples of how to use the API. Before we make our final release, we have two more tasks. Final refactoring of the code, and documentation. The first bit of refactoring I want to do is add a bit more structure to the packaging. Right now we just have everything in one package, but that seems kind of sloppy to me. I like to have my code organized by function. Here's what I want to do. I want to leave the main StackQuery class at the highest level package, because that's the class that people will be interacting with the most. Then I want to put all the parsers in their own package called Parsers and all the JavaBeans in their own package called Data. Creating new packages is easy. Just right-click the source folder and choose New Package. In fact, if you right-click an existing package name, that package name will already be entered…

  • Practice while you learn with exercise files

    Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.

    Download the exercise files for this course. Get started with a free trial today.

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.

Contents