Beans, Dynamic linking?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Beans, Dynamic linking?

  1. #1
    Tariq Guest

    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

  2. #2
    MarkN Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center