-
Beans, Dynamic linking?
Hello,
Is it possible to dynamically link a bean to an application?
What I would like to achieve is, I have my main application that just a framework
for calculating stuff, the actual calculations are implemented in beans.
So what I would like to have is, when new beans are created for the application
to dl them and dynamically link to them.
Plese note that at the design there is no idea what beans might be available
in future.
Your ideas please
Tariq
-
Re: Beans, Dynamic linking?
Have them all implement an interface or extend an abstract/super class. You
will probably need some Factory class or properties file to provide the list
of calc classes. I am currently doing this and it works well.
Mark
"Tariq" <Tariq@omnibis.com> wrote:
>
>Hello,
>
>Is it possible to dynamically link a bean to an application?
>
>What I would like to achieve is, I have my main application that just a
framework
>for calculating stuff, the actual calculations are implemented in beans.
>So what I would like to have is, when new beans are created for the application
>to dl them and dynamically link to them.
>Plese note that at the design there is no idea what beans might be available
>in future.
>
>Your ideas please
>
>Tariq
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks