coming soon

Coming Soon

We are in process of building the inventory of good professionals in this category

Got it!

Where do you need ?


Please select a Location.


Submit your enquiry for Java Reflection in Detail

Please enter valid question or comment

Please enter your name.

Please enter valid email

Please enter valid Phone Number

Please enter the Pin Code.

By submitting, you agree to our Terms of use and Privacy Policy

Connect With Sabareesan

You have reached a limit!

We only allow 20 Tutor contacts under a category. Please send us an email at support@urbanpro.com for contacting more Tutors.

You Already have an UrbanPro Account

Please Login to continue

Please Enter valid Email or Phone Number

Please Enter your Password

Please Enter valid Password or OTP

Forgot Password? Resend OTP OTP Sent

Sorry, we were not able to find a user with that username and password.

We have sent you an OTP to your register email address and registered number. Please enter OTP as Password to continue

Further Information Received

Thank you for providing more information about your requirement. You will hear back soon from the trainer


Java Reflection in Detail

Java Reflection in Detail

Online Instructor led Course


No Reviews Yet
0 Interested

About the Course

Java Reflection is often a confusing subject. the new comers to Java often feel it is difficult to understand. I will explain you the Reflection with simple example

Topics Covered

Java Reflection

A few basics
Reflection’s value proposition
Enter George the programmer
Choosing reflection ? Programming a reflective solution
Examining running programs
Finding a method at runtime
Representing types with class objects
Representing primitive types ? Representing interfaces
Representing array types
Understanding method objects
Using dynamic invocation ? Using primitives with dynamic
invocation ? Avoiding invocation pitfalls
Diagramming for reflection
Navigating the inheritance hierarchy
Introspecting the inheritance hierarchy ? Exposing some
surprises ? Another reflective circularity

Accessing fields reflectively
Serializing objects
Serializing to XML ? Choosing reflection
Designing serialization with reflection
Finding fields at runtime
Understanding field objects
Getting and setting field values
Examining modifiers
Introducing Member ? Interface introspection pitfall
Introspecting for instance variables
Accessing nonpublic members
Working with arrays
Serialization: putting it all together
Serializing each component ? Serializing instance variables
Using reflective serialization

Dynamic loading and reflective construction
George’s deployment problem
Designing with patterns ? Programming a reflective solution
Enhancing the factory method with reflection ? Combining
benefits of delegation and reflection
Loading classes dynamically
Basics of forName ? Getting array classes
Primitives and forName
Constructing objects reflectively
Reflective construction basics ? Using constructor objects
Constructing arrays reflectively
Designing for dynamic loading
Disadvantages of reflective construction with arguments
Initializing through an interface
Implementing deserialization
Initiating deserialization ? Constructing the instances
Restoring the object structure
George’s serialization: limitations
No interaction with readObject or writeObject ? No handling of
final instance variables ? Only no-argument constructors
No handling of illegal XML characters ? Performance

Using Java’s dynamic proxy
Working with proxies
George’s tracing problem
Exploring Proxy
Understanding invocation handlers
Handling the methods of Object
Implementing a tracing proxy
A note on factories
Chaining proxies
Structuring invocation handlers for chaining ? Implementing
a synchronized proxy ? Chaining the two proxies
Stubbing interfaces for unit testing
Examining stubs ? Design for stubbing with Proxy
Implementation of stubbing with Proxy
Generating SOAP remote proxies
Pitfalls of using Proxy

Call stack introspection
George’s logging problem
Performing call stack introspection
Logging with call stack introspection
Class invariant checking

Using the class loader
George’s test problem
Essentials of ClassLoader
Understanding the delegation model ? Programming a simple
class loader ? Reinitializing static fields: a solution
Multiple namespaces
Dynamic class replacement
Designing for replacement ? Implementing replacement
Simplifying assumptions
Additional considerations
Security ? Don’t reinvent the wheel ? Modifying bytecode in a
class loader ? When not to invent a specialized class loader
Additional examples ? Endorsed Standards Override

Reflective code generation
Reflective code generation
Generating HelloWorldjava
Class-to-class transformation framework
CC ? Args ? CCConstructor
Example: extent management
CIdentitySubclassOfC and its subclasses
Using the framework
Relation to Aspect-Oriented Programming

Design patterns
Decorator class-to-class transformations
Proxy (again)
Another composition feature
Problematic issues in writing
class-to-class transformations

Evaluating performance
Evaluating performance
Categorizing performance impact
Using microbenchmarks
Benchmarking two ways to use Proxy
Understanding Amdahl’s Law
Applying Amdahl’s Law

Reflecting on the future
Looking forward: Java
JSR —Generics ? JSR —Annotation Facility
JSR —Language extensions
Impact of Java on reflective code
competition for Java reflection
C# ? Python ? Smalltalk ? CLOS
Ruby ? Perl
Aspect-Oriented Programming
your career

Who should attend

Any body who has some java knowledge


Basic Java Knowledge

What you need to bring

if you want i can take online training or you can come to my place or i can come to your place if you are in chennai

Key Takeaways

Java Reflection E-Books, PPT's, Sample Programs. Exercise
There are no Reviews yet. Be the First to Review
Questions and Comments

Thousands of experts Tutors, Trainers & other Professionals are available to answer your questions

Comment ?

Questions Guidelines

  • Start your question with simple statements like "what", "when", "where", or "how".
  • Ensure your question or answer is not offensive or insensitive - it may be voted down or banned.
  • Please provide as much detail as possible as this will allow our members to better understand and respond to your question.
  • Take some time to categorize your question. This will greatly help other users find the question.

You can add upto 6 Images


There are no Reviews yet. Be the First to Review

Date and Time

Not decided yet.

About the Trainer

Sabareesan picture
I have 11 years experience in IT Training and development. I am a Corporate Trainer. Used to take training in software companies. I am having much experience in Java.
Seats Left-

Students Interested 0

Course Id: 11269