jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Dynamically loading a class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Dynamically loading a class" Watch "Dynamically loading a class" New topic

Dynamically loading a class

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Interesting question "How can we dynamically load a class?"
[ August 20, 2008: Message edited by: Vyas Sanzgiri ]

===Vyas Sanzgiri===
My Blog
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63224


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133

Class.forName(ClassName) uses to load the class dynamically.

new Class() loads the class statically.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Dynamically loading a class
It's not a secret anymore!