Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » OSGI for RIA?
OSGI for RIA? [message #70421] Thu, 20 July 2006 20:11 Go to next message
Eclipse UserFriend
Originally posted by: amottadelli.it.ibm.comnospam

Hello,
would it be possible, and would it make sense to start Equinox in a
browser applet and use it as a base for RIA applications?

Many thanks for any thought or considerations,
Sandro
Re: OSGI for RIA? [message #70441 is a reply to message #70421] Fri, 21 July 2006 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: neil.integility.com

> would it be possible, and would it make sense to start Equinox in a
> browser applet and use it as a base for RIA applications?

It would only be possible in a signed Applet, since unsigned Applets are
not even allowed to create their own classloaders. Also if you wanted to
use SWT you would have to request AllPermission, since SWT uses native
code.

You might find it better to launch as a WebStart application frankly.

Kind regards,
Neil
Re: OSGI for RIA? [message #70479 is a reply to message #70441] Fri, 21 July 2006 20:24 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
The OSGi Framework also needs AllPermission for many things. You would
have to work through all the issues of running multiple Equinox
frameworks on a single VM. Each applet that contains Equinox could
potentially be running separate instances. I'm sure you could work
through these types of issues because it has been done in the
server-side work to launch the Equinox framework inside multiple web
applications running on the same VM.

But you would likely hit other issues with SWT in this kind of scenario.
For example, I don't think you can have multiple SWT event threads in
the same VM. Some OSes (like the mac) require that the SWT event
thread is run on the main thread. This would be impossible from an
applet. Keep in mind that I'm not an SWT expert so this may be
incorrect ;-)

In the end it may be best to use WebStart like Neil suggests.

Tom.
Re: OSGI for RIA? [message #70537 is a reply to message #70479] Mon, 24 July 2006 06:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amottadelli.it.ibm.comnospam

Thanks for your input.
>
> In the end it may be best to use WebStart like Neil suggests.
>
Actually, my asking was driven by this considerations:

- yes with Eclipse/RCP/OSGI you can build (and we are building) client
side applications.... but still browser based clients have much appeal
on some customers;
- customers realize that building decent browser applications with just
DHTML is a difficult (too difficult) task... some people go for Flex,
for example;
- this is somehow ironic, because java was first incepted to fill this
niche....so, why not explore the feasibility of decent a browser based
java application architecture?

Best regards,
Sandro
Re: OSGI for RIA? [message #71131 is a reply to message #70537] Sat, 29 July 2006 11:13 Go to previous message
Harald Niesche is currently offline Harald NiescheFriend
Messages: 23
Registered: July 2009
Junior Member
Alessandro Mottadelli wrote:
> Actually, my asking was driven by this considerations:
>
> - yes with Eclipse/RCP/OSGI you can build (and we are building) client
> side applications.... but still browser based clients have much appeal
> on some customers;
> - customers realize that building decent browser applications with just
> DHTML is a difficult (too difficult) task... some people go for Flex,
> for example;
> - this is somehow ironic, because java was first incepted to fill this
> niche....so, why not explore the feasibility of decent a browser based
> java application architecture?

If all you want is to run some application-logic bundles, then you might
be able to do it with a stripped-down OSGi framework. I have done
similar things (unsigned webstart) with the osxa.org framework.

I think your idea is very reasonable, but unfortunately a lot of the
OSGi functionality relies on things you can't do in untrusted code ...
osxa.org tries to work around some of them, but that severely limits
your choice of bundles to run.

Harald
Previous Topic:Log Service
Next Topic:Error when start Equinox
Goto Forum:
  


Current Time: Fri Apr 26 22:14:05 GMT 2024

Powered by FUDForum. Page generated in 0.03557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top