--- Frank Sauer <[EMAIL PROTECTED]> wrote:
> I have some questions:
>
> 1) What would these extensions do that cannot be
> done by
> a regular EJB with or without dependent objects?
Your answer below is a very good one.
these extensions can be any thing, something I can
image, some other things I can not image now.
Jonas is designed as a "core" (for my understanding).
It needs a lot of extensions.
> 2) If they are server components, how do clients
> (including
> EJBs) find them?
This proposal suggests:
ForeignAffairs starts extensions and registers them.
So clients can find them be naming look up.
Server can find them directly from ForeignAffairs.
> 3) Are they CORBA objects?
This proposal is only for EJB Server, at least now.
> 4) What am I missing here?
>
> To answer 1) myself, I can see some uses for stuff
> that
> deals with scheduled activities, like periodically
> writing
> cached objects to a DB and stuff like that which
> doesn't
> fit well in the EJB framework. The other questions
> remain...
>
> Thanks,
>
> Frank Sauer
> The technical Resource Connection
> Tampa, FL
>
>
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans
> development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wei
> Jiang
> Sent: Monday, August 30, 1999 9:38 PM
> To: [EMAIL PROTECTED]
> Subject: A proposal: Component Based Extension
> Architecture for EJB
> Server
>
>
> A proposal:
> Component Based Extension Architecture for EJB
> Server
>
> Draft 1
> Auther: Wei Jiang <[EMAIL PROTECTED]>
>
> Comments are welcome.
>
>
>
> The Architecture
>
> This architecture intents to be powerful, flexible
> and
> simple.
>
> 1. Each extension is a regular Java Bean in a jar
> file, called a
> ServerBean. It can have other supporting files with
> it, in the
> same jar or as separated files. The ServerBean is
> resposible to
> load related files. The server may or may not know
> what a
> ServerBean does. The server only manages its life
> cycle.
>
> 2. All extension jar files and related files reside
> under
> Extension Directory, such as
> SERVER_HOME/classes/ext or
> SERVER_HOME/lib/ext
>
> 3. The server runs a class named ForeignAffairs when
> it starts.
> ForeignAffairs loads all installed ServerBeans.
> ForeignAffairs
> registers itself with the server. Both the server
> and
> remote
> administration tools can invoke ForeignAffairs.
>
> 4. ForeignAffairs gets the list of installed
> ServerBeans as a
> parameter of its method call. The list of installed
> ServerBeans
> originaly comes from a properties file. A property
> named
> ExtensionClasses is defined in the properties file.
> The value
> of ExtensionClasses is a comma separated string.
> This
> is the content
> of extension classes. Each part of it is a full
> class
> name, the
> class name for the ServerBeans. The .class resides
> in
> a jar file
> under Extension Directory.
>
> 5. ForeignAffairs quiently ignore all exceptions
> from
> ServerBeans:
> it does not know how to handle them.
>
> 6. Each ServerBean implements ServerBeanInterface.
>
> 7. ForeignAffairs registers each ServerBean, so the
> server or remote
> administation tools can start or shutdown each
> ServerBean.
>
>
>
>
> The ServerBeanInterface
>
>
> Each ServerBean provides a public constructor with
> no
> parameters.
> This constructor is responsible for starting the
> bean.
>
> ServerBeanInterface is more approperiate than
> java.Beans and
> related classes are mainly for visible beans.
>
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> I plan to contribute an implementation on Jonas EJB
> server very soon.
> The contrubution will include:
> 1. Necessary code for loading extensions as core of
> Jonas.
> 2. An example to show that a ServerBean is an
> extension of Jonas.
>
> I am writing a remote administration tool in Swing
> which is
> component based tool. I may add more things on Jonas
> and other
> EJB servers, as long as they are open enough (in
> Java
> way)
> for me to do so.
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff EJB-INTEREST". For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff EJB-INTEREST". For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>
>
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".