Spring MVC or WebFlow for this project - apache-flex

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.

Related

Is is possible to use both Spring Web MVC and Spring Reactive Web in the same application?

Currently I have already had a application that run with Spring Web MVC (Spring 4) for a long time (others thing like Spring Data, Spring Security, etc also mainly based on Spring 4).
Recently, I had an idea to migrate to Spring 5 using reactive web framework. However, I cannot migrate all of things in one day, I have to migrate gradually. I want to keep some of APIs that used traditional MVC, and the others use reactive web. Therefore, I want to ask people that have been in that context may share your own thought.

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.

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.

SOA with asp.net MVC

I know that asp.net MVC supports webservices call,
But I am asking in a wide scope that I have developed MVC application and I want to build an ERP that Integrates both asp.net 2005 application and my own MVC application.
So is it possible?
I am just an infant to think like this.
And this question comes in my mind when I saw a first video of webcast of WCF.
Yes you can - might need some modification of the asp.net app to include web service layer.
i would watch the MVC Storefront series http://www.asp.net/learn/mvc-videos/#MVCStorefrontStarterKit
for some tips on structuring the application and repository+ pattern
Yes, it is possible. I would build service calls (WCF, REST etc... what ever you are comfortable with) for your ERP. Once you have that your ASP.NET app can call them and so can your MVC app.

Resources