Dynamic invocation of classes- what a cool thing
As in one of my posts already mentioned, i get more and more fascinated by the java.lang.reflect API and it's enormous power!
When designing solutions, that a entirely component based, and focused on exchangebility of the underlying components - it can be a really great help for defining the interfaces / and relations outside the application ..
One thing i came through was when using helper / Service to worker pattern - wouldn't it be cool having the location of my service defined through jndi / or a file - and there to specify what class to use? Something that can be easily done with reflection - so if you're interested - just click yourself to the source of java-tech and search for reflection.
Having questions? Feedback me on this entry Clemens Utschig
0 Comments:
Post a Comment
<< Home