Advanced Programming with Java
Course Material:
You will receive a copy of this book as part of the course if you have not done our Java Beginner Course. We cover the second half of this book in the advanced course.
Bookings: You can download the course registration form on our home page or by clicking here Duration and pricing: 5 days full-time (R6995 excl VAT) 5 weeks part-time (2 nights per week, 3 hour sessions) (R7995 excl Vat) Schedule On the calender on this page below Intended Audience: This course is intended for people who is at the level of our Beginner Java course. Prerequisites: Further Training: After this course you should have mastered all the features and facilities of the Java language and be ready to take on the certification courses starting with SCJP. If you are not interested in the certification route, you can continue with our Introduction to Java EE (Enterprise Edition). Certificate: Upon successfully completion of this course you will be issued you with a certificate.
Course Info:
|
10. Numbers Matter
- Math class
- Static methods
- Static variables
- Constants
- Math methods
- Wrapper classes
- Autoboxing
- Number formatting
- Date formatting and manipulation
- Static imports
11. Risky behaviour
- Making a music machine
- What if you need to call risky code
- Exceptions
- The compiler guarantees that you are aware of the risks
- Catching exceptions using a try/catch
- Flow control in try/catch blocks
- The finally block
- Catching multiple exceptions
- Declaring an exception
- Handle or declare law
12. Your first GUI
- Getting a user event
- Implement a listener interface
- Getting a button's action event
- Putting graphics on a GUI
- Fun with paintComponent()
- The Graphics2d object
- Putting more than one button on a screen
- Inner classes
- Animation
- Graphics mixed with music
13. Swing
- Swing components
- Layout managers
- Border, Flow and Box layouts
- JTextField
- JTextArea
- JCheckBox
- JList
- BeatBox example
14. Saving Objects
- Saving object state
- Writing a serialised object to a file
- Java input and output streams
- Object serialisation
- Implementing the serialisable interface
- Deserialising an object
- Writing to a text file
- java.io.File
- Reading from a text file
- Splitting a string into tokens with .split()
|
15. Making a connection
- Chat program overview
- Connecting, sending and receiving
- Network sockets
- TCP Ports
- Reading data from a socket
- Writing data to a socket
- Writing the Daily Advice Client Program
- Writing a simple server
- Writing a chat client
- Multiple call stacks
- Launching a new thread
- The Runnable interface
- Three states of a new thread object
- The runnable running loop
- Thread scheduler
- Putting a thread to sleep
- Making and starting 2 threads
- Concurrency issues
- Locking
- Synchronised methods
- Deadlock
- Multi-threaded chat server example
16. Data Structures
- Collections
- Sorting an Arraylist with Collections.sort()
- Generics and type-safety
- Sorting things that implement the Comparable interface
- Sorting things with a custom Comparator
- The collection API - lists, sets and maps
- Avoiding duplicates with HashSet
- Overriding hashCode() and equals()
- HashMap
- Using wildcards for polymorphism
17. Releasing your code
- Deployment options
- Keep your source code and class files separate
- Making an executable JAR
- Running an executable JAR
- Put your classes in a package
- Packages must have a matching directory structure
- Compiling and running with packages
- Compiling with -d
- Making an executable JAR (with packages)
- Java Web Start
- How to make and deply a JWS application
18. Distributed Computing
- Remote Method Invocation (RMI)
- Servlets
- Enterprise JavaBeans (EJB's)
- Jini
- Building a really cool universal service browser
19. The final version of the Beat Box Project
|
|
Ċ ď Alta GetCertified, 30 Jan 2011 10:56
|