Speaker Topics - No Fluff Just Stuff

Analyzing AI-Generated Java Code: Mastering SOLID & 20+ Patterns - Full Day

AI speeds delivery—but also ships hidden design debt. In this full-day, hands-on workshop you’ll learn a fast rubric to analyze AI-generated Java, refactor with SOLID and 20+ patterns, add security guardrails, and enforce design in CI. Leave with code, checklists, and a repeatable review playbook.

Why: Copilot/ChatGPT everywhere; teams need production-grade refactoring patterns.

Audience: Senior devs, tech leads, architects; interview prep welcome.

You’ll master: SOLID triage, smell→pattern mapping, AI-era security, ArchUnit “Design CI”.

Tooling: Java 21, JUnit 5, Mockito, ArchUnit, SonarLint/SpotBugs, Gradle/Maven.

Patterns covered (20+): Factory/Builder/Prototype/Object Pool; Adapter/Facade/Decorator/Proxy/Bridge/Composite; Strategy/State/Template/Chain/Command/Mediator/Observer/Iterator/Memento/Visitor/Null Object (+ Repository/Specification).

Security focus: Prompt-injection containment, output-parsing fences, policy/allow-list seams, safe SDK isolation.

Take-home kit: Review rubric, pattern decision tree, ArchUnit starter, security checklist, sample PRs.

Join expert Rohit Bhardwaj to level up your architectural decisions, preempt security pitfalls, and confidently deliver high-quality software in the AI era.

NOTE: With today’s registration, you’ll be signed up for two sessions. Although you can attend any of the sessions individually, we recommend participating in both sessions.

What you'll learn — and how you can apply it
By the end of this live, hands-on workshop, you’ll understand how to:
Apply SOLID principles to ensure robust, scalable, and maintainable software designs—especially when starting from AI-generated code.
Implement 20+ key design patterns (Creational, Structural, and Behavioral) in real-world Java scenarios.
Identify and mitigate AI-specific pitfalls, including hallucinations, insecure code snippets, and unscalable design suggestions.
Confidently refactor AI outputs into cleaner, safer, and more maintainable codebases.
And you’ll be able to:
Evaluate AI-generated solutions for architecture and pattern usage.
Lead code reviews that focus on design patterns and SOLID compliance.
Optimize your daily workflow by leveraging AI while avoiding common security and scalability traps.

This training is for you because…
You want to upskill and stay relevant as AI becomes more integrated into everyday development practices.
You need to bridge the gap between AI-generated code and production-ready, enterprise-grade solutions.
You’re preparing for high-stakes technical interviews where design patterns and architecture decisions are scrutinized.

Agenda
Kickoff: AI Code Triage & SOLID Lightning

  • AI code failure modes; 2-minute smell checklist
  • SOLID in practice (when to bend vs enforce)

Creational Patterns Lab

  • Choose Factory vs Builder vs Prototype vs Object Pool
  • Lab: remove Singleton & telescoping constructors → Builder + Factory Method + tests

Structural Boundaries Lab

  • Adapter vs Facade vs Decorator vs Proxy vs Bridge; OCP in real code
  • Lab: extract controller orchestration into Facade; wrap vendor SDK with Adapter
  • Add ArchUnit rule: no controller → repo
    Security & AI Pitfalls
  • Prompt-injection paths, unsafe reflection/SQL, license drift
  • Lab: Command + Policy (allow-listed tool calls); JSON output fences; contract tests

Behavioral Patterns I

  • Strategy, State, Chain of Responsibility, Command, Mediator
  • Lab: replace if/else jungle in payments; idempotent Command + retry policy

Behavioral Patterns II

  • Observer, Template Method, Visitor, Null Object, Iterator, Memento
  • Lab: event hooks with Observer; remove null checks via Null Object; audit hooks via Template

Interview Drill: Discuss how to effectively articulate design decisions
10-minute Recap and Q&A


About Rohit Bhardwaj

Rohit Bhardwaj is a Director of AI & Data Architecture at Salesforce, where he focuses on enterprise AI, agentic systems, cloud-native architecture, distributed systems, data platforms, security, and large-scale transformation.

Over his career, Rohit has designed and led complex enterprise platforms across AWS, Google Cloud, microservices, real-time data, API ecosystems, resilient distributed systems, and AI-enabled architectures. His work increasingly focuses on the challenges enterprises face as software evolves from deterministic services to AI-native and agentic systems—particularly around reliability, governance, evidence, security, observability, cost, and safe autonomy.

Rohit is the author of System Design with AI Interview Guide: Designing Scalable, Agentic, and Defensible Systems, published by Apress. The book presents a modern approach to system design covering scalability, distributed systems, AI architecture primitives, security, reliability, economics, agentic systems, and real-world architectures including e-commerce, ride sharing, payments, fraud detection, messaging, video streaming, file storage, and search. (Springer Link)

Book:
Amazon: https://a.co/d/09Zs1twa
Publisher / Springer Nature: https://link.springer.com/book/10.1007/979-8-8688-2782-2
O'Reilly: https://learning.oreilly.com/library/view/system-design-with/9798868827822/ 

Rohit is also an O’Reilly instructor and a frequent speaker at technology conferences including No Fluff Just Stuff, UberConf, GIDS, and other international events. His talks focus on practical architecture lessons from building and operating complex systems, including AI control planes, trusted agents, inference at scale, evidence-first RAG, AI security, distributed-system failure, and AI-era software architecture.

As a trusted advisor and architecture leader, Rohit works at the intersection of business strategy and deep technical architecture—helping teams translate complex business problems into scalable, resilient, secure, and economically sustainable systems.

Rohit holds an MBA in Corporate Entrepreneurship from Babson College and graduate-level education in Computer Science from Boston University and Harvard University.

Connect with Rohit:
LinkedIn: http://linkedin.com/in/rohit-bhardwaj-cloud
X / Twitter: @rbhardwaj1

More About Rohit »