i was curious to know how can we invoke a java class , whose name is given with in an xml tag
this thing is also used in web.xml by the web containers , is it implemented using JAXB???
hi..thanks for the reply..but can you please share some code example?..as it's still not clear to me ...how exactly like the container or other softwares are able to invoke java classes written as data inside xml tags..
Class.forName(...).newInstance() will create an object from a fully-qualified class name, provided the class has a no-argument constructor. To do much useful with it (without using reflection) you'll need to cast it to some interface that it implements, though.