OSGi container on an application server [message #51253] |
Fri, 21 October 2005 03:23  |
Eclipse User |
|
|
|
Originally posted by: eishays.us.ibm.com
I'm part of the Eclipse Open Healthcare Project (EOHF), a first Eclipse
project that targets an industry specific client framework over RCP. One
of the problems we face in our architecture is the need to run OSGi
bundles on the server side.
The outcome is an idea to have an OSGi container inside an application
server (first candidate is Geronimo). Such a container should act like
any other container in an application server, such as EJB, Web and
Spring containers.
The container design should strive to have OSGi bundles be unaware
whether they run in a client or server side. As Jeff suggested, at first
there will be some restrictions on the bundles, and wile the container
will mature and OSGi will supply relevant features, those restrictions
will shrink.
Comments and ideas are welcome.
Thanks,
Eishay
|
|
|
|
|
Re: OSGi container on an application server [message #51503 is a reply to message #51448] |
Sun, 23 October 2005 02:19   |
Eclipse User |
|
|
|
Originally posted by: eishays.us.ibm.com
We don't looks to replace EJBs, but to interact with it and other server
side models. Each model has its respectful destination with weakness and
strengths, with growing weaknesses once trying to use it out of its
target play field.
There are several patterns I'm thinking about and I do need Equinox
experts in order to check them out and articulate them.
>To run eclipse osgi runtime in a servlet container you will need at
least the patches provided in the eclipse bug >#107909.
>By the way, you will run in the limitations of the URL handlers
service described in the bug.
I do not know bug #107909, and do not wish to have an OSGi container
embedded inside a servlet container. I rather have it as a stand alone
container in an application server, a first class citizen, just like
EJBs, Servlets and Spring containers. Having them accessible from either
container, similarly as EJBs and Data Source resources are accessible
from the Servlet container.
> My feeling is that a true "OSGi on app server" solution will be
> available when OSGi will be merged in the app server kernel.
Great minds thinks alike :-)
I changes some ideas with the Geronimo community. It looks like Dain
Sundstrom had thought about a similar idea. Here is one of my questions
and an answer:
>> I've talked with Jeff McAffer about it last week and I understood that
>> there where some talks about using the Equinox OSGi somewhere in the
>> infrastructure and not as a container.
>
>It will be a bi-directional integration, so OGIi bundles will be able
>to see geronimo services and geronimo services will be able to see
>bundles (and services in bundles). Using your terminology it will be
>a container.
You are welcome to view the full thread at the Geronimo and Eclipse OHF
mailing list.
Regards,
Eishay
|
|
|
|
|
Re: OSGi container on an application server [message #51887 is a reply to message #51863] |
Thu, 27 October 2005 08:34  |
Eclipse User |
|
|
|
Originally posted by: chaves.inf.no.spam.ufsc.br
Alessandro Mottadelli wrote:
> Yes, EJB were designed to provide declarative distributed transaction
> management. Transaction management is out of the scope of OSGi.
That is one example, another is resource pooling.
Rafael
|
|
|
Powered by
FUDForum. Page generated in 0.03646 seconds