Re: Updating helper Jar while in use

Joseph Ottinger <joeo-yKo/mgqmK1eaMPzRcYMCawC/[email protected]> Mon, 27 Feb 2012 14:50:28 -0500
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <CAEhvUyyPjRtTYeH4A5cYbD2gf92gZYWs1TSq569f6=zwUVBAUQ@mail.gmail.com>
Does OSGi have lifecycle events for when a jar is replaced? I know it has a
mechanism by which you can replace dependencies during runtime - and
disable things for which dependencies are missing - but does it have a jar
reload on update facility?

On Mon, Feb 27, 2012 at 2:47 PM, Robert Fischer <
robert.fischer-PhQ5OvVyDpbEbydl4kn8rAC/[email protected]> wrote:

> This is also exactly the situation that OSGi exists to address.
>
> ~~ Robert.
>
>
>
> On Mon, Feb 27, 2012 at 2:04 PM, Joseph Ottinger <joeo-yKo/mgqmK1eaMPzRcYMCawC/[email protected]>
> wrote:
> > What do you mean by "help .jar files?" If your classloader is using those
> > jars, replacing them while the JVM is running can be problematic; you
> can do
> > it by using a local classloader, and discarding it when the jar changes,
> but
> > that's... interesting to do.
> >
> > An option, though, is to look at JRebel, which has made a name for itself
> > out of providing this kind of functionality.
> >
> > On Mon, Feb 27, 2012 at 1:40 PM, Terry Waranch
> > <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >>
> >>
> >> We run java programs from  .jar files.  We have help .jar files.  Is it
> >> okay to update a helper .jar file while a running program is using it?
> >>
> >>
> >>
> >> Thanks for your reply,
> >>
> >> Terry
> >>
> >>
> >>
> >> Terry N. Waranch
> >> Sr. Business Analyst/Developer
> >> REPLACEMENTS, LTD.
> >> PO Box 26029
> >> Greensboro, NC  27420-6029
> >> 336-697-3000, ext. 2298
> >> Fax:  336-697-3100
> >> [email protected]
> >> www.replacements.com
> >>
> >>
> >>
> >> NOTICE:  This message may contain information that is confidential,
> >> proprietary, and privileged.  If you are not the intended recipient,
> you may
> >> not use, print, copy, disseminate, or retain this message or any
> information
> >> contained in this message, including in any attachments to it.  If you
> have
> >> received this message in error, please notify the sender by reply email
> and
> >> delete this message and any attachments to it from your system(s).
> Thank
> >> you for your cooperation.
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Juglist mailing list
> >> [email protected]
> >> http://lists.trijug.org/mailman/listinfo/juglist_lists.trijug.org
> >>
> >
> >
> >
> > --
> > Joseph B. Ottinger
> > http://enigmastation.com
> > Ça en vaut la peine.
> >
> >
> > _______________________________________________
> > Juglist mailing list
> > [email protected]
> > http://lists.trijug.org/mailman/listinfo/juglist_lists.trijug.org
> >
>



-- 
Joseph B. Ottinger
http://enigmastation.com
Ça en vaut la peine.

_______________________________________________
Juglist mailing list
[email protected]
http://lists.trijug.org/mailman/listinfo/juglist_lists.trijug.org