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 Architecture working at Salesforce. Rohit has extensive experience architecting multi-tenant cloud-native solutions in Resilient Microservices Service-Oriented architectures using AWS Stack. In addition, Rohit has a proven ability in designing solutions and executing and delivering transformational programs that reduce costs and increase efficiencies.

As a trusted advisor, leader, and collaborator, Rohit applies problem resolution, analytical, and operational skills to all initiatives and develops strategic requirements and solution analysis through all stages of the project life cycle and product readiness to execution.
Rohit excels in designing scalable cloud microservice architectures using Spring Boot and Netflix OSS technologies using AWS and Google clouds. As a Security Ninja, Rohit looks for ways to resolve application security vulnerabilities using ethical hacking and threat modeling. Rohit is excited about architecting cloud technologies using Dockers, REDIS, NGINX, RightScale, RabbitMQ, Apigee, Azul Zing, Actuate BIRT reporting, Chef, Splunk, Rest-Assured, SoapUI, Dynatrace, and EnterpriseDB. In addition, Rohit has developed lambda architecture solutions using Apache Spark, Cassandra, and Camel for real-time analytics and integration projects.

Rohit has done MBA from Babson College in Corporate Entrepreneurship, Masters in Computer Science from Boston University and Harvard University. Rohit is a regular speaker at No Fluff Just Stuff, UberConf, RichWeb, GIDS, and other international conferences.

Rohit loves to connect on http://www.productivecloudinnovation.com.
http://linkedin.com/in/rohit-bhardwaj-cloud or using Twitter at rbhardwaj1.

More About Rohit »