I am stuck with it. please anyone know about simple portal/portlet plugin for eclipse. please let me know with detail description. because i want to make portlet by using Spring MVC. I DON'T WANT TO USE LIFERAY!!!!
I suggest you to install Spring Source Tool Suite.
It is just another eclipse but with all the Spring framework related plugins preloaded in it.
I think it would be easier for you to create spring portlet using it.
Hope this helps you.
Cheers.
You may take a look in the book "Portlets in Action", Ashish Sarin.
You will get everything you need to know about portlets and Spring MVC. Personally, it helped me a lot.
If you want use spring mvc into liferay portlets yo should:
Create a maven portlet with liferay archetype.
in the pom.xml add all libraries for spring, portlet and liferay.
config your portlet creating, web.xml, applicationContext.xml, and portlet.xml
Write your code.
Related
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.
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.
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.
I can create a minimal web application by using the maven-archetype-webapp .
Now I want to make my webapp Spring-Web-MVC powered.
Can I directly modify my POM, and how?
What's the best practices for the folder structure, and so on?
Can you show me a spring web mvc archetype, or a hello world example?
The STS (Spring Source Tool Suite) ships with the Spring Template Project, this project wizard will create a simple Spring MVC webapp + maven support.
Hope this helps
You can refer the step-by-step instructions, under the below link.
http://webapptutorials.wordpress.com/category/spring-mvc/
Maven Overlays document describes in great detail how web application should be structured using Maven. Here you'll find my simple Spring MVC showcase (REST-oriented).
Of course you are allowed to modify pom.xml (if the file is so complicated that users are afraid to modify it, then there must be something wrong with Maven...)
The only Spring-specific convention is to place general applicationContext.xml file under /WEB-INF - but this can be easily overridden.
You may also want to look using appfuse to bootstrap your spring-mvc application.
I am a beginner in ASP.Net. I am starting a new project using ASP.Net and Nhibernate. I figured out that the hibernate.cfg.xml would not do the trick for the configuration of Nhibernate. I googled for on how to configure NHibernate in ASP.Net and this is simplest that I got but I can't get it to work. I also downloaded some projects using ASP.Net and Nhibernate but can't seem to understand how it is configured. And so I am here asking for your opinion/knowledge.
How do you configure HHibernate in an ASP.Net project? or can you please provide a link to
tutorial on how to do it.
Thank you in advance.
Here are some resources that helped me when I first did an ASP.NET project with nHibernate.
Intro and Configuration
Architecture
Best Practices
Good luck and great choice!
If you are really starting the most simple way to start is
trunk\nhibernate\src\NHibernate.Example.Web
or
branch\2.1.x\nhibernate\src\NHibernate.Example.Web
link: http://code.google.com/p/nhprofile/downloads/list