Role, Users and Permission Admin Tool [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 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.

Related

what to choose between Vaadin and Spring for JEE [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 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

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.

Are there any simple and effective Open Source Java database-backed queue libraries? [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 3 years ago.
Improve this question
I have a few different apps which need robust database-backed job/task queues, and so far I've had trouble identifying any promising candidates. I'd love some suggestions!
BTW, by database-backed I intend something which persists job data and status to a JDBC DB for reliability purposes.
Oh, I'm specifically looking for a library. I'm aware of systems such as ActiveMQ and JMS-based systems. But I need my apps to remain self-contained and not turn into entire platforms. (I've also always had some trouble making the conceptual leap to modeling jobs/tasks as messages.)
Thanks,
Avi
I recommend you take another look at ActiveMQ. While it is by default a standalone application, you can also embed it in your application, making it "self-contained". I've done this using ActiveMQ's Spring support but you can also do it programmatically by simply instantiating the correct classes in your app. ActiveMQ is lightweight and offers several persistence mechanisms.
Regarding whether there is a dissonance with thinking of "messages" as "jobs", I guess it depends on what you mean by "job". If I hand you a piece of paper that says "mow the lawn" and you think of that as a job, then messages can be jobs. If instead you don't have a job until you actually start mowing the lawn, then they are not.
Perhaps you may want to look at Spring Batch, which uses a job-based domain model. It too is embeddable and has persistence, retry, etc. built in.

Looking for a specific Java application for performance testing [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
For purely experimental reasons, and to learn about monitoring applications, looking for something with the following criteria:
written in Java
web application, runnable in a web container (tomcat). not using EJBs/JMS.
open-source
somewhat resource-intensive
using MySQL for DB
makes good use of logs (that is, writes to logs often and descriptively)
works fairly simple in EC2, i guess - what kinds of problem could be there? maybe usage of many ports?
The intention here is to be able to send it http query (or soap) requests and be able to significantly load it. Looking for some fresh ideas.
Thanks!
AppFuse is a Java web stack that meets all of these requirements (I don't know what you mean by resource-intensive, but you could always add your own functionality that is CPU-intensive, or I/O intensive, or whatever - or just put load on it).
Here is a link to the quick start guide.
Actually, since it supports multiple web frameworks (Spring MVC, Struts, Wicket, etc), one use case for your performance testing could involve testing with each one to compare different types of functionality.

Categories

Resources