1 / 51

Making Code Robust

Learn how to handle memory leaks in Java programs through design patterns, emphasizing loose coupling and high cohesion. Explore JUnit testing, Gang of Four design patterns, memory leak prevention strategies, and more.

stevenneal
Download Presentation

Making Code Robust

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Making Code Robust In this module you will learn how to handle memory leak, through Design Pattern we teach loose coupling and high cohesion in designing. Sriram Balasubramanian Email: javamsrirama@gmail.com

  2. Objectives Manage Java Programme Memory Leaks Unit Testing with JUNIT “Gang of Four “ – Design Patterns Factory Method Observer Strategy Singleton Adapter State

  3. Memory Leak Memory Leak

  4. Memory Leaks in Java

  5. Memory Leaks in Java..

  6. How to avoid memory leaks?

  7. Simulating a memory leak

  8. Simulating a memory leak

  9. With Memory Leaks

  10. Without Memory Leaks

  11. J Unit Framework J Unit Framework

  12. Automated Software Testing

  13. White box with JUNIT

  14. What makes JUNIT so popular

  15. JUNIT Test Life Cycle

  16. Life Cycle Method

  17. Life Cycle Method

  18. JUNIT Test Case

  19. Creating & Running the tests

  20. The test class Conventions

  21. Testing with JUnit

  22. Test Strategy

  23. Handling Exception in Test Methods

  24. Test Suites

  25. Design Patterns Classification Design Patterns

  26. Design Patterns

  27. The “Gang of Four” (GOF)

  28. Elements of Design Patterns

  29. Classification of Patterns

  30. Java - Design Patterns

  31. Factory Abstract Factory Singleton Creational

  32. Factory Method

  33. Factory Method

  34. Abstract Factory

  35. Singleton

  36. Observer Strategy State Behavioral

  37. Observer Design Pattern

  38. Observer Design Pattern..

  39. Strategy / Policy - Design Pattern

  40. Strategy / Policy - Design Pattern..

  41. Strategy / Policy - Design Pattern..

  42. State Design Pattern

  43. State Design Pattern..

  44. Adapter Wrapper Structural

  45. Adapter / Wrapper Design Pattern

  46. Adapter / Wrapper Design Pattern..

  47. Adapter / Wrapper Design Pattern..

  48. Assignment

  49. Project

  50. Summary Manage Java Programme Memory Leaks Unit Testing with JUNIT “Gang of Four “ – Design Patterns Factory Method Observer Strategy Singleton Adapter State

More Related