PG01: JAVA PROGRAMMING LANGUAGE JAVA SE
วิทยากร : อ. อันฮวา นิลรัตน์ศิริกุล
ระยะเวลา : 4 วัน เวลา 08.30 – 16.30 น.
สถานที่ฝึกอบรม : อาคารคณะเทคโนโลยีสารสนเทศ มหาวิทยาลัยเทคโนโลยีพระจอมเกล้าธนบุรี
วัตถุประสงค์ :
1. เข้าใจ Java Platform และ Java Technology
2. สามารถเขียนโปรแกรมภาษาจาวา โดยใช้ Eclipse IDE
3. สามารถเขียนโปรแกรมตามหลักการพื้นฐานของ Object Oriented และ design patterns
4. สามารถนำเอาไลบรารี่มาตราฐานต่าง ๆ มาประยุกต์ใช้กับการเขียนโปรแกรมได้อย่างเหมาะสม
5. สามารถเขียนโปรแกรมเพื่อติดต่อกับฐานข้อมูลได้ และสามารถส่งคำสั่ง query ข้อมูลได้
ความรู้พื้นฐาน/คุณสมบัติผู้เข้าฝึกอบรม :
1. ควรมีความรู้พื้นฐานทางด้านการเขียนโปรแกรมภาษาคอมพิวเตอร์เบื้องต้น ด้วยภาษาใดภาษาหนึ่งเป็นอย่างดี
2. เข้าใจหลักการพื้นฐานของ Object Oriented
3. มีความรู้พื้นฐานเกี่ยวกับระบบฐานข้อมูล และคำสั่ง SQL
วิธีการอบรม : บรรยาย สาธิต ฝึกปฏิบัติ ตอบข้อซักถาม
การประเมินผล : แบบทดสอบก่อนและหลังฝึกอบรม/แบบประเมินผลการฝึกอบรม
จำนวนผู้เข้าฝึกอบรม : ไม่เกิน 15 คน/กลุ่ม
หลักสูตรต่อเนื่อง/เกี่ยวข้อง :
- Java EE Develop web components with Servlets & JSP
- Mobile Application Development with IBM Worklight
- Introduction XML and XML Programming
- Develop Web Services with JAX-WS & JAX-RS
รายละเอียดหลักสูตร :
หลักสูตรนี้เหมาะสำหรับผู้ต้องการเรียนรู้การใช้งานภาษา Java ตั้งแต่พื้นฐาน ทั้งเรื่องของโครงสร้างภาษา การเขียนโปรแกรมเชิงวัตถุ (Object Oriented Programming :OOP) การใช้งานไลบรารี่มาตราฐานต่าง ๆ การเขียนโปรแกรมเพื่อติดต่อกับฐานข้อมูล ซึ่งเป็นพื้นฐานที่จะนำไปสู่การเขียนโปรแกรมในระดับกลาง ระดับสูง และการเขียนโปรแกรมบนโทรศัพท์มือถือ
เนื้อหาการฝึกอบรม
วันที่ 1
- Java Platform Overview
- Introductions
- Course Schedule
- Java Overview
- Java Platforms
- Java Technology
- Java Syntax and Class Review
- Simple Java classes
- Java fields, constructors and methods
- Model objects using Java classes
- Package and import statements
- Test Java classes
- Create Java subclasses
- Java Class Design
- Access modifiers: private, protected and public
- Method overriding
- Method overloading
- Constructor overloading
- The instanceof operator
- Virtual method invocation
- Upward and downward casts
- Overriding Object methods
วันที่ 2
- Advanced Class Design
- Abstract classes and type generalization
- The static and final modifiers
- Field modifier best practices
- The Singleton design pattern
- Designing abstract classes
- Nested classes
- Enumerated types
- Inheritance with Java Interfaces
- Java Interfaces
- Types of Inheritance
- Object composition and method delegation
- Implementing multiple interfaces
- The DAO design pattern
- Generics and Collections
- Generic classes and type parameters
- Type inference (diamond)
- Collections and generics
- List, set and Map
- Stack and Deque
- String processing
- String manipulation with StringBuilder and StringBuffer
- Essential String methods
- Text parsing in Java
- Input processing with Scanner
- Text output and formatting
- Regular expressions with the Pattern and Matcher classes
- Exceptions and Assertions
- Exceptions categories
- Standard Java Exception classes
- Creating your own Exception classes
- Using try-catch and the finally clause
- Using try-with-resources and the AutoCloseable interface
- The multi-catch feature
- Best practices using exceptions
วันที่ 3
- I/O Fundamentals
- I/O using Java
- Reading the console input stream
- Writing to the console
- Using I/O Streams
- Chaining I/O Streams
- Reading and writing objects using Serialization
- File I/O with NIO 2
- The Path interface
- The Files class
- Directory and File operations
- Managing file system attributes
- Reading, writing, and creating files
- Watching for file system changes
- Concurrency
- Operating system task scheduling
- Recognizing multithreaded environments
- Creating multi-threaded solutions
- Sharing data across threads
- Synchronization and Deadlock
- Immutable objects
- The java.util.concurrency Package
- Using an ExecutorService
วันที่ 4
- Database Application with JDBC
- Layout of the JDBC API
- JDBC divers
- Queries and results
- PreparedStatement and CallableStatement
- Transactions
- RowSet 1.1 RowSetProvider and RowSetFactory
- The DAO Pattern and JDBC
- Localization
- Advantages of localization
- Defining locale
- Read and set locale using the Locale object
- Resource bundles
- Format messages, dates and numbers
- Java Networking & Web Application
- Networking Basic
- Implementing Network with Java
- Socket Programming
- Introduction to Web Application
- Introduction to Web Server
- Introduction to Web Components in Java Technology