Using Spring DI concepts in Eclipse RCP application - spring-mvc

I have been wondering how can we use spring in RCP applications. There are things like google Guice which is been used widely for DI in RCP(at least in place where i work).
As a fan of Spring frame work, i tried it in using Spring for DI.
As an example i spring injection for simple classes,Handlers,views and other stuffs which are the part eclipse RCP with customization.
I am in what way we can make spring as a fully supporting DI framework in RCP.
Please if some one has tried please help me to achieve this idea.
As a start up i have developed simple RCP application using spring DI.

Related

How to hack latest Spring Framework for OSGi?

Right now we are developing IHE HL7 Integration Project. Where lots of micro-services and dependencies. It's developed by using Apache Camel 2.18.4, Spring Framework 4.3.10.RELEASE on top of Spring Boot 1.5.6.RELEASE.
It's a combination of Spring Boot Standalone web application, grew larger and unmanageable. Our thought is to make it modularize by the support of OSGi bundle using Blueprint on top of Spring Framework 4.3.10.RELEASE and Spring Boot 1.5.6.RELEASE.
It's would be the best if we are able to hack OSGi bundle with reusable Spring Context, Persistance(JPA, MyBatis) and Transaction.
It's impossible to dive fully into Blueprint instead of Spring Framework. Only want to use the flavor of Blueprint to make our Spring Application modularize, loosely couple and JMX compliance. For example modularize by its:
Bundles for Service
Bundles for Persistence
Bundles for Spring Component
Bundles for Camel Component/Endpoint
Bundles for Utilities/Miscellaneous
In this perspective we expect the right opinion from the expertise what's the feasibility of our thought. Guideline and reference highly expected.

Run time addition of Spring MVC controller to existing spring MVC container

I have a plugin kind of architecture and each plugins are webapps.
1. I wanted to develop each plugin as a spring MVC component(controller)
2. Then add them at run time while the spring container is still up and running.
Also these components can have dependency on each other.
I am looking into Spring DM and OSGI, but i'm not convinced with OSGI.
Can someone please help.

Spring MVC portlet IBM WPS

In my job there was a debate about using Spring MVC portlet with IBM WPS, and architect is insisting it is have problem to use it without providing any reference, anyone have any input in this discussion based on actual experience, or any reference talking about issue of using Spring MVC portlet with IBM WPS, or have any reference can I use to show comparison of using Spring MVC portlet or other frameworks?
The standard Spring portlet MVC portlets work well. However they don't offer the fancy components offered by JSF frameworks.
Check out the spring documentation for getting started. You can check the outdated pet portal, not sure if it is working with 3.2 though.

Need advice? What to choose Servlets or Spring MVC?

I have an application in mind which I want to develop. I am targeting the application for a big user base, consider it as a social app. But I am not
sure whether to write it with Servlets or Spring MVC.
I have a good grip on Servlets, it would be easy for me to develop, but when it comes to Spring I am still novice.
I am not clear what difference would it make if the app is developed on Servlets rather than Spring MVC.
Scalability or some factors like that?
Any advice would be appreciated. Thanks
It might take you some time to learn Spring but..., once you do, it will provide powerful tools to code.
Its always good to go for Spring framework as it provides:
Dependency Injection support
Spring MVC: easy to customize
Data access support
Spring Security
AOP support etc..
Clearly, Spring provides more functionality than servlets. But if your app is very simple enough, you can go for Servlets.

Spring MVC or WebFlow for this project

I have to create an application with
Flex 4 with Swiz (MVC Framework) as the UI Layer,
Spring (MVC or Web Flow) as the Business Layer,
Oracle 10g as Data layer,
Hibernate as ORM which will work with Oracle,
with Maven, with IBM Websphere and Tomcat.
I am trying to decide should I use Spring MVC (since it has to work with Swiz and Flex 4 which is MVC) or should I work with Spring Web Flow. Also any good examples on web with tutorials on this technology set.
I appreciate any help.
Thank you,
Sid
Given that WebFlow is primarily a page-flow framework, it's almost certainly inappropriate for your situation. Your Flex client will likely communicate via AJAX-style calls to the backend, and Spring MVC is the best choice for that.

Resources