Java Programming Introduction: Hands-On
Course 471 | 4 Days
Evaluations in the Last 12 Months
You Will Learn How To:
- Build robust console and GUI applications using Java'sobject-oriented features
- Design flexible object models using object-oriented principles
- Create robust applications using Java class libraries
- Organise complex data using Java collections
- Develop platform-independent GUIs
Hands-On Experience Includes:
- Developing an object-oriented model with UML notation
- Creating Java objects and calling their methods
- Structuring data with the Java collections API
- Developing platform-independent user interfaces
- Creating portable GUIs with Swing components
- Adding event handling to GUIs
About This Course: Java's unique architecture enables programmers to develop a single application that can run across multiple platforms seamlessly and reliably. In this hands-on course, you gain extensive experience with Java and its object-oriented features. You learn to create robust console and GUI applications and store and retrieve data from relational databases.
Introduction to Java Programming
- Stand-alone applications and servlets
- Compiling source code into bytecode
- Overview of class libraries
Object-Oriented Programming with Java
The object paradigm
- Encapsulation, inheritance and polymorphism
- OO analysis and design: "Is a" and "Has a"
- Designing an OO application step by step
- Diagramming object structure with Unified Modelling Language (UML)
Java's object-oriented features
- Instantiating objects from classes
- Aggregation and composition
- Extending existing classes
- Overloading and overriding methods
Structure of the Java Language
- Declaring and initialising variables
- Declaring and using arrays
- Upcasting, downcasting and autoboxing
- Invoking methods and passing parameters
- Conditionals and loops
- Handling exceptions with try and catch
- Fields (instance data)
- Methods (functions)
- Abstract classes and interfaces
- Organising classes with packages and modifiers
- Composition vs. inheritance
Building the components of a Java program
- Leveraging generics with the collections API
- Developing new classes
- Compiling and debugging
Foundations of user interfaces
- Basic GUI widgets
- Event-driven programming
- Benefits of a portable windowing library
Java Foundation Classes (JFC)
- Creating Swing components
- Adding Swing components to containers
- Arranging Swing components using layout managers
- Dialogs and message boxes
- Registering event handlers
- Inner classes and top-level classes
Storing and Retrieving Data with File I/O
- Streams, Readers and Writers
- Catching and throwing exceptions
- Formatting text output
Files and directories
- Reading and writing files
- Creating, deleting and renaming files
- Obtaining directory and file information
Working with Relational Databases
JDBC database access
- Leveraging the JDBC API
- Choosing database drivers
- Connecting to a database
Improving performance with prepared statements and stored procedures
- Submitting SQL statements
- Retrieving and processing results
Java Development Tools
- Java Development Kit (JDK)
- Compiler (javac)
- Javadoc utility
- Java Archive (JAR) utility
- Java Integrated Development Environments (IDEs)
- Java Best Practices and Design Patterns - Course 516
- Developing Enterprise Java Applications with Spring & Hibernate® - Course 517
- Developing Java Web Applications - Course 570
- Java Enterprise Edition: Integrating JSF, EJB and JPA - Course 936
- Cloud Computing Technologies Introduction - Course 1200
- Developing Applications for AndroidTM Devices - Course 2771
- PythonTM Programming - Course 1905
- Introduction to Big Data - Course 1250
Standard class hours:
9:00 a.m. - 4:30 p.m.
Last day class hours:
9:00 a.m. - 3:30 p.m.
Free optional course exam:
3:30 p.m. - 4:30 p.m.
Each class day:
Informal discussion with instructor about your projects or areas of special interest:
4:30 p.m. - 5:30 p.m.
More Course Info
What is Java?
Java is an object-oriented programming language. Java is in the same family as C and C++ and solves many of their complexities (pointers, memory allocation, multiple inheritance, etc.). Java is also a portable language, and compiled Java programs run without recompilation on Macintosh, Microsoft Windows, UNIX and other platforms. Java is a mature language that can be used to write entire standalone or server applications. Java has become the dominant platform for modern software development for reasons of reliability, maintainability, and ease of development.
What are the different editions of Java?
Java SDK Standard Edition (JSE) is comprised of tools for writing and running applications and applets for desktop clients.
Java SDK Enterprise Edition (Java EE) is the industry standard, comprised of tools and technologies for server applications.
Java SDK Micro Edition (JME) is comprised of tools for embedded systems, smart cards, PDAs and wireless devices. This edition is not currently covered in any Learning Tree course.
What background do I need?
This course is for programmers with hands-on experience in a modern programming language such as C, Pascal or COBOL. You should have three to six months' experience in a high-level programming language before attending. You should know how to:
- Structure data
- Use variables, flow-control statements and subroutines
- Write, compile and execute a program
Who will benefit from this course?
This course provides a solid introduction to programming in Java and is useful for programmers, engineers, analysts and managers. Those who would benefit include:
- Application developers intending to use Java to build applications
- Developers interested in learning the basics of Java before beginning work with a visual development environment (e.g., JBuilder, IBM WebSphere Studio)
I have designed Web pages in HTML. Is that adequate preparation for this course?
No, HTML alone is not enough. Experience writing several large Web sites in CGI and Perl is sufficient. Otherwise, experience in a programming language such as C, Pascal or Visual Basic is necessary.
Does this course use Sun's development tools, the JDK or any IDEs?
This course uses Sun's Java 2 SDK, Standard Edition (J2SE). This course also uses the Eclipse Java IDE. The concepts you learn in the course will also work in Borland JBuilder, IBM WebSphere Studio and other Java IDE tools.
Are Microsoft extensions to Java covered?
No, instead the course concentrates on the standard Java features that work in all development environments and in all Java runtimes.
What systems and software are used with this course?
Although our normal classroom setup uses PCs running Windows Server with the latest Microsoft and Netscape browsers, everything you learn about Java applies equally to UNIX, Macintosh, Windows, OS/2 and other operating systems.
Is there a course on Java best practices?
Yes. In Course 516, Java Best Practices and Design Patterns: Hands-On, you learn how apply best practices to solve real-world software development problems and deliver robust, reliable and secure applications.
How much time is devoted to each topic?
Content Hours Introduction 1.0 Object-oriented programming 2.5 Structure of the Java language 3.5 Java classes and interfaces 5.5 Developing GUI applications 6.5 Input and output 3.0
Times, including the workshops, are estimates; exact times may vary according to the needs of each class.
What are the hands-on exercises?
Approximately 50 percent of class time is spent in hands-on exercises. Exercises include:
- Developing an object-oriented model with UML notation
- Creating Java objects and calling their methods
- Building Java classes and subclasses
- Building a GUI using the Java Foundation Classes
- Reading and writing a file to disk
I'm attending this course from work using AnyWare - Learning Tree's web-based remote attendance platform. How will that impact what I learn?
You will participate fully in the course and acquire the same knowledge and skills as your classmates who participate in the classroom. You will have the same course materials, be able to easily communicate back and forth and ask questions of your instructors and peers, and you will control an in-classroom workstation dedicated entirely to you. Your instructor will be able to see exactly what you're doing and can interactively offer concrete help.
How does this course relate to other Learning Tree courses?
Courses in our Java curriculum that may be of interest include:
- 516, Java Best Practices and Design Patterns: Hands-On is an ideal follow-on to Course 471 and provides the skills to solve real-world software development problems and deliver fast, reliable applications
- 517, Developing Enterprise Java Applications with Spring & Hibernate® offers the skills to develop scalable enterprise Java applications using the industry-standard Spring and Hibernate frameworks
- 570, Developing Java Web Applications: Hands-On provides hands-on experience developing and deploying enterprise Web applications with Java servlets, JavaServer Pages and XML technologies
For those who would like a more in-depth treatment of object-oriented principles, you might consider:
- 424, Service-Oriented Architecture (SOA) Introduction: Hands-On provides a foundation in the concepts, modeling, design and implementation of SOA
Many Learning Tree courses provide college credit and industry continuing education credits. You can also earn a Learning Tree Professional Certification in your area of expertise and prepare for popular industry certifications. See below for continuing professional development credits associated with this course.
This course qualifies as a Core Course in our Job-Specific Professional Certification Program. Read More...
4-Day Fee New Attendee Notes Fee Per Course £2,045
Click here for multi-course savings plans.
Tuition payment is not required at time of enrolment.
Tuition Fees & Savings Plans
Take advantage of our Multi-Course Tuition Savings Plans. Learn more »
Enrol Today – Risk Free!
Call 0800 282 353 or enrol online by selecting your date above.
- No advance payment required.
- No fees for cancellation or rescheduling, ever.
- Take up to 30 days after your course date to pay.
- Satisfaction guaranteed – or you pay no tuition fee.
You can bring this course on-site to your organisation
Bring Learning Tree Training to your workplace with our On-Site Training Solution. Learn more »
"The Java Programming Course was very good in all respects and met my objectives. I found the OO techniques and concepts most helpful".
– R. Lovelock