what to choose between Vaadin and Spring for JEE [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would like to implement a java web application. The main functionality is getting data from web services and show it with chars.
After some research i am facing a problem in choosing between Vaadin and Spring. i see the vaadin demo, it has a very huge number of good UI components and what i liked in vaadin is that the front-end is developped with java, so there is no need to have a good knowledge in front-end frameworks like JS and html5.
this application is a dashboard for data coming from many android users. it shows data of users. the application has 3 roles(actors). what i want to know is: is there any limitation in spring or vaadin and which framework is better to use
Please help me to choose the adequate framework
Thanks

Vaadin has not hard limitations, it's software after all.
But it could be more difficult to scale: a vaadin application is a stateful one, the session is used quite extensively.
Spring is a bit vague I suppose that you mean Spring MVC + some templating system or maybe a rest spring mvc client with a js gui.
Anyway, for a dashboard that will not be used by thousands of users I'd use Vaadin! Even more if you are not very comfortable with javascript, html and css.
Vaadin also has the push feature that could prove useful for a dashboard.
Moreover Vaadin doesn't exclude Spring you can use both.
Hope this is useful

Related

Building UI for Spring Boot Application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have recently started learning about building application using Spring boot. However being new to UI , I am not sure how to write a simple UI which takes a phone number, stores at a back end and processes the data like I want to , for example send a message / push notification to the mobile number.
I looked for some tutorials which suggest to use Vaadin framework and Thymeleaf template engine. I am looking for suggestions.
Assuming you would want to stay on top of the latest technologies regarding frameworks and Spring Boot web applications, I would recommend looking into React.js and Spring Data Rest. The following guide helped me tremendously with setting up an easy to use example:
https://spring.io/guides/tutorials/react-and-spring-data-rest/
Thymeleaf is used here so you'll also be exposed to that technology as well.
Good luck.

Integrating CMS with Spring MVC Application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have a Spring MVC based application and there is a need to implement Blog with tags in it. I searched for various ways to integrate CMS with Spring MVC application, I come up with Open CMS, Mangolina CMS. But the way how they integrate with Spring MVC wont suit my requirements.
I am looking out for a solution where in I can implement CMS(Blog) without making any changes/minimal changes to existing application. The current application use JSP as views.
I found similar question here
Looking for an CMS that can be plugged into a Spring MVC Application, but the answers given does not suit my needs.
From my experience with few java CMS like Liferay, it is always a pain. For example Liferay CMS works based on JSR-286 which will force you to create Portlets. There are ways to extended every layer in Liferay but that require a fair level of expertise to make it work, especially when your application grows bigger it becomes a bottleneck.
Can you provide fundamental reason why you want to bundle both? Why can't you keep it as two separate applications, deploy and maintain it as two separate applications. May be an httpd can be used to redirect the traffic based on URL pattern.
That being said if you want to integrate your old web application to Liferay, follow this link.
After various Java based solutions and understanding their complexity in integrating with my application, I considered installing WordPress on Tomcat to be the best solution. In my case, I can hardly spare a couple of days for blog as it is just an additional functionality to my app.
I followed below url http://www.studytrails.com/blog/installing-wordpress-on-j2ee-app-serveer-apache-tomcat-using-quercus/ in installing WordPress on Tomcat and pointed myapplication.com/blog to wordpress application. Hope it may help anyone.

Looking for an CMS that can be plugged into a Spring MVC Application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a simple CMS that can be pluged in into a Spring MVC Application, in contrast to a CMS where I can plugin a Spring Application.
Let me first explain what I NOT want: I do not want a CMS like Magnolia/Blossom where I can add some Spring Plugins into the CMS.
What I NEED, is the other way around; I need some CMS that is controlled by MY application. (The CMS is only a very small part of it, not the main part.)
Assume this two use cases:
(Static Pages) I have Spring Web Application, and now need some function where a (Admin)-User can update the “terms and condition” page, modify some content (Text and Image)on the start page... – so almost editing “static” pages.
(Content for Domainobjects) My Application has some domain objects, and a User needs to add some large description (Text and Images) for this domain objects. An Example would be: Some kind of a shop system where the shop owner wants to have fancy and individual Description pages for every product.
Does anybody know such a CMS?
Walrus CMS is very simple and is based on Spring, Tiles, Hibernate, and Freemarker. It allows an admin user to edit the website directly in-place. It's lean on features, but seems exactly what you are seeking.
I don't have any direct experience with it (yet), but this SO dicussion from a couple of years ago recommends Riot CMS, which is built on Spring, and appears to be designed to be embedded, rather than used as a stand-alone application.
I spent a couple of minutes with the demo, and it looks pretty good. I'll definitely be checking it out in more detail.

Google AppEngine Java Web Technologies [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
In the last period, I tried to learn something about the Google cloud technology and I quite liked it.
I made a test project for learning GWT bound to GAE, too. In my opinion, the web toolkit is a nice framework for building a Web 2.0 UI from scratch, for those who always worked with Java, but... I think my team is not ready for that, unfortunately.
So, I have to choose another front-end technology, rather than leave my mates writing thousands-code-lines JSP.
What do you recommend to me? Last year I worked a little with Spring MVC and Struts, but since the project we're going to start is a "green field", I'd like to go for a state of art framework.
Remember:
traditional "page" approach (html views, forms, and so on)
must work on Google App Engine
This link lists all the supported frameworks on GAE. After going through that list I'd either go with Spring MVC or Struts 1.
Here is a CRUD tutorial with sprint MVC to get you started.
If you have to go with GAE I would stick with GWT (if your devs are good they should be willing to learn :) ), or maybe a simple framework like apache click. Otherwise developing something other than simple Servlet/JSP is a pain even if it doesn't look so at the beginning of the project.
Try PLAY (http://www.playframework.org/), watch the video and I think you would be sold.
It supports GAE through a plugin (http://www.playframework.org/modules/gae). It states that it supports GAE 1.4 but we are using the 1.5.3 SDK and it works just fine. You can also use the siena plugin which is a hibernate-like layer for the GAE datastore. You can develop locally (and have the same file-backed datastore and in-memory memcache), once you are done, hit "gae:deploy", enter your email and password and you're done.
Let me recommend you using Spring MVC, but using Thymeleaf [http://www.thymeleaf.org] --of which I'm author-- as a view-layer technology instead of JSPs.
This combination will provide you with the traditional approach you require (HTML views, forms...) and at the same time will allow you to use a more elegant approach to prototyping and developing your HTML interface.
Good luck with your projects.
I would try Jello framework. It is a Java Application Framework optimized for Google App Engine including comprehensive Data Authorization model, a powerful RESTful engine, and out-of-the-box UI views.

Role, Users and Permission Admin Tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I might be wrong in my assumption, but it seems to me that many of the basic and even complex RBAC based mechanisems will end up needing a UI to create users, assign users to roles and assign permission to roles. And all this should be stored in some sort of backing structures (file system or Database tables).
An example of a similar ERD is shown at:
Spring Security Example ERD
Bottom line question, is there any Java based Web application that provides the supporting UI for this setup?
Even if the whole thing is not out-of the-box, any framework that gives some starting point for such UI?
AppFuse 2 provides a great jump start on a creating a webapp using Spring MVC, JSF, Struts 2, Tapestry, Wicket or Stripes. Using the Quick start guide, you will be up and running an application within a few minutes.
No such tool exists.
Not sure why, but if anyone is working by the basic example of User--roles--permission ER, they would still have to develop their own UI to maintain this.
Sure there are frameworks (as pointed out by Rob) to assist in creating this UI very fast.
to answer your question, yes there are some ready to use frameworks, where you don't need to create or develop UI, because itself provides UI to create users, manage users, manage roles, manage permissions, etc.

Categories

Resources