Skip to main content



      Home
Home » Archived » Riena » Riena and Spring
Riena and Spring [message #585865] Tue, 15 June 2010 20:13 Go to next message
Eclipse UserFriend
Hi

I am evaluating using Riena (looking at 1.2) as an alternative to out existing RCP project. We only want to use the UI components of Riena, where we want to make use of the Navigation, MVC, and binding etc. I can get a demo application up and running no problem, but what I am trying to figure out now is how we can use Spring IOC to instantiate the controllers. What is the best way to go about doing that? In our RCP app we use a library that implements IExecutableExtensionFactory ( http://martinlippert.blogspot.com/2008/05/dependency-injecti on-for-extensions.html) to allow the use of Spring IOC to create views. Reading the Riena docs it looks like I should be able to inject this extension into the framework somehow, but I cant figure it out. Does anybody have any ideas?

Cheers

Stu.
Re: Riena and Spring [message #585877 is a reply to message #585865] Thu, 17 June 2010 07:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stu,

Looking at the page from martin, I think that should be doable. I also highly recommend that you use Riena 2.0 but it
should work either way. We use the ExtensionRegistry to create the controller and the view. So instead of referencing
the client directly you could reference the controller through Spring using
org.eclipse.springframework.util.SpringExtensionFactory:myco ntroller

and in the RCP View you reference then org.eclipse.springframework.util.SpringExtensionFactory:myvi ew

Have you tried that before ? Seems such a straight forward approach that I suspect that you tried it and it didnt work.

Hope that helps. In any event I'd like to hear if that works or not

thanks
christian


Am 16.06.10 02:13, schrieb stuart.donald@ibboost.com:
> Hi
>
> I am evaluating using Riena (looking at 1.2) as an alternative to out
> existing RCP project. We only want to use the UI components of Riena,
> where we want to make use of the Navigation, MVC, and binding etc. I can
> get a demo application up and running no problem, but what I am trying
> to figure out now is how we can use Spring IOC to instantiate the
> controllers. What is the best way to go about doing that? In our RCP app
> we use a library that implements IExecutableExtensionFactory
> ( http://martinlippert.blogspot.com/2008/05/dependency-injecti on-for-extensions.html)
> to allow the use of Spring IOC to create views. Reading the Riena docs
> it looks like I should be able to inject this extension into the
> framework somehow, but I cant figure it out. Does anybody have any ideas?
>
> Cheers
>
> Stu.
Re: Riena and Spring [message #586083 is a reply to message #585865] Sun, 27 June 2010 20:31 Go to previous message
Eclipse UserFriend
For anybody interested this has been logged here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=317540
Previous Topic:Riena and Spring
Next Topic:Toolbar visible function
Goto Forum:
  


Current Time: Fri Jul 04 12:13:23 EDT 2025

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

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

Back to the top